From a83cb3d8b8e91d5b3ea84360ab8d4be15414cdb5 Mon Sep 17 00:00:00 2001 From: Rashad Kanavath <rashad.kanavath@c-s.fr> Date: Tue, 3 Feb 2015 11:36:08 +0100 Subject: [PATCH] skip Ice, Monteverdi build by default. use BUILD_ to activate --- CMakeLists.txt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f243841a67..372b1ef975 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,9 @@ include(CTest) # General options option(ENABLE_QT4 " Use QT4 in the SuperBuild" ON) option(ENABLE_OTB_LARGE_INPUTS " Use the OTB-LargeInputs for testing" OFF) - +option(BUILD_ICE "Clone and build ICE" OFF) +option(BUILD_MONTEVERDI2 "Clone and build Monteverdi2" OFF) +option(BUILD_MONTEVERDI "Clone and build Monteverdi" OFF) if(WIN32) if(MSVC) @@ -67,12 +69,15 @@ endif() include(External_OTB) -option(BUILD_ICE_APPLICATION "Build the Ice application (requires glfw and glut)" OFF) - -include(External_Ice) +if(BUILD_ICE) + option(BUILD_ICE_APPLICATION "Build the Ice application (requires glfw and glut)" OFF) + include(External_Ice) +endif() -if(ENABLE_QT4) +if(BUILD_MONTEVERDI2) include(External_Monteverdi2) endif() -#include(External_Monteverdi) \ No newline at end of file +if(BUILD_MONTEVERDI) + include(External_Monteverdi) +endif() -- GitLab