PROJECT(mexvex_els_calculate_sum) set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH}/mexvex_els_calculate_sum) # include_directories( # ../mexvex_els_calculate # ) #Library configuration file( GLOB_RECURSE source_files ./* ) ADD_LIBRARY( mexvex_els_calculate_sum SHARED ${source_files} ) target_link_libraries( mexvex_els_calculate_sum ) FILE( GLOB_RECURSE PROJ_HEADERS *.hh ) INSTALL(FILES ${PROJ_HEADERS} DESTINATION ${LIBRARY_OUTPUT_PATH} PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)