X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDOP%2FCMakeLists.txt;h=8411c6ae66872e5052f0e7f2b194bc1fb83e8c73;hb=8e96a3a612342439ce6415ac4467afb8494ed323;hp=5ee67c25b5fa6f4a8ace3c6a6ea9744beb34db53;hpb=97e267c35d896c3c401989a4a165087c3bebd708;p=modules%2Fmed.git diff --git a/src/MEDOP/CMakeLists.txt b/src/MEDOP/CMakeLists.txt index 5ee67c25b..8411c6ae6 100644 --- a/src/MEDOP/CMakeLists.txt +++ b/src/MEDOP/CMakeLists.txt @@ -1,9 +1,9 @@ -# Copyright (C) 2012-2013 CEA/DEN, EDF R&D +# Copyright (C) 2012-2014 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,8 +18,17 @@ # ADD_SUBDIRECTORY(cmp) -ADD_SUBDIRECTORY(tui) ADD_SUBDIRECTORY(res) -ADD_SUBDIRECTORY(gui) -ADD_SUBDIRECTORY(exe) -ADD_SUBDIRECTORY(doc) + +IF(SALOME_BUILD_GUI) + ADD_SUBDIRECTORY(gui) +ENDIF() + +IF(SALOME_MED_ENABLE_PYTHON) + ADD_SUBDIRECTORY(tui) + ADD_SUBDIRECTORY(exe) +ENDIF() + +IF(SALOME_BUILD_DOC) + ADD_SUBDIRECTORY(doc) +ENDIF(SALOME_BUILD_DOC)