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