CMakeLists.txt
378 Bytes
PROJECT(helpers)
include_directories(
${Boost_INCLUDE_DIR}
${LOG4CXX_INCLUDE_DIR}
)
#Configuration de la librairie
file(
GLOB_RECURSE
source_files
./*
)
ADD_LIBRARY( helpers SHARED ${source_files} )
target_link_libraries(
helpers
${Boost_LIBRARY_DIR}/libboost_system.so
${Boost_LIBRARY_DIR}/libboost_thread.so
${Boost_LIBRARY_DIR}/libboost_regex.so
rt
)