CMakeLists.txt
396 Bytes
PROJECT(fgm2nc)
include_directories(
${CMAKE_HOME_DIRECTORY}/src/INCLUDE/
${NETCDFINCLUDE_DIR}
${libcdf_INCLUDE_DIR}
)
#Configuration de l'exécutable
file(
GLOB_RECURSE
source_files
./*
)
ADD_EXECUTABLE (fgm2nc ${source_files} )
target_link_libraries(
fgm2nc
DD_Client
${NETCDFLIBRARY}
${libcdf_LIBRARIES}
)
install (TARGETS fgm2nc DESTINATION bin)