X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FCTBronchi%2FCMakeLists.txt;h=79a58ad24cdb82bba14070aa348e03b11ecbd211;hb=9817c556a0b8b5e3b332d45f07faa84d91afb2d0;hp=446ff4c032256a350d5f4843adcbd41c04f5393f;hpb=38eec70e80acde7adfc59e3eae666c848a437abd;p=FrontAlgorithms.git diff --git a/appli/CTBronchi/CMakeLists.txt b/appli/CTBronchi/CMakeLists.txt index 446ff4c..79a58ad 100644 --- a/appli/CTBronchi/CMakeLists.txt +++ b/appli/CTBronchi/CMakeLists.txt @@ -1,17 +1,26 @@ +## ========================================================================= +## @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) - include_directories( - ${PROJECT_SOURCE_DIR}/lib - ${PROJECT_BINARY_DIR}/lib - ) set(_pfx fpa_CTBronchi_) set( _examples + Vesselness MoriSegmentation + MoriLabelling + FastRandomWalker + SliceBySliceRandomWalker ) foreach(_e ${_examples}) - add_executable(${_pfx}${_e} ${_e}.cxx) - target_link_libraries(${_pfx}${_e} ivq::ivq fpa) + BuildApplication( + ${_pfx}${_e} + SOURCE ${_e}.cxx + INSTALL + RECURRENT + LINKS fpa cpPlugins::tclap + ) endforeach(_e) endif(fpa_BUILD_CTBronchi)