CMakeLists.txt
670 Bytes
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)