]> Creatis software - creaImageIO.git/commitdiff
install only useful applications
authorFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Fri, 5 Nov 2010 16:37:06 +0000 (16:37 +0000)
committerFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Fri, 5 Nov 2010 16:37:06 +0000 (16:37 +0000)
CMakeLists.txt
appli/CMakeLists.txt

index 24ab59edbd70799818fcc35bda8830d6fc96b863..951ea8cfe9267632e1be16e0a1d31b9a840890af 100644 (file)
@@ -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)
index d5a4e022ab76171c1915939b2ac71a3c2d7a332f..d10f989c6d5e5b1a4d67064bced51cb57ab1b0f3 100644 (file)
@@ -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)