PageRenderTime 25ms CodeModel.GetById 19ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/indra/viewer_components/login/CMakeLists.txt

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 51 lines | 39 code | 11 blank | 1 comment | 2 complexity | 1afb9d33dc2b363fbd8d25b3fcbba382 MD5 | raw file
 1# -*- cmake -*-
 2
 3project(login)
 4
 5include(00-Common)
 6if(LL_TESTS)
 7  include(LLAddBuildTest)
 8endif(LL_TESTS)
 9include(LLCommon)
10include(LLMath)
11include(LLXML)
12
13include_directories(
14    ${LLCOMMON_INCLUDE_DIRS}
15    ${LLMATH_INCLUDE_DIRS}
16    ${LLXML_INCLUDE_DIRS}
17    )
18
19set(login_SOURCE_FILES
20    lllogin.cpp
21    )
22
23set(login_HEADER_FILES
24    lllogin.h
25    )
26
27set_source_files_properties(${login_HEADER_FILES}
28                            PROPERTIES HEADER_FILE_ONLY TRUE)
29
30list(APPEND 
31    login_SOURCE_FILES 
32    ${login_HEADER_FILES} 
33    )
34
35add_library(lllogin 
36            ${login_SOURCE_FILES}
37            )
38
39target_link_libraries(lllogin
40    ${LLCOMMON_LIBRARIES}
41    ${LLMATH_LIBRARIES}
42    ${LLXML_LIBRARIES}
43    )
44
45if(LL_TESTS)
46  SET(lllogin_TEST_SOURCE_FILES
47      lllogin.cpp
48      )
49
50  LL_ADD_PROJECT_UNIT_TESTS(lllogin "${lllogin_TEST_SOURCE_FILES}")
51endif(LL_TESTS)