X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FCTBronchi%2FCMakeLists.txt;h=c88add42563e5046f08e9d12a2b0f82bbfe71725;hb=0251081f09de5bd702c01565c9401c1eb1983ae5;hp=446ff4c032256a350d5f4843adcbd41c04f5393f;hpb=38eec70e80acde7adfc59e3eae666c848a437abd;p=FrontAlgorithms.git diff --git a/appli/CTBronchi/CMakeLists.txt b/appli/CTBronchi/CMakeLists.txt index 446ff4c..c88add4 100644 --- a/appli/CTBronchi/CMakeLists.txt +++ b/appli/CTBronchi/CMakeLists.txt @@ -1,17 +1,25 @@ +## ========================================================================= +## @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 ) 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)