]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/CMakeLists.txt
7f9cb9f14248f45c1d7a1165b2e6c9ddea32d622
[FrontAlgorithms.git] / lib / fpa / CMakeLists.txt
1 ## =========================================================================
2 ## @author Leonardo Florez Valencia
3 ## @email florez-l@javeriana.edu.co
4 ## =========================================================================
5
6 ## -- Set directories
7 set(_dirs . Common DataStructures Filters Functors)
8 if(VTK_FOUND)
9   list(APPEND _dirs VTK)
10 endif(VTK_FOUND)
11 set(_src)
12 foreach(_d ${_dirs})
13   file(GLOB_RECURSE _s "${CMAKE_CURRENT_SOURCE_DIR}/${_d}/*")
14   list(APPEND _src ${_s})
15 endforeach(_d)
16
17 ## -- Build
18 BuildLibrary(
19   fpa SHARED "${_src}"
20   ${prj_MAJ} ${prj_MIN} ${prj_REL}
21   ${ITK_LIBRARIES} ${VTK_LIBRARIES}
22   )
23
24 ## eof - $RCSfile$