]> Creatis software - FrontAlgorithms.git/blobdiff - appli/CTBronchi/CMakeLists.txt
...
[FrontAlgorithms.git] / appli / CTBronchi / CMakeLists.txt
index 1d7e316e60d3e95c16444125b80c430bd1535103..1851e55671088bd42244a923e619800c0344c165 100644 (file)
@@ -1,22 +1,25 @@
 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
-    MoriSegmentation
-    MoriLabelling
-    RandomWalker
-    )
-  foreach(_e ${_examples})
-    add_executable(${_pfx}${_e} ${_e}.cxx)
-    target_link_libraries(${_pfx}${_e} ivq::ivq fpa)
-  endforeach(_e)
+  ${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)
 endif(fpa_BUILD_CTBronchi)
 
 ## eof - $RCSfile$