]> Creatis software - FrontAlgorithms.git/blob - tests/image/VTK/CMakeLists.txt
...
[FrontAlgorithms.git] / tests / image / VTK / CMakeLists.txt
1 ## =========================================================================
2 ## @author Leonardo Florez Valencia
3 ## @email florez-l@javeriana.edu.co
4 ## =========================================================================
5
6 if(VTK_FOUND)
7   set(_pfx test_fpa_Image_VTK_)
8   set(
9     _tests
10     PolyLineParametricPathToPolyData
11     SkeletonToPolyData
12     )
13   include_directories(${PROJECT_SOURCE_DIR}/lib ${PROJECT_BINARY_DIR}/lib)
14
15   foreach(_t ${_tests})
16     add_executable(${_pfx}${_t} ${_t}.cxx)
17     target_link_libraries(${_pfx}${_t} fpa ${VTK_LIBRARIES})
18   endforeach(_t)
19 endif(VTK_FOUND)
20
21 ## eof - $RCSfile$