Commit 3289e5b1 authored by Matthias Vallentin's avatar Matthias Vallentin

Install example sources in share/caf/examples.

parent 84520d3d
......@@ -18,6 +18,9 @@ macro(add name folder)
${LIBCAF_LIBRARIES}
${PTHREAD_LIBRARIES}
${WSLIB})
set_target_properties(${name}
PROPERTIES RUNTIME_OUTPUT_DIRECTORY bin/examples)
install(FILES ${folder}/${name}.cpp DESTINATION share/caf/examples/${folder})
add_dependencies(${name} all_examples)
endmacro()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment