1 # Copyright (C) 2012-2016 CEA/DEN, EDF R&D
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
22 # additional include directories
25 ${PROJECT_SOURCE_DIR}/src/bases
26 ${PROJECT_SOURCE_DIR}/src/engine
27 ${PROJECT_SOURCE_DIR}/src/runtime
28 ${PROJECT_SOURCE_DIR}/src/py2yacs
29 ${PROJECT_BINARY_DIR}/src/py2yacs
31 ${OMNIORB_INCLUDE_DIR}
32 ${OMNIORB_ROOT_DIR}/include/omniORB4/internal
33 ${OMNIORBPY_INCLUDE_DIR}
36 # additional preprocessor / compiler flags
40 ${OMNIORB_DEFINITIONS}
41 ${PYTHON_DEFINITIONS})
45 ${GUI_LightApp} # for PyEditor
54 # sources / moc wrappings
55 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
57 SET(py2yacsgui_HEADERS
63 SET(py2yacsgui_SOURCES
69 ADD_LIBRARY(py2yacsguilib ${py2yacsgui_SOURCES})
70 TARGET_LINK_LIBRARIES(py2yacsguilib ${_link_LIBRARIES})
71 ADD_EXECUTABLE(py2yacsgui py2yacsgui.cxx)
72 TARGET_LINK_LIBRARIES(py2yacsgui py2yacsguilib)
74 INSTALL(TARGETS py2yacsguilib EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
75 INSTALL(TARGETS py2yacsgui DESTINATION ${SALOME_INSTALL_BINS})
76 INSTALL(FILES ${py2yacsgui_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})