open-license-manager
2014-04-13 5b35fd450ef78c3be506ca3fc22c3f431ae5e562
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
IF(WIN32)
    add_subdirectory("os/win")
ELSE(WIN32)
    add_subdirectory("os/linux")    
ENDIF(WIN32)
add_subdirectory("base") 
add_subdirectory("reader")   
 
ADD_LIBRARY(license++_static STATIC
    license++.cpp
)
 
target_link_libraries(
     license++_static
     reader
     os
     ${EXTERNAL_LIBS}
)
 
ADD_LIBRARY(license++ SHARED
    license++.cpp
)
 
SET_TARGET_PROPERTIES(license++ PROPERTIES LINK_SEARCH_START_STATIC OFF)
SET_TARGET_PROPERTIES(license++ PROPERTIES LINK_SEARCH_END_STATIC OFF)
 
target_link_libraries(
     license++
     reader_dynl
     #os
     #${EXTERNAL_LIBS}
)
set_target_properties(license++ PROPERTIES PREFIX "lib")