From 81c555ea3b4f15243bc06f5147679350013d21c0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 1 Jun 2016 14:42:24 -0400 Subject: [PATCH] Added the examples CMakeLists.txt. --- CMakeLists.txt | 2 ++ examples/CMakeLists.txt | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 examples/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index adb78166..4162b8e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,3 +153,5 @@ add_subdirectory("test") set_target_properties(tester PROPERTIES OUTPUT_NAME test WIN32_EXECUTABLE FALSE) + +add_subdirectory("examples") diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 00000000..64f35869 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,19 @@ +# 1 june 2016 + +include_directories(..) + +_add_exec(controlgallery + controlgallery/main.c +) +_add_exec(histogram + histogram/main.c +) +_add_exec(cpp-multithread + cpp-multithread/main.cpp +) + +add_custom_target(examples + DEPENDS + controlgallery + histogram + cpp-multithread)