option(fpa_BUILD_CTBronchi "Build bronchi analysis from CT images applications?" OFF)
if(fpa_BUILD_CTBronchi)
- set(_pfx fpa_CTBronchi_)
- set(
- _examples
- Vesselness
- MoriSegmentation
- MoriLabelling
- FastRandomWalker
- SliceBySliceRandomWalker
- AndSegmentations
- Skeleton
+ BuildLibrary(
+ fpa_CTBronchi SHARED
+ INSTALL_ALL
+ SOURCE
+ Filter.h Filter.hxx
+ Image.h Image.hxx
+ Process.h Process.cxx
+ LINKS fpa cpPlugins::tclap
)
- foreach(_e ${_examples})
- BuildApplication(
- ${_pfx}${_e}
- SOURCE ${_e}.cxx
- INSTALL
- RECURRENT
- LINKS fpa cpPlugins::tclap
- )
- endforeach(_e)
- configure_file(
- Process.sh
- ${PROJECT_BINARY_DIR}/${_pfx}Process.sh
- COPYONLY
- )
- install(
- FILES ${PROJECT_BINARY_DIR}/${_pfx}Process.sh
- DESTINATION bin
+ BuildApplication(
+ fpa_CTBronchi_CommandLineProcess
+ SOURCE CommandLineProcess.cxx
+ INSTALL
+ RECURRENT
+ LINKS fpa_CTBronchi
)
+
endif(fpa_BUILD_CTBronchi)
+#option(fpa_BUILD_CTBronchi "Build bronchi analysis from CT images applications?" OFF)
+#if(fpa_BUILD_CTBronchi)
+# set(_pfx fpa_CTBronchi_)
+# set(
+# _examples
+# Vesselness
+# MoriSegmentation
+# MoriLabelling
+# FastRandomWalker
+# SliceBySliceRandomWalker
+# AndSegmentations
+# Skeleton
+# )
+# foreach(_e ${_examples})
+# BuildApplication(
+# ${_pfx}${_e}
+# SOURCE ${_e}.cxx
+# INSTALL
+# RECURRENT
+# LINKS fpa cpPlugins::tclap
+# )
+# endforeach(_e)
+
+# configure_file(
+# Process.sh
+# ${PROJECT_BINARY_DIR}/${_pfx}Process.sh
+# COPYONLY
+# )
+# install(
+# FILES ${PROJECT_BINARY_DIR}/${_pfx}Process.sh
+# DESTINATION bin
+# )
+#endif(fpa_BUILD_CTBronchi)
+
## eof - $RCSfile$