X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tests%2Fimage%2FVTK%2FCMakeLists.txt;fp=tests%2Fimage%2FVTK%2FCMakeLists.txt;h=3328b46fb670f82bfe138ab3993290d9feb65a70;hb=2047276c8f1a02432fbcc7014722d460d6c1e60f;hp=0000000000000000000000000000000000000000;hpb=3c639e5da479c7216a0a302ffa156ac6762caeed;p=FrontAlgorithms.git diff --git a/tests/image/VTK/CMakeLists.txt b/tests/image/VTK/CMakeLists.txt new file mode 100644 index 0000000..3328b46 --- /dev/null +++ b/tests/image/VTK/CMakeLists.txt @@ -0,0 +1,21 @@ +## ========================================================================= +## @author Leonardo Florez Valencia +## @email florez-l@javeriana.edu.co +## ========================================================================= + +if(VTK_FOUND) + set(_pfx test_fpa_Image_VTK_) + set( + _tests + PolyLineParametricPathToPolyData + SkeletonToPolyData + ) + include_directories(${PROJECT_SOURCE_DIR}/lib ${PROJECT_BINARY_DIR}/lib) + + foreach(_t ${_tests}) + add_executable(${_pfx}${_t} ${_t}.cxx) + target_link_libraries(${_pfx}${_t} fpa ${VTK_LIBRARIES}) + endforeach(_t) +endif(VTK_FOUND) + +## eof - $RCSfile$