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