CMakeLists.txt
391 Bytes
PROJECT(cdf2nc)
include_directories(
${DDCLIENTINCLUDE_DIR}
${NETCDFINCLUDE_DIR}
${libcdf_INCLUDE_DIR}
)
#Configuration de l'exécutable
file(
GLOB_RECURSE
source_files
./*
)
ADD_EXECUTABLE (cdf2nc ${source_files} )
target_link_libraries(
cdf2nc
${DDCLIENTLIBRARY}
${NETCDFLIBRARY}
${libcdf_LIBRARIES}
)
install (TARGETS cdf2nc DESTINATION bin)