]> Creatis software - cpPlugins.git/blob - plugins/CMakeLists.txt
4e194de3c3518feacd448555daeb38badbe0ebf8
[cpPlugins.git] / plugins / CMakeLists.txt
1 ## =============
2 ## == Subdirs ==
3 ## =============
4
5 SET(
6   _dirlist
7   AnisotropicDiffusion
8   GenericFilters
9   ImageArithmeticFilters
10   ImageBooleanFilters
11   ImageDistanceMaps
12   ImageGenericFilters
13   ImageGradientFilters
14   ImageMeshFilters
15   ImageSources
16   ImageThresholdFilters
17   IO
18   MeshFilters
19   MeshSources
20   Widgets
21   )
22
23 IF(ParabolicMorphology_LOADED)
24   LIST(APPEND _dirlist ImageParaMorphologyFilters)
25 ENDIF(ParabolicMorphology_LOADED)
26
27 ## ===============================
28 ## == Build each plugin library ==
29 ## ===============================
30
31 FOREACH(_dir ${_dirlist})
32   Wrap_cpPlugins(
33     _plugin
34     ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}
35     ${prj_VERSION} ${prj_SHORT_VERSION}
36     cpPlugins
37     )
38   TARGET_LINK_LIBRARIES(
39     ${_plugin} ${cpPlugins_LIB} ${cpExtensions_LIB} ${cpPlugins_Instances}
40     )
41 ENDFOREACH(_dir)
42
43 ## eof - $RSCfile$