3 add_subdirectory( MEL_grib1 )
4 add_subdirectory( grib1_util )
5 add_subdirectory( WGRIB )
7 get_filename_component( FOLDER_COMPILE_TARGET ${CMAKE_CURRENT_SOURCE_DIR} NAME )
10 ${FOLDER_COMPILE_TARGET}
15 ${FOLDER_COMPILE_TARGET}
23 set_target_properties(
24 ${FOLDER_COMPILE_TARGET}
26 Fortran_MODULE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${FOLDER_COMPILE_TARGET}
28 EXPORT_PROPERTIES Fortran_MODULE_DIRECTORY
32 target_include_directories( ${FOLDER_COMPILE_TARGET}
34 ${CMAKE_CURRENT_SOURCE_DIR}/../ioapi_share
35 ${CMAKE_CURRENT_SOURCE_DIR}/../io_grib_share
36 ${CMAKE_CURRENT_SOURCE_DIR}/grib1_util
37 ${CMAKE_CURRENT_SOURCE_DIR}/MEL_grib1
41 TARGETS ${FOLDER_COMPILE_TARGET}
42 EXPORT ${EXPORT_NAME}Targets
43 RUNTIME DESTINATION bin/
44 ARCHIVE DESTINATION lib/
45 LIBRARY DESTINATION lib/