PROJECT(mex_imah_calculate) set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH}/mex_imah_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_imah_calculate SHARED ${source_files} ) target_link_libraries( mex_imah_calculate ) FILE( GLOB_RECURSE PROJ_HEADERS *.hh ) INSTALL(FILES ${PROJ_HEADERS} DESTINATION ${LIBRARY_OUTPUT_PATH} PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)