Blame view

src/ExternLib/Ram_Presure/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(Ram_Pressure)

set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH}/ram_pressure)

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

#Library configuration
file(
	GLOB_RECURSE
	source_files
	./*
)

ADD_LIBRARY( Ram_Pressure SHARED ${source_files} )


target_link_libraries(
	Ram_Pressure
	${LOG4CXX_LIBRARIES}
	Parameters
)

FILE( GLOB_RECURSE PROJ_HEADERS *.hh )
INSTALL(FILES ${PROJ_HEADERS} DESTINATION ${LIBRARY_OUTPUT_PATH}  PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)