From 9a5dea101b4e049a4a174dfd9da506775affe461 Mon Sep 17 00:00:00 2001 From: Guillaume Courrier Date: Wed, 30 Oct 2019 09:57:49 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20l'ex=C3=A9cutable=20traitement=20c?= =?UTF-8?q?ompil=C3=A9=20=C3=A0=20partir=20du=20fichier=20src/traitement.c?= =?UTF-8?q?pp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ae8f07a..de84d7b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,8 @@ # file(GLOB headers *.hpp) # file(GLOB lib_files *.cpp) -# add_library(blk SHARED ${lib_files}) +add_executable(traitement traitement.cpp) +target_link_libraries(traitement ${OpenCV_LIBS}) # target_include_directories(blk PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) # target_compile_options (blk PUBLIC -std=c++11 )