1 # Copyright (C) 2013-2016 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
24 # additional include directories
29 ${PYTHON_INCLUDE_DIRS}
31 ${PROJECT_SOURCE_DIR}/src/ATOMICGUI
34 # additional preprocessor / compiler flags
39 # libraries to link to
48 # header files / no moc processing
60 # sip files / to be processed by sip
61 SET(_sip_files AtomicPy.sip)
63 # sources / sip wrappings
64 PYQT_WRAP_SIP(_sip_SOURCES ${_sip_files})
66 # sources / to compile
67 SET(AtomicPy_SOURCES ${_other_SOURCES} ${_sip_SOURCES})
71 ADD_LIBRARY(AtomicPy ${AtomicPy_SOURCES})
72 TARGET_LINK_LIBRARIES(AtomicPy ${_link_LIBRARIES})
73 INSTALL(TARGETS AtomicPy EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
75 INSTALL(FILES ${AtomicPy_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})