Blame view

src/TimeTableCatalog/CMakeLists.txt 670 Bytes
fbe3c2bb   Benjamin Renard   First commit
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

PROJECT(TimeTableCatalog)

include_directories(
	TimeTableCatalog
    ${CMAKE_HOME_DIRECTORY}/src/Common/
    ${CMAKE_HOME_DIRECTORY}/src/helpers/
    ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
    ${CMAKE_HOME_DIRECTORY}/src/DD_Client_r_Lib/
    ${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
	${LOG4CXX_LIBRARIES}
	${LIBXML2_LIBRARIES}
	${cURL_LIBRARIES}
	${BOOST_ROOT}/lib/libboost_system.so
	${BOOST_ROOT}/lib/libboost_filesystem.so
)