]> Creatis software - FrontAlgorithms.git/blob - examples/CMakeLists.txt
cbbfcf922e30d149461e0e7c20ff2212e1986030
[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     #CreateMoriInputImage
8     #BronchiiInitialSegmentationWithMori
9     #BronchiiInitialSegmentationWithBinaryThresholdRegionGrow
10     )
11   INCLUDE_DIRECTORIES(
12     ${PROJECT_SOURCE_DIR}/libs
13     ${PROJECT_BINARY_DIR}/libs
14     )
15   FOREACH(_e ${_examples})
16     ADD_EXECUTABLE(fpa_example_${_e} ${_e}.cxx)
17     TARGET_LINK_LIBRARIES(fpa_example_${_e} ${ITK_LIBRARIES})
18   ENDFOREACH(_e)
19 ENDIF(BUILD_EXAMPLES)
20
21 ## eof - $RCSfile$