]> Creatis software - FrontAlgorithms.git/blobdiff - appli/CTBronchi/CMakeLists.txt
Merge branch 'sandbox' of ssh://git.creatis.insa-lyon.fr/FrontAlgorithms into sandbox
[FrontAlgorithms.git] / appli / CTBronchi / CMakeLists.txt
index 012436fb12d5fd55be2cd562f94fe64078fd4fa9..d81b5e83b7f271ac663fc67fa9f0d3929350cedf 100644 (file)
@@ -1,25 +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)
-#  configure_file(
-#    CTBronchi_process.sh
-#    ${PROJECT_BINARY_DIR}/CTBronchi_process.sh
-#    COPYONLY
-#    )
-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)
+  set(_pfx fpa_CTBronchi_)
+  set(
+    _examples
+    Vesselness
+    MoriSegmentation
+    MoriLabelling
+    )
+  foreach(_e ${_examples})
+    BuildApplication(
+      ${_pfx}${_e}
+      SOURCE ${_e}.cxx
+      INSTALL
+      RECURRENT
+      LINKS fpa
+      )
+  endforeach(_e)
 endif(fpa_BUILD_CTBronchi)
 
 ## eof - $RCSfile$