X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=0fbd320fd9553b18550fc76e047e6c107c62f422;hb=110bda1b01a0359d69e30d272346cc98bef709f0;hp=f41d7c4b22540c6747f94686e8c53f81094985a0;hpb=45730a713833b123768d9e895d06ffd86bca71d0;p=modules%2Fparavis.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f41d7c4b..0fbd320f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,62 +1,38 @@ - - SET(VERSION_INFO 0.0.0) - SET(SOVERSION_INFO 0) - SET(SUBDIRS) - SET(AM_CPPFLAGS) - SET(AM_CXXFLAGS) - SET(LDADD) - - - SET(AM_CPPFLAGS ${AM_CPPFLAGS} -DHAVE_SALOME_CONFIG -I${KERNEL_ROOT_DIR}/include/salome -include SALOMEconfig.h) - SET(AM_CXXFLAGS ${AM_CXXFLAGS} -DHAVE_SALOME_CONFIG -I${KERNEL_ROOT_DIR}/include/salome -include SALOMEconfig.h) - -# Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -# -# 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. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# Copyright (C) 2010-2015 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, 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 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. # +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -# File : Makefile.in -# Author : (CEA) -# Modified by : Alexander BORODIN (OCN) - autotools usage -# include $(top_srcdir)/adm_local/unix/make_common_starter.am +SET(_subdirs + PV_SWIG + Macro +) -IF(BUILD_PLUGINS) - SET(SUBDIRS - ENGINE - PVGUI - PV_SWIG - Plugins - ) -ELSE(BUILD_PLUGINS) - SET(SUBDIRS - ENGINE - PVGUI - PV_SWIG +IF(NOT SALOME_LIGHT_ONLY) + LIST(APPEND _subdirs + PVGUI ) -ENDIF(BUILD_PLUGINS) +ENDIF(NOT SALOME_LIGHT_ONLY) +IF(SALOME_PARAVIS_BUILD_PLUGINS) + LIST(APPEND _subdirs Plugins) +ENDIF() +FOREACH(dir ${_subdirs}) + ADD_SUBDIRECTORY(${dir}) +ENDFOREACH() - FOREACH(dir ${SUBDIRS}) - IF(NOT dir STREQUAL .) - ADD_SUBDIRECTORY(${dir}) - ENDIF(NOT dir STREQUAL .) - ENDFOREACH(dir ${SUBDIRS}) -