1 # Copyright (C) 2012-2021 CEA/DEN, EDF R&D, OPEN CASCADE
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 ADD_SUBDIRECTORY(dlgfactory)
23 # Python-based packages, part 1 (generic)
26 IF(SALOME_USE_PYCONSOLE)
27 # Include sub-project PyConsole
28 SET(PYCONSOLE_SUBPROJECT YES CACHE INTERNAL "")
29 SET(PYINTERP_EXPORT_NAME "${PROJECT_NAME}" CACHE STRING "")
30 SET(PYCONSOLE_EXPORT_NAME "${PROJECT_NAME}" CACHE STRING "")
31 SET(PYCONSOLE_INSTALL_LIBS "${SALOME_INSTALL_LIBS}" CACHE PATH "")
32 SET(PYCONSOLE_INSTALL_PYTHON "${SALOME_INSTALL_PYTHON}" CACHE PATH "")
33 SET(PYCONSOLE_INSTALL_HEADERS "${SALOME_INSTALL_HEADERS}" CACHE PATH "")
34 SET(PYCONSOLE_INSTALL_RES "${SALOME_GUI_INSTALL_RES_DATA}" CACHE PATH "")
35 SET(PYCONSOLE_INSTALL_CMAKE "${SALOME_INSTALL_CMAKE_LOCAL}" CACHE PATH "")
36 ADD_SUBDIRECTORY(PyConsole) # brings in PyInterp automatically
37 ADD_SUBDIRECTORY(CurvePlot) # to be refactored (CurvePlot does not directly depend on PyConsole)
38 ENDIF(SALOME_USE_PYCONSOLE)
40 IF(SALOME_USE_PYVIEWER)
41 # Include sub-project PyEditor
42 SET(PYEDITOR_SUBPROJECT YES CACHE INTERNAL "")
43 SET(PYEDITOR_EXPORT_NAME "${PROJECT_NAME}" CACHE STRING "")
44 SET(PYEDITOR_INSTALL_BINS "${SALOME_INSTALL_BINS}" CACHE PATH "")
45 SET(PYEDITOR_INSTALL_LIBS "${SALOME_INSTALL_LIBS}" CACHE PATH "")
46 SET(PYEDITOR_INSTALL_PYTHON "${SALOME_INSTALL_PYTHON}" CACHE PATH "")
47 SET(PYEDITOR_INSTALL_HEADERS "${SALOME_INSTALL_HEADERS}" CACHE PATH "")
48 SET(PYEDITOR_INSTALL_RES "${SALOME_GUI_INSTALL_RES_DATA}" CACHE PATH "")
49 SET(PYEDITOR_INSTALL_CMAKE "${SALOME_INSTALL_CMAKE_LOCAL}" CACHE PATH "")
50 ADD_SUBDIRECTORY(PyEditor)
51 ENDIF(SALOME_USE_PYVIEWER)
53 SET(REMOTEFILEBROWSER_INSTALL_BINS "${SALOME_INSTALL_BINS}" CACHE PATH "")
54 SET(REMOTEFILEBROWSER_INSTALL_LIBS "${SALOME_INSTALL_LIBS}" CACHE PATH "")
55 SET(REMOTEFILEBROWSER_INSTALL_HEADERS "${SALOME_INSTALL_HEADERS}" CACHE PATH "")
56 ADD_SUBDIRECTORY(RemoteFileBrowser)