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