CMakeLists.txt 734 Bytes

PROJECT(XMLParameterConfigurator)

include_directories(
    ${CMAKE_HOME_DIRECTORY}/src/helpers/
    ${CMAKE_HOME_DIRECTORY}/src/Common/
    ${CMAKE_HOME_DIRECTORY}/src/Parameters/
    ${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator
    ${CMAKE_HOME_DIRECTORY}/src/XMLParameterConfigurator
    ${CMAKE_HOME_DIRECTORY}/src/DD_Client_Lib/
    ${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( XMLParameterConfigurator SHARED ${source_files} )


target_link_libraries(
	XMLParameterConfigurator
	XMLConfigurator
	${LOG4CXX_LIBRARIES}
	${LIBXML2_LIBRARIES}
	TimeTableCatalog
)