comparison cinst/CMakeLists.txt @ 103:f61d94d7893e

Use common as library
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 21 Mar 2014 14:44:50 +0000
parents 7e2d08555112
children faf96d9a1010
comparison
equal deleted inserted replaced
102:c879a709310d 103:f61d94d7893e
9 include_directories(${POLARSSL_INCLUDE_DIR}) 9 include_directories(${POLARSSL_INCLUDE_DIR})
10 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../common) 10 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../common)
11 11
12 set(CINST_SOURCES 12 set(CINST_SOURCES
13 ${CMAKE_CURRENT_SOURCE_DIR}/main.c 13 ${CMAKE_CURRENT_SOURCE_DIR}/main.c
14 ${CMAKE_CURRENT_SOURCE_DIR}/../common/listutil.c
15 ${CMAKE_CURRENT_SOURCE_DIR}/../common/strhelp.c
16 ) 14 )
17 15
18 set(MOZILLA_SOURCES 16 set(MOZILLA_SOURCES
19 ${CMAKE_CURRENT_SOURCE_DIR}/mozilla.c 17 ${CMAKE_CURRENT_SOURCE_DIR}/mozilla.c
20 ) 18 )
24 if (WIN32) 22 if (WIN32)
25 set(WIN_EXTRA_LIBS -lcrypt32) 23 set(WIN_EXTRA_LIBS -lcrypt32)
26 endif(WIN32) 24 endif(WIN32)
27 25
28 target_link_libraries(cinst 26 target_link_libraries(cinst
27 m13_common
29 ${PROFILING_LIBS} 28 ${PROFILING_LIBS}
30 ${POLARSSL_LIBRARIES} 29 ${POLARSSL_LIBRARIES}
31 ${WIN_EXTRA_LIBS}) 30 ${WIN_EXTRA_LIBS})
32 31
33 target_link_libraries(mozilla 32 target_link_libraries(mozilla

http://wald.intevation.org/projects/trustbridge/