blob: d33b6d78f7164017c8220346bb996bf61cd26124 (
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
|
# -*- cmake -*-
project(lllogin)
include(00-Common)
if(LL_TESTS)
include(LLAddBuildTest)
endif(LL_TESTS)
include(LLCommon)
include(LLCoreHttp)
set(lllogin_SOURCE_FILES
lllogin.cpp
)
set(lllogin_HEADER_FILES
lllogin.h
)
list(APPEND
lllogin_SOURCE_FILES
${lllogin_HEADER_FILES}
)
add_library(lllogin
${lllogin_SOURCE_FILES}
)
target_include_directories( lllogin INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(lllogin
llmessage
llcorehttp
llcommon
llmath
llxml
)
include(LibraryInstall)
if(LL_TESTS)
SET(lllogin_TEST_SOURCE_FILES
lllogin.cpp
)
set_source_files_properties(
lllogin.cpp
PROPERTIES
LL_TEST_ADDITIONAL_LIBRARIES llmessage llcorehttp llcommon
)
LL_ADD_PROJECT_UNIT_TESTS(lllogin "${lllogin_TEST_SOURCE_FILES}")
endif(LL_TESTS)
|