CMakeLists.txt
555 Bytes
PROJECT(TimeTableCatalog)
include_directories(
${DDCLIENTINCLUDE_DIR}
${CMAKE_HOME_DIRECTORY}/src/TimeUtil/
${LIBXML2_INCLUDE_DIR}
${LOG4CXX_INCLUDE_DIR}
${cURL_INCLUDE_DIR}
${Boost_INCLUDE_DIR}
)
#Configuration de la librairie
file(
GLOB_RECURSE
source_files
./*
)
ADD_LIBRARY( TimeTableCatalog SHARED ${source_files} )
target_link_libraries(
TimeTableCatalog
TimeUtil
${LOG4CXX_LIBRARIES}
${LIBXML2_LIBRARIES}
${cURL_LIBRARIES}
${Boost_LIBRARY_DIR}/libboost_system.so
${Boost_LIBRARY_DIR}/libboost_filesystem.so
)