summaryrefslogtreecommitdiff
path: root/indra/appearance_utility/CMakeLists.txt
blob: dec71feea2026dfc9ccdc89be94350fd87e9c649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# -*- cmake -*-

project(appearance_utility)

include(00-Common)
include(CURL)
include(CARes)
include(OpenSSL)
include(UI)
include(LLAppearance)
include(LLCharacter)
include(LLCommon)
include(LLImage)
include(LLInventory)
include(LLMath)
include(LLKDU)
include(LLRender)
include(LLVFS)
include(LLXML)
include(LLUI)
include(Linking)

include_directories(
    ${LLCOMMON_INCLUDE_DIRS}
    ${LLVFS_INCLUDE_DIRS}
    ${LLXML_INCLUDE_DIRS}
    ${LLUI_INCLUDE_DIRS}
    ${LLCHARACTER_INCLUDE_DIRS}
    ${LLKDU_INCLUDE_DIRS}
    ${LLIMAGE_INCLUDE_DIRS}
    ${LLMATH_INCLUDE_DIRS}
    ${LLINVENTORY_INCLUDE_DIRS}
    ${LLRENDER_INCLUDE_DIRS}
    ${CURL_INCLUDE_DIRS}
    ${CARES_INCLUDE_DIRS}
    ${OPENSSL_INCLUDE_DIRS}
    ${UI_INCLUDE_DIRS}
    ${LLAPPEARANCE_INCLUDE_DIRS}
    )

set(appearance_utility_SOURCE_FILES
    appearance_utility.cpp
    llappappearanceutility.cpp
    llbakingavatar.cpp
    llbakingjoint.cpp
    llbakingjointmesh.cpp
    llbakingshadermgr.cpp
    llbakingtexlayer.cpp
    llprocessparams.cpp
    )

set(appearance_utility_HEADER_FILES
    CMakeLists.txt
    llappappearanceutility.h
    llbakingavatar.h
    llbakingjoint.h
    llbakingjointmesh.h
    llbakingprocess.h
    llbakingshadermgr.h
    llbakingtexlayer.h
    llprocessparams.h
    )

set_source_files_properties(${appearance_utility_HEADER_FILES}
                            PROPERTIES HEADER_FILES_ONLY TRUE)

list(APPEND appearance_utility_SOURCE_FILES ${appearance_utility_HEADER_FILES})

add_executable(appearance-utility-bin ${appearance_utility_SOURCE_FILES})

target_link_libraries(appearance-utility-bin
    ${LLAPPEARANCE_LIBRARIES}
    ${LLCHARACTER_LIBRARIES}
    ${LLRENDER_LIBRARIES}
    ${LLUI_LIBRARIES}
    ${UI_LIBRARIES}
    ${LLIMAGE_LIBRARIES}
    ${LLKDU_LIBRARIES}
    ${KDU_LIBRARY}
    )

add_custom_target(appearance-utility-bin-target ALL
                  DEPENDS appearance-utility-bin)