PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/linux_updater/CMakeLists.txt

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 51 lines | 40 code | 10 blank | 1 comment | 0 complexity | ece1f6bf56c5a258f5ca582fc97c352c MD5 | raw file
 1# -*- cmake -*-
 2
 3project(linux_updater)
 4
 5include(00-Common)
 6include(CURL)
 7include(CARes)
 8include(OpenSSL)
 9include(UI)
10include(LLCommon)
11include(LLVFS)
12include(LLXML)
13include(LLXUIXML)
14include(Linking)
15
16include_directories(
17    ${LLCOMMON_INCLUDE_DIRS}
18    ${LLVFS_INCLUDE_DIRS}
19    ${LLXML_INCLUDE_DIRS}
20    ${LLXUIXML_INCLUDE_DIRS}
21    ${CURL_INCLUDE_DIRS}
22    ${CARES_INCLUDE_DIRS}
23    ${OPENSSL_INCLUDE_DIRS}
24    ${UI_INCLUDE_DIRS}
25    )
26
27set(linux_updater_SOURCE_FILES linux_updater.cpp)
28
29set(linux_updater_HEADER_FILES CMakeLists.txt)
30
31set_source_files_properties(${linux_updater_HEADER_FILES}
32                            PROPERTIES HEADER_FILES_ONLY TRUE)
33
34list(APPEND linux_updater_SOURCE_FILES ${linux_updater_HEADER_FILES})
35
36add_executable(linux-updater ${linux_updater_SOURCE_FILES})
37
38target_link_libraries(linux-updater
39    ${CURL_LIBRARIES}
40    ${CARES_LIBRARIES}
41    ${OPENSSL_LIBRARIES}
42    ${CRYPTO_LIBRARIES}
43    ${UI_LIBRARIES}
44    ${LLXML_LIBRARIES}
45    ${LLXUIXML_LIBRARIES}
46    ${LLVFS_LIBRARIES}
47    ${LLCOMMON_LIBRARIES}
48    )
49
50add_custom_target(linux-updater-target ALL
51                  DEPENDS linux-updater)