X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FCTBronchi%2FCMakeLists.txt;h=79a58ad24cdb82bba14070aa348e03b11ecbd211;hb=9817c556a0b8b5e3b332d45f07faa84d91afb2d0;hp=fccfb975998a0d52e1095dcd6c0491555a9c3fd8;hpb=d2f5533aef455b7d862dbfbe72c42c5497eaf98b;p=FrontAlgorithms.git diff --git a/appli/CTBronchi/CMakeLists.txt b/appli/CTBronchi/CMakeLists.txt index fccfb97..79a58ad 100644 --- a/appli/CTBronchi/CMakeLists.txt +++ b/appli/CTBronchi/CMakeLists.txt @@ -1,26 +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 - MoriSegmentation - MoriLabelling - ) -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$