]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/CMakeLists.txt
39cfbc4a82d3a8496ff83f39b42ca8acc850c915
[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(cpPlugins_USE_VTK)
9   list(APPEND _dirs VTK)
10 endif(cpPlugins_USE_VTK)
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
20   INSTALL_ALL
21   SOURCE ${_src}
22   VERSION ${prj_MAJ} ${prj_MIN} ${prj_REL}
23   LINKS cpPlugins::ivq
24   )
25
26 ## eof - $RCSfile$