PROJECT(mex_imao_calculate) set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH}/mex_imao_calculate) include_directories( ${CMAKE_HOME_DIRECTORY}/src/Common/ ${CMAKE_HOME_DIRECTORY}/src/Parameters/ ${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( mex_imao_calculate SHARED ${source_files} ) target_link_libraries( mex_imao_calculate ) FILE( GLOB_RECURSE PROJ_HEADERS *.hh ) INSTALL(FILES ${PROJ_HEADERS} DESTINATION ${LIBRARY_OUTPUT_PATH} PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)