Blame view

src/XMLRequest/CMakeLists.txt 691 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3

PROJECT(XMLRequest)

fbe3c2bb   Benjamin Renard   First commit
4
5
6
include_directories(
    ${CMAKE_HOME_DIRECTORY}/src/XMLRequest
    ${CMAKE_HOME_DIRECTORY}/src/helpers/
cfe8df50   Benjamin Renard   DD_Client is now ...
7
8
    ${DDCLIENTINCLUDE_DIR}
    ${CMAKE_HOME_DIRECTORY}/src/TimeUtil/
fbe3c2bb   Benjamin Renard   First commit
9
10
11
    ${CMAKE_HOME_DIRECTORY}/src/Common/
    ${CMAKE_HOME_DIRECTORY}/src/Parameters/
    ${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator
fbe3c2bb   Benjamin Renard   First commit
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
    ${LIBXML2_INCLUDE_DIR}
    ${LOG4CXX_INCLUDE_DIR}
    ${Boost_INCLUDE_DIR}
)

#Configuration de la librairie
file(
	GLOB_RECURSE
	source_files
	./*
)

ADD_LIBRARY( XMLRequest SHARED ${source_files} )


target_link_libraries(
	XMLRequest
	XMLParameterConfigurator
fbe3c2bb   Benjamin Renard   First commit
31
32
	${LOG4CXX_LIBRARIES}
	${LIBXML2_LIBRARIES}
23b5301b   Benjamin Renard   Use libxml2 V2.9....
33
)