/indra/llcharacter/CMakeLists.txt

https://bitbucket.org/lindenlab/viewer-beta/ · CMake · 89 lines · 74 code · 12 blank · 3 comment · 1 complexity · 31789248a5913d44dad774df19832957 MD5 · raw file

  1. # -*- cmake -*-
  2. project(llcharacter)
  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. ${LLVFS_INCLUDE_DIRS}
  14. ${LLXML_INCLUDE_DIRS}
  15. )
  16. set(llcharacter_SOURCE_FILES
  17. llanimationstates.cpp
  18. llbvhloader.cpp
  19. llcharacter.cpp
  20. lleditingmotion.cpp
  21. llgesture.cpp
  22. llhandmotion.cpp
  23. llheadrotmotion.cpp
  24. lljoint.cpp
  25. lljointsolverrp3.cpp
  26. llkeyframefallmotion.cpp
  27. llkeyframemotion.cpp
  28. llkeyframemotionparam.cpp
  29. llkeyframestandmotion.cpp
  30. llkeyframewalkmotion.cpp
  31. llmotioncontroller.cpp
  32. llmotion.cpp
  33. llmultigesture.cpp
  34. llpose.cpp
  35. llstatemachine.cpp
  36. lltargetingmotion.cpp
  37. llvisualparam.cpp
  38. )
  39. set(llcharacter_HEADER_FILES
  40. CMakeLists.txt
  41. llanimationstates.h
  42. llbvhloader.h
  43. llbvhconsts.h
  44. llcharacter.h
  45. lleditingmotion.h
  46. llgesture.h
  47. llhandmotion.h
  48. llheadrotmotion.h
  49. lljoint.h
  50. lljointsolverrp3.h
  51. lljointstate.h
  52. llkeyframefallmotion.h
  53. llkeyframemotion.h
  54. llkeyframemotionparam.h
  55. llkeyframestandmotion.h
  56. llkeyframewalkmotion.h
  57. llmotion.h
  58. llmotioncontroller.h
  59. llmultigesture.h
  60. llpose.h
  61. llstatemachine.h
  62. lltargetingmotion.h
  63. llvisualparam.h
  64. )
  65. set_source_files_properties(${llcharacter_HEADER_FILES}
  66. PROPERTIES HEADER_FILE_ONLY TRUE)
  67. list(APPEND llcharacter_SOURCE_FILES ${llcharacter_HEADER_FILES})
  68. add_library (llcharacter ${llcharacter_SOURCE_FILES})
  69. # Add tests
  70. if (LL_TESTS)
  71. include(LLAddBuildTest)
  72. # UNIT TESTS
  73. SET(llcharacter_TEST_SOURCE_FILES
  74. lljoint.cpp
  75. )
  76. LL_ADD_PROJECT_UNIT_TESTS(llcharacter "${llcharacter_TEST_SOURCE_FILES}")
  77. endif (LL_TESTS)