Maximilien Siavelis
2018-01-14 ffd083a119e2a6524488c5eeca77fe42abbacf71
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
ADD_LIBRARY(license_generator_snippet STATIC
     generate-license.cpp
)
 
target_link_libraries(
    license_generator_snippet
     license_generator_lib
)
 
add_executable(
 standard_license_test
 standard-license_test.cpp
)
 
target_link_libraries(
 standard_license_test
 license++_static
 license_generator_snippet
 ${Boost_LIBRARIES}
)
#SET_TARGET_PROPERTIES(standard_license_test PROPERTIES LINK_SEARCH_START_STATIC ON)
#add_dependencies( standard_license_test boost_test boost_filesystem )
 
add_executable(
 date_test
 date_test.cpp
)
 
target_link_libraries(
 date_test
 license++_static
 license_generator_snippet
 ${Boost_LIBRARIES}
)
#SET_TARGET_PROPERTIES(date_test PROPERTIES LINK_SEARCH_START_STATIC ON)
#add_dependencies( date_test boost_test boost_filesystem )
 
add_executable(
 volid_test
 volid_test.cpp
)
 
target_link_libraries(
 volid_test
 license++_static
 license_generator_snippet
 ${Boost_LIBRARIES}
)
 
#SET_TARGET_PROPERTIES(volid_test PROPERTIES LINK_SEARCH_START_STATIC ON)
#add_dependencies( volid_test boost_test boost_filesystem )
 
ADD_TEST(NAME standard_license_test COMMAND standard_license_test WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
ADD_TEST(NAME date_test COMMAND date_test WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
ADD_TEST(NAME volid_test COMMAND volid_test WORKING_DIRECTORY ${CMAKE_BINARY_DIR})