CMakeLists.txt 602 Bytes

PROJECT(Deriv)

set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH})

include_directories(
	${CMAKE_HOME_DIRECTORY}/src/InternLib/
    ${CMAKE_HOME_DIRECTORY}/src/Common/
    ${CMAKE_HOME_DIRECTORY}/src/Parameters/
    ${CMAKE_HOME_DIRECTORY}/src/Plugins/
    ${CMAKE_HOME_DIRECTORY}/src/helpers/
    ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
    ${LOG4CXX_INCLUDE_DIR}
    ${Boost_INCLUDE_DIR}
)

#Library configuration
file(
	GLOB_RECURSE
	source_files
	./*
)

ADD_LIBRARY( Deriv SHARED ${source_files} )


target_link_libraries(
	Deriv
	${LOG4CXX_LIBRARIES}
	Parameters
	InternLib
	TimeTableCatalog
)