Added the examples CMakeLists.txt.

This commit is contained in:
Pietro Gagliardi 2016-06-01 14:42:24 -04:00
parent 08c06f24c0
commit 81c555ea3b
2 changed files with 21 additions and 0 deletions

View File

@ -153,3 +153,5 @@ add_subdirectory("test")
set_target_properties(tester PROPERTIES set_target_properties(tester PROPERTIES
OUTPUT_NAME test OUTPUT_NAME test
WIN32_EXECUTABLE FALSE) WIN32_EXECUTABLE FALSE)
add_subdirectory("examples")

19
examples/CMakeLists.txt Normal file
View File

@ -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)