]> Creatis software - FrontAlgorithms.git/blob - appli/CTBronchi/CMakeLists.txt
b5f19be277946146496cb99752650b68e4474036
[FrontAlgorithms.git] / appli / CTBronchi / CMakeLists.txt
1 ## =========================================================================
2 ## @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
3 ## =========================================================================
4
5 option(fpa_BUILD_CTBronchi "Build bronchi analysis from CT images applications?" OFF)
6 if(fpa_BUILD_CTBronchi)
7   set(_pfx fpa_CTBronchi_)
8   set(
9     _examples
10     Vesselness
11     MoriSegmentation
12     MoriLabelling
13     FastRandomWalker
14     SliceBySliceRandomWalker
15     AndSegmentations
16     Skeleton
17     )
18   foreach(_e ${_examples})
19     BuildApplication(
20       ${_pfx}${_e}
21       SOURCE ${_e}.cxx
22       INSTALL
23       RECURRENT
24       LINKS fpa cpPlugins::tclap
25       )
26   endforeach(_e)
27
28   configure_file(
29     Process.sh
30     ${PROJECT_BINARY_DIR}/${_pfx}Process.sh
31     COPYONLY
32     )
33   install(
34     FILES ${PROJECT_BINARY_DIR}/${_pfx}Process.sh
35     DESTINATION bin
36     )
37 endif(fpa_BUILD_CTBronchi)
38
39 ## eof - $RCSfile$