]> Creatis software - bbtk.git/blobdiff - kernel/cmake/BBTKDefineOptions.cmake
Feature #1774
[bbtk.git] / kernel / cmake / BBTKDefineOptions.cmake
index 34c0a776209ba9afd671520a52808c90d14546ae..d0a48ee9d3e3faf320d4976fdab334fbef2161ba 100644 (file)
@@ -1,3 +1,29 @@
+ # ---------------------------------------------------------------------
+ #
+ # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
+ #                        pour la SantÈ)
+ # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+ # Previous Authors : Laurent Guigues, Jean-Pierre Roux
+ # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
+ #
+ #  This software is governed by the CeCILL-B license under French law and
+ #  abiding by the rules of distribution of free software. You can  use,
+ #  modify and/ or redistribute the software under the terms of the CeCILL-B
+ #  license as circulated by CEA, CNRS and INRIA at the following URL
+ #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+ #  or in the file LICENSE.txt.
+ #
+ #  As a counterpart to the access to the source code and  rights to copy,
+ #  modify and redistribute granted by the license, users are provided only
+ #  with a limited warranty  and the software's author,  the holder of the
+ #  economic rights,  and the successive licensors  have only  limited
+ #  liability.
+ #
+ #  The fact that you are presently reading this means that you have had
+ #  knowledge of the CeCILL-B license and that you accept its terms.
+ # ------------------------------------------------------------------------ */
+
+
 #-----------------------------------------------------------------------------
 # messages compilation options 
 OPTION ( BBTK_COMPILE_MESSAGES         "Compile bbtk messages ?"         ON)
@@ -21,7 +47,7 @@ IF(BUILD_BBTK_DOC)
   OPTION(BUILD_BBTK_DOC_GUIDES_PDF 
     "Build bbtk Guides', PDF format (latex)."            ON)
   OPTION(BUILD_BBTK_DOC_GUIDES_HTML 
-    "Build bbtk Guides', HTML format (latex+tth)."       ON)
+    "Build bbtk Guides', HTML format (latex+tth)."       OFF)
 
 ELSE(BUILD_BBTK_DOC)
   
@@ -53,9 +79,9 @@ ENDIF(BUILD_BBTK_DOC)
 
 #-----------------------------------------------------------------------------
 # BOOST C++
-SET(BBTK_SHIPPED_BOOST boost_1_35_0 CACHE INTERNAL "Shipped boost dir" FORCE)
-OPTION(BBTK_USE_SHIPPED_BOOST 
-  "Use the shipped boost C++ library (${BBTK_SHIPPED_BOOST})" ON)
+#SET(BBTK_SHIPPED_BOOST boost_1_35_0 CACHE INTERNAL "Shipped boost dir" FORCE)
+#OPTION(BBTK_USE_SHIPPED_BOOST 
+#  "Use the shipped boost C++ library (${BBTK_SHIPPED_BOOST})" ON)
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
@@ -68,13 +94,14 @@ ENDIF(BBTK_USE_WXWIDGETS)
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
-OPTION(BBTK_USE_KWWIDGETS "Build bbtk with KWWidgets ?" OFF)
+# LG 25/05/09 : KW NOT SUPPORTED ANYMORE
+#OPTION(BBTK_USE_KWWIDGETS "Build bbtk with KWWidgets ?" OFF)
 IF (BBTK_USE_KWWIDGETS)
   SET(USE_KWWIDGETS ON CACHE BOOL "Use KWWidgets" FORCE)
 ELSE (BBTK_USE_KWWIDGETS)
   SET(USE_KWWIDGETS OFF CACHE BOOL "Use KWWidgets" FORCE)
 ENDIF (BBTK_USE_KWWIDGETS)
-SWITCH_ON_IF_BUILD_ALL(BBTK_USE_KWWIDGETS)
+#SWITCH_ON_IF_BUILD_ALL(BBTK_USE_KWWIDGETS)
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------