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