3 configure_file(package.C.cmake ${CMAKE_CURRENT_BINARY_DIR}/package.C)
5 file(GLOB support_sources ${TOP_SRC_DIR}/src/support/*.C)
6 file(GLOB support_headers ${TOP_SRC_DIR}/src/support/*.h)
8 list(REMOVE_ITEM support_sources
9 ${TOP_SRC_DIR}/src/support/os_win32.C
10 ${TOP_SRC_DIR}/src/support/os_unix.C
11 ${TOP_SRC_DIR}/src/support/os_cygwin.C
12 ${TOP_SRC_DIR}/src/support/os_os2.C
13 ${TOP_SRC_DIR}/src/support/atexit.c
14 ${TOP_SRC_DIR}/src/support/strerror.c)
17 set(support_sources ${support_sources} ${CMAKE_CURRENT_BINARY_DIR}/package.C)
19 include_directories(${TOP_SRC_DIR}/src/support ${ICONV_INCLUDE_DIR})
22 add_library(support STATIC ${support_sources} ${support_headers})
24 target_link_libraries(support boost_signals)
27 target_link_libraries(support shlwapi)
30 source_group("${CODE_GROUP_NAME}" FILES ${support_sources} ${support_headers})