]> Creatis software - FrontAlgorithms.git/blob - appli/CTBronchi/CMakeLists.txt
...
[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     )
17   foreach(_e ${_examples})
18     BuildApplication(
19       ${_pfx}${_e}
20       SOURCE ${_e}.cxx
21       INSTALL
22       RECURRENT
23       LINKS fpa cpPlugins::tclap
24       )
25   endforeach(_e)
26
27   configure_file(
28     Process.sh
29     ${PROJECT_BINARY_DIR}/${_pfx}Process.sh
30     COPYONLY
31     )
32   install(
33     FILES ${PROJECT_BINARY_DIR}/${_pfx}Process.sh
34     DESTINATION bin
35     )
36 endif(fpa_BUILD_CTBronchi)
37
38 ## eof - $RCSfile$