]> 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 24ab59e..951ea8c 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 d5a4e02..d10f989 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)