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