PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 3project(llcharacter)
 4
 5include(00-Common)
 6include(LLCommon)
 7include(LLMath)
 8include(LLMessage)
 9include(LLVFS)
10include(LLXML)
11
12include_directories(
13    ${LLCOMMON_INCLUDE_DIRS}
14    ${LLMATH_INCLUDE_DIRS}
15    ${LLMESSAGE_INCLUDE_DIRS}
16    ${LLVFS_INCLUDE_DIRS}
17    ${LLXML_INCLUDE_DIRS}
18    )
19
20set(llcharacter_SOURCE_FILES
21    llanimationstates.cpp
22    llbvhloader.cpp
23    llcharacter.cpp
24    lleditingmotion.cpp
25    llgesture.cpp
26    llhandmotion.cpp
27    llheadrotmotion.cpp
28    lljoint.cpp
29    lljointsolverrp3.cpp
30    llkeyframefallmotion.cpp
31    llkeyframemotion.cpp
32    llkeyframemotionparam.cpp
33    llkeyframestandmotion.cpp
34    llkeyframewalkmotion.cpp
35    llmotioncontroller.cpp
36    llmotion.cpp
37    llmultigesture.cpp
38    llpose.cpp
39    llstatemachine.cpp
40    lltargetingmotion.cpp
41    llvisualparam.cpp
42    )
43
44set(llcharacter_HEADER_FILES
45    CMakeLists.txt
46
47    llanimationstates.h
48    llbvhloader.h
49    llbvhconsts.h
50    llcharacter.h
51    lleditingmotion.h
52    llgesture.h
53    llhandmotion.h
54    llheadrotmotion.h
55    lljoint.h
56    lljointsolverrp3.h
57    lljointstate.h
58    llkeyframefallmotion.h
59    llkeyframemotion.h
60    llkeyframemotionparam.h
61    llkeyframestandmotion.h
62    llkeyframewalkmotion.h
63    llmotion.h
64    llmotioncontroller.h
65    llmultigesture.h
66    llpose.h
67    llstatemachine.h
68    lltargetingmotion.h
69    llvisualparam.h
70    )
71
72set_source_files_properties(${llcharacter_HEADER_FILES}
73                            PROPERTIES HEADER_FILE_ONLY TRUE)
74
75list(APPEND llcharacter_SOURCE_FILES ${llcharacter_HEADER_FILES})
76
77add_library (llcharacter ${llcharacter_SOURCE_FILES})
78
79
80# Add tests
81if (LL_TESTS)
82    include(LLAddBuildTest)
83    # UNIT TESTS
84    SET(llcharacter_TEST_SOURCE_FILES
85      lljoint.cpp
86      )
87    LL_ADD_PROJECT_UNIT_TESTS(llcharacter "${llcharacter_TEST_SOURCE_FILES}")
88endif (LL_TESTS)
89