PageRenderTime 34ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llinventory/CMakeLists.txt

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 75 lines | 58 code | 13 blank | 4 comment | 1 complexity | a8038d8bc84779b8f618bd1c456d54cf MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. project(llinventory)
  3. include(00-Common)
  4. include(LLCommon)
  5. include(LLMath)
  6. include(LLMessage)
  7. include(LLVFS)
  8. include(LLXML)
  9. include_directories(
  10. ${LLCOMMON_INCLUDE_DIRS}
  11. ${LLMATH_INCLUDE_DIRS}
  12. ${LLMESSAGE_INCLUDE_DIRS}
  13. ${LLXML_INCLUDE_DIRS}
  14. )
  15. set(llinventory_SOURCE_FILES
  16. llcategory.cpp
  17. lleconomy.cpp
  18. llinventory.cpp
  19. llinventorydefines.cpp
  20. llinventorytype.cpp
  21. lllandmark.cpp
  22. llnotecard.cpp
  23. llparcel.cpp
  24. llpermissions.cpp
  25. llsaleinfo.cpp
  26. lltransactionflags.cpp
  27. lluserrelations.cpp
  28. )
  29. set(llinventory_HEADER_FILES
  30. CMakeLists.txt
  31. llcategory.h
  32. lleconomy.h
  33. llinventory.h
  34. llinventorydefines.h
  35. llinventorytype.h
  36. lllandmark.h
  37. llnotecard.h
  38. llparcel.h
  39. llparcelflags.h
  40. llpermissions.h
  41. llpermissionsflags.h
  42. llsaleinfo.h
  43. lltransactionflags.h
  44. lltransactiontypes.h
  45. lluserrelations.h
  46. )
  47. set_source_files_properties(${llinventory_HEADER_FILES}
  48. PROPERTIES HEADER_FILE_ONLY TRUE)
  49. list(APPEND llinventory_SOURCE_FILES ${llinventory_HEADER_FILES})
  50. add_library (llinventory ${llinventory_SOURCE_FILES})
  51. #add unit tests
  52. if (LL_TESTS)
  53. INCLUDE(LLAddBuildTest)
  54. SET(llinventory_TEST_SOURCE_FILES
  55. # no real unit tests yet!
  56. )
  57. LL_ADD_PROJECT_UNIT_TESTS(llinventory "${llinventory_TEST_SOURCE_FILES}")
  58. #set(TEST_DEBUG on)
  59. set(test_libs llinventory ${LLMESSAGE_LIBRARIES} ${LLVFS_LIBRARIES} ${LLMATH_LIBRARIES} ${LLCOMMON_LIBRARIES} ${WINDOWS_LIBRARIES})
  60. LL_ADD_INTEGRATION_TEST(inventorymisc "" "${test_libs}")
  61. LL_ADD_INTEGRATION_TEST(llparcel "" "${test_libs}")
  62. endif (LL_TESTS)