]> Creatis software - FrontAlgorithms.git/blob - examples/CMakeLists.txt
0b9e558044eea95077f84896fc56d6ffa3b3245e
[FrontAlgorithms.git] / examples / CMakeLists.txt
1 OPTION(BUILD_EXAMPLES "Build cpPlugins-free examples." OFF)
2 IF(BUILD_EXAMPLES)
3   SET(
4     _examples
5     CreateMoriInputImage
6     BronchiiInitialSegmentationWithMori
7     BronchiiInitialSegmentationWithBinaryThresholdRegionGrow
8     )
9   INCLUDE_DIRECTORIES(
10     ${PROJECT_SOURCE_DIR}/libs
11     ${PROJECT_BINARY_DIR}/libs
12     )
13   FOREACH(_e ${_examples})
14     ADD_EXECUTABLE(fpa_example_${_e} ${_e}.cxx)
15     TARGET_LINK_LIBRARIES(fpa_example_${_e} ${ITK_LIBRARIES})
16   ENDFOREACH(_e)
17 ENDIF(BUILD_EXAMPLES)
18
19 ## eof - $RCSfile$