2014-11-04 00:36:24 +02:00
|
|
|
# Copyright (c) 2011 Milo Yip (miloyip@gmail.com)
|
|
|
|
# Copyright (c) 2013 Rafal Jeczalik (rjeczalik@gmail.com)
|
|
|
|
# Distributed under the MIT License (see license.txt file)
|
|
|
|
|
|
|
|
set(EXAMPLES
|
|
|
|
capitalize
|
|
|
|
condense
|
|
|
|
messagereader
|
|
|
|
pretty
|
|
|
|
prettyauto
|
|
|
|
serialize
|
|
|
|
simpledom
|
|
|
|
simplereader
|
|
|
|
simplewriter
|
|
|
|
tutorial)
|
|
|
|
|
|
|
|
foreach (example ${EXAMPLES})
|
2014-11-11 17:16:51 +02:00
|
|
|
add_executable(${example} ${example}/${example}.cpp)
|
2014-11-04 00:36:24 +02:00
|
|
|
endforeach()
|
2014-11-11 17:50:32 +02:00
|
|
|
|
|
|
|
add_custom_target(examples ALL DEPENDS ${EXAMPLES})
|