From: Leonardo Florez-Valencia Date: Tue, 9 Dec 2014 17:45:17 +0000 (+0100) Subject: Integration with cpPlugins X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=068813ccf0c544f3f70d02790b9fe5cd8e9758b4;p=FrontAlgorithms.git Integration with cpPlugins --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cd777b0..2ad5b54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,12 @@ INCLUDE(${ITK_USE_FILE}) IF(USE_VTK) FIND_PACKAGE(VTK REQUIRED) INCLUDE(${VTK_USE_FILE}) + + OPTION(USE_cpPlugins "Build cpPlugins based stuff" OFF) + IF(USE_cpPlugins) + FIND_PACKAGE(cpPlugins REQUIRED) + ENDIF(USE_cpPlugins) + ENDIF(USE_VTK) ## ================================================ diff --git a/COMPILATION b/COMPILATION index 1886dd8..d4f2408 100644 --- a/COMPILATION +++ b/COMPILATION @@ -16,6 +16,10 @@ 4.1 Required cmake flags: BUILD_SHARED_LIBS:BOOL=ON + 5. [OPTIONAL] cpPlugins (>=0.0.1) + 5.1 Required cmake flags: + BUILD_SHARED_LIBS:BOOL=ON + @cmake_flags BUILD_EXAMPLES:BOOL Build example applications? (most of them are command line)