]> Creatis software - cpPlugins.git/blob - appli/examples/plugins/CMakeLists.txt
b7638a8135ed5c9760d76ed422e7074626e24cf9
[cpPlugins.git] / appli / examples / plugins / CMakeLists.txt
1 ## ============================
2 ## == Configure source files ==
3 ## ============================
4
5 SET(_pfx example_plugins)
6 SET(
7   _all_progs
8   test
9   GuessPlugins
10   LoadPluginsFile
11   LoadPluginsDirectory
12   CreateCylinderAndSave
13   )
14
15 ## ==========================
16 ## == Compile source files ==
17 ## ==========================
18
19 INCLUDE_DIRECTORIES(
20   ${PROJECT_SOURCE_DIR}/lib
21   ${PROJECT_BINARY_DIR}/lib
22   )
23 FOREACH(_s ${_all_progs})
24   ADD_EXECUTABLE(${_pfx}_${_s} ${_s}.cxx)
25   TARGET_LINK_LIBRARIES(${_pfx}_${_s} cpPlugins)
26 ENDFOREACH(_s)
27
28 ## eof - $RCSfile$