PROJECT(testParallel) include_directories( ${DDCLIENTINCLUDE_DIR} ) #Configuration de l'exécutable file( GLOB_RECURSE source_files ./* ) ADD_EXECUTABLE (testParallel testParallel.c ) target_link_libraries( testParallel ${CMAKE_THREAD_LIBS_INIT} ${DDCLIENTLIBRARY} ) ADD_EXECUTABLE (testGetData testGetData.c ) target_link_libraries( testGetData ${CMAKE_THREAD_LIBS_INIT} ${DDCLIENTLIBRARY} ) install (TARGETS testParallel testGetData DESTINATION tests)