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