From 3eae43c75cc65ea6acea5b12f65f3faf6243789e Mon Sep 17 00:00:00 2001 From: Frederic Cervenansky Date: Fri, 5 Nov 2010 16:37:06 +0000 Subject: [PATCH] install only useful applications --- CMakeLists.txt | 1 + appli/CMakeLists.txt | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 24ab59e..951ea8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,7 @@ SET(USE_BOOST ON) OPTION(USE_WXWIDGETS "Use WxWidgets GUI" ON) OPTION(USE_QT4 "USE QT4GUI" OFF) OPTION(USE_XERCES "USE Xerces if you want to use an beta version of outputModel" OFF) +OPTION(USE_INSTALL_APP "install only useful applications" ON) IF(USE_QT4) IF(USE_WXWIDGETS) diff --git a/appli/CMakeLists.txt b/appli/CMakeLists.txt index d5a4e02..d10f989 100644 --- a/appli/CMakeLists.txt +++ b/appli/CMakeLists.txt @@ -1,10 +1,14 @@ - +IF(!USE_INSTALL_APP) SUBDIRS(gimmick) - SUBDIRS(TestGimmickReaderDialog) + SUBDIRS(TestGimmickReaderDialog) + ENDIF(!USE_INSTALL_APP) + if(USE_WXWIDGETS) - SUBDIRS(wxGimmick) - SUBDIRS(TestWxGimmickReaderDialog) - SUBDIRS(TestWxSimpleView) + IF(!USE_INSTALL_APP) + SUBDIRS(wxGimmick) + ENDIF(!USE_INSTALL_APP) + SUBDIRS(TestWxGimmickReaderDialog) + SUBDIRS(TestWxSimpleView) ENDIF(USE_WXWIDGETS) IF(USE_QT4) -- 2.47.1