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
|
|
| ADD_LIBRARY(license_generator_lib STATIC
| license-generator.cpp
| LicenseSigner.cpp
| )
|
| link_directories ( ${Boost_LIBRARY_DIRS} )
| add_dependencies( license_generator_lib boost_filesystem private_key )
|
| target_link_libraries(
| license_generator_lib
| license++_static
| ${Boost_LIBRARIES}
| ${EXTERNAL_LIBS}
| )
|
| add_executable(
| license_generator
| license-generator-main.cpp
| )
|
| target_link_libraries(
| license_generator
| license_generator_lib
| )
|
| SET_TARGET_PROPERTIES(license_generator PROPERTIES LINK_SEARCH_START_STATIC ON)
| #SET_TARGET_PROPERTIES(license_generator PROPERTIES LINK_SEARCH_END_STATIC ON)
|
|