-
- 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-2016 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
+ Insitu
+ 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})
-