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
23 ${CMAKE_CURRENT_SOURCE_DIR}/CoreFlows_Standalone.py
27 ${CMAKE_CURRENT_SOURCE_DIR}/CFDesktop.py
31 IF ( (EXISTS $ENV{CONFIGURATION_ROOT_DIR}) AND (EXISTS $ENV{KERNEL_ROOT_DIR}) AND (EXISTS $ENV{GUI_ROOT_DIR}) )
32 ADD_SUBDIRECTORY(salome)
33 ELSE ( (EXISTS $ENV{CONFIGURATION_ROOT_DIR}) AND (EXISTS $ENV{KERNEL_ROOT_DIR}) AND (EXISTS $ENV{GUI_ROOT_DIR}) )
34 INSTALL(FILES ${GUI_bin_SCRIPTS} DESTINATION bin/salome)
35 INSTALL(FILES ${GUI_lib_SCRIPTS} DESTINATION lib/python)
37 # Configure file SalomePyQt_MockUp.py
38 SET(SGPYQT_RES_DIR "share/salome/resources")
40 SalomePyQt_MockUp.py.in
44 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/SalomePyQt_MockUp.py DESTINATION lib/python)
45 # Configure file slutils.py
46 SET(SALOME_INSTALL_PYTHON "lib/python")#This is to use the same variable as salome
52 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/slutils.py DESTINATION lib/python)
53 ENDIF( (EXISTS $ENV{CONFIGURATION_ROOT_DIR}) AND (EXISTS $ENV{KERNEL_ROOT_DIR}) AND (EXISTS $ENV{GUI_ROOT_DIR}) )