]> Creatis software - FrontAlgorithms.git/blob - examples/CMakeLists.txt
acb1bc5fc9d3be3a63d6e0a7d4c91b3708d34595
[FrontAlgorithms.git] / examples / CMakeLists.txt
1 OPTION(BUILD_Examples "Build simple examples?" OFF)
2
3 IF(BUILD_Examples)
4   SET(
5     _examples
6     RegionGrow_00
7     MoriRegionGrow_00
8     Skeleton_00
9     )
10   INCLUDE_DIRECTORIES(
11     ${PROJECT_SOURCE_DIR}/lib
12     ${PROJECT_BINARY_DIR}/lib
13     )
14   FOREACH(_example ${_examples})
15     ADD_EXECUTABLE(fpa_example_${_example} ${_example}.cxx)
16     TARGET_LINK_LIBRARIES(fpa_example_${_example} ${ITK_LIBRARIES} ${VTK_LIBRARIES})
17   ENDFOREACH(_example)
18 ENDIF(BUILD_Examples)
19
20 ## eof - $RCSfile$