X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=appli%2FCTBronchi%2FCMakeLists.txt;h=79a58ad24cdb82bba14070aa348e03b11ecbd211;hb=9817c556a0b8b5e3b332d45f07faa84d91afb2d0;hp=1851e55671088bd42244a923e619800c0344c165;hpb=2efa5afeeb98939023d0c4b693b30a4c68f4a374;p=FrontAlgorithms.git diff --git a/appli/CTBronchi/CMakeLists.txt b/appli/CTBronchi/CMakeLists.txt index 1851e55..79a58ad 100644 --- a/appli/CTBronchi/CMakeLists.txt +++ b/appli/CTBronchi/CMakeLists.txt @@ -1,25 +1,27 @@ +## ========================================================================= +## @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) +## ========================================================================= + option(fpa_BUILD_CTBronchi "Build bronchi analysis from CT images applications?" OFF) if(fpa_BUILD_CTBronchi) - configure_file( - CTBronchi_process.sh - ${PROJECT_BINARY_DIR}/CTBronchi_process.sh - COPYONLY + set(_pfx fpa_CTBronchi_) + set( + _examples + Vesselness + MoriSegmentation + MoriLabelling + FastRandomWalker + SliceBySliceRandomWalker ) - include_directories( - ${PROJECT_SOURCE_DIR}/lib - ${PROJECT_BINARY_DIR}/lib - ${PROJECT_SOURCE_DIR}/appli - ${PROJECT_BINARY_DIR}/appli - ) -set(_pfx fpa_CTBronchi_) -set( - _examples - Process - ) -foreach(_e ${_examples}) - add_executable(${_pfx}${_e} ${_e}.cxx) - target_link_libraries(${_pfx}${_e} fpa) -endforeach(_e) + foreach(_e ${_examples}) + BuildApplication( + ${_pfx}${_e} + SOURCE ${_e}.cxx + INSTALL + RECURRENT + LINKS fpa cpPlugins::tclap + ) + endforeach(_e) endif(fpa_BUILD_CTBronchi) ## eof - $RCSfile$