PageRenderTime 134ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llui/CMakeLists.txt

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 272 lines | 256 code | 12 blank | 4 comment | 1 complexity | 6158068c2a9ad749be564e9219eb0606 MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. project(llui)
  3. include(00-Common)
  4. include(LLCommon)
  5. include(LLImage)
  6. include(LLInventory)
  7. include(LLMath)
  8. include(LLMessage)
  9. include(LLRender)
  10. include(LLWindow)
  11. include(LLVFS)
  12. include(LLXML)
  13. include(LLXUIXML)
  14. include_directories(
  15. ${LLCOMMON_INCLUDE_DIRS}
  16. ${LLIMAGE_INCLUDE_DIRS}
  17. ${LLINVENTORY_INCLUDE_DIRS}
  18. ${LLMATH_INCLUDE_DIRS}
  19. ${LLMESSAGE_INCLUDE_DIRS}
  20. ${LLRENDER_INCLUDE_DIRS}
  21. ${LLWINDOW_INCLUDE_DIRS}
  22. ${LLVFS_INCLUDE_DIRS}
  23. ${LLXML_INCLUDE_DIRS}
  24. ${LLXUIXML_INCLUDE_DIRS}
  25. )
  26. set(llui_SOURCE_FILES
  27. llaccordionctrl.cpp
  28. llaccordionctrltab.cpp
  29. llbadge.cpp
  30. llbadgeholder.cpp
  31. llbadgeowner.cpp
  32. llbutton.cpp
  33. llcheckboxctrl.cpp
  34. llclipboard.cpp
  35. llcombobox.cpp
  36. llcommandmanager.cpp
  37. llconsole.cpp
  38. llcontainerview.cpp
  39. llctrlselectioninterface.cpp
  40. lldockablefloater.cpp
  41. lldockcontrol.cpp
  42. lldraghandle.cpp
  43. lleditmenuhandler.cpp
  44. llf32uictrl.cpp
  45. llfiltereditor.cpp
  46. llflatlistview.cpp
  47. llfloater.cpp
  48. llfloaterreg.cpp
  49. llfloaterreglistener.cpp
  50. llflyoutbutton.cpp
  51. llfocusmgr.cpp
  52. llfunctorregistry.cpp
  53. lliconctrl.cpp
  54. llkeywords.cpp
  55. lllayoutstack.cpp
  56. lllineeditor.cpp
  57. llloadingindicator.cpp
  58. lllocalcliprect.cpp
  59. llmenubutton.cpp
  60. llmenugl.cpp
  61. llmodaldialog.cpp
  62. llmultifloater.cpp
  63. llmultislider.cpp
  64. llmultisliderctrl.cpp
  65. llnotifications.cpp
  66. llnotificationslistener.cpp
  67. llnotificationsutil.cpp
  68. llpanel.cpp
  69. llprogressbar.cpp
  70. llradiogroup.cpp
  71. llresizebar.cpp
  72. llresizehandle.cpp
  73. llresmgr.cpp
  74. llrngwriter.cpp
  75. llscrollbar.cpp
  76. llscrollcontainer.cpp
  77. llscrollingpanellist.cpp
  78. llscrolllistcell.cpp
  79. llscrolllistcolumn.cpp
  80. llscrolllistctrl.cpp
  81. llscrolllistitem.cpp
  82. llsdparam.cpp
  83. llsearcheditor.cpp
  84. llslider.cpp
  85. llsliderctrl.cpp
  86. llspinctrl.cpp
  87. llstatbar.cpp
  88. llstatgraph.cpp
  89. llstatview.cpp
  90. llstyle.cpp
  91. lltabcontainer.cpp
  92. lltextbase.cpp
  93. lltextbox.cpp
  94. lltexteditor.cpp
  95. lltextparser.cpp
  96. lltextutil.cpp
  97. lltextvalidate.cpp
  98. lltimectrl.cpp
  99. lltransutil.cpp
  100. lltoggleablemenu.cpp
  101. lltoolbar.cpp
  102. lltooltip.cpp
  103. llui.cpp
  104. lluicolortable.cpp
  105. lluictrl.cpp
  106. lluictrlfactory.cpp
  107. lluiimage.cpp
  108. lluistring.cpp
  109. llundo.cpp
  110. llurlaction.cpp
  111. llurlentry.cpp
  112. llurlmatch.cpp
  113. llurlregistry.cpp
  114. llviewborder.cpp
  115. llviewinject.cpp
  116. llviewmodel.cpp
  117. llview.cpp
  118. llviewquery.cpp
  119. llwindowshade.cpp
  120. )
  121. set(llui_HEADER_FILES
  122. CMakeLists.txt
  123. llaccordionctrl.h
  124. llaccordionctrltab.h
  125. llbadge.h
  126. llbadgeholder.h
  127. llbadgeowner.h
  128. llbutton.h
  129. llcallbackmap.h
  130. llcheckboxctrl.h
  131. llclipboard.h
  132. llcombobox.h
  133. llcommandmanager.h
  134. llconsole.h
  135. llcontainerview.h
  136. llctrlselectioninterface.h
  137. lldraghandle.h
  138. lldockablefloater.h
  139. lldockcontrol.h
  140. lleditmenuhandler.h
  141. llf32uictrl.h
  142. llfiltereditor.h
  143. llflatlistview.h
  144. llfloater.h
  145. llfloaterreg.h
  146. llfloaterreglistener.h
  147. llflyoutbutton.h
  148. llfocusmgr.h
  149. llfunctorregistry.h
  150. llhandle.h
  151. llhelp.h
  152. lliconctrl.h
  153. llkeywords.h
  154. lllayoutstack.h
  155. lllazyvalue.h
  156. lllineeditor.h
  157. llloadingindicator.h
  158. lllocalcliprect.h
  159. llmenubutton.h
  160. llmenugl.h
  161. llmodaldialog.h
  162. llmultifloater.h
  163. llmultisliderctrl.h
  164. llmultislider.h
  165. llnotificationptr.h
  166. llnotifications.h
  167. llnotificationslistener.h
  168. llnotificationsutil.h
  169. llnotificationtemplate.h
  170. llnotificationvisibilityrule.h
  171. llpanel.h
  172. llprogressbar.h
  173. llradiogroup.h
  174. llresizebar.h
  175. llresizehandle.h
  176. llresmgr.h
  177. llrngwriter.h
  178. llsearcheditor.h
  179. llscrollbar.h
  180. llscrollcontainer.h
  181. llscrollingpanellist.h
  182. llscrolllistcell.h
  183. llscrolllistcolumn.h
  184. llscrolllistctrl.h
  185. llscrolllistitem.h
  186. llsdparam.h
  187. llsliderctrl.h
  188. llslider.h
  189. llspinctrl.h
  190. llstatbar.h
  191. llstatgraph.h
  192. llstatview.h
  193. llstyle.h
  194. lltabcontainer.h
  195. lltextbase.h
  196. lltextbox.h
  197. lltexteditor.h
  198. lltextparser.h
  199. lltextutil.h
  200. lltextvalidate.h
  201. lltimectrl.h
  202. lltoggleablemenu.h
  203. lltoolbar.h
  204. lltooltip.h
  205. lltransutil.h
  206. lluicolortable.h
  207. lluiconstants.h
  208. lluictrlfactory.h
  209. lluictrl.h
  210. lluifwd.h
  211. llui.h
  212. lluiimage.h
  213. lluistring.h
  214. llundo.h
  215. llurlaction.h
  216. llurlentry.h
  217. llurlmatch.h
  218. llurlregistry.h
  219. llviewborder.h
  220. llviewinject.h
  221. llviewmodel.h
  222. llview.h
  223. llviewquery.h
  224. llwindowshade.h
  225. )
  226. set_source_files_properties(${llui_HEADER_FILES}
  227. PROPERTIES HEADER_FILE_ONLY TRUE)
  228. SET(llurlentry_TEST_DEPENDENCIES
  229. llurlmatch.cpp
  230. llurlregistry.cpp
  231. )
  232. set_source_files_properties(llurlentry.cpp
  233. PROPERTIES LL_TEST_ADDITIONAL_SOURCE_FILES
  234. "${llurlentry_TEST_DEPENDENCIES}"
  235. )
  236. list(APPEND llui_SOURCE_FILES ${llui_HEADER_FILES})
  237. add_library (llui ${llui_SOURCE_FILES})
  238. # Libraries on which this library depends, needed for Linux builds
  239. # Sort by high-level to low-level
  240. target_link_libraries(llui
  241. ${LLMESSAGE_LIBRARIES}
  242. ${LLRENDER_LIBRARIES}
  243. ${LLWINDOW_LIBRARIES}
  244. ${LLIMAGE_LIBRARIES}
  245. ${LLINVENTORY_LIBRARIES}
  246. ${LLVFS_LIBRARIES} # ugh, just for LLDir
  247. ${LLXUIXML_LIBRARIES}
  248. ${LLXML_LIBRARIES}
  249. ${LLMATH_LIBRARIES}
  250. ${LLCOMMON_LIBRARIES} # must be after llimage, llwindow, llrender
  251. )
  252. # Add tests
  253. if(LL_TESTS)
  254. include(LLAddBuildTest)
  255. SET(llui_TEST_SOURCE_FILES
  256. llurlmatch.cpp
  257. llurlentry.cpp
  258. )
  259. LL_ADD_PROJECT_UNIT_TESTS(llui "${llui_TEST_SOURCE_FILES}")
  260. endif(LL_TESTS)