1 # Copyright (C) 2014-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
26 # additional include directories
29 ${KERNEL_INCLUDE_DIRS}
30 ${PROJECT_BINARY_DIR}/idl
31 ${PROJECT_SOURCE_DIR}/src/GEOMAlgo
32 ${PROJECT_SOURCE_DIR}/src/GEOM
33 ${PROJECT_SOURCE_DIR}/src/GEOMImpl
34 ${PROJECT_SOURCE_DIR}/src/GEOM_I
35 ${PROJECT_SOURCE_DIR}/src/GEOMClient
36 ${PROJECT_SOURCE_DIR}/src/GEOMUtils
42 ${PROJECT_SOURCE_DIR}/src/OBJECT
43 ${PROJECT_SOURCE_DIR}/src/GEOMGUI
44 ${PROJECT_SOURCE_DIR}/src/GEOMBase
48 # additional preprocessor / compiler flags
51 ${OMNIORB_DEFINITIONS}
55 ADD_DEFINITIONS(-DNOGDI)
64 # libraries to link to
65 SET(_link_engine_LIBRARIES
67 ${KERNEL_SALOMELocalTrace}
76 SET(_link_gui_LIBRARIES
87 SET(BREPPluginEngine_HEADERS
88 BREPPlugin_IOperations_i.hh
90 BREPPlugin_OperationsCreator.hxx
91 BREPPlugin_IOperations.hxx
92 BREPPlugin_IExport.hxx
93 BREPPlugin_IImport.hxx
94 BREPPlugin_ImportDriver.hxx
95 BREPPlugin_ExportDriver.hxx
96 BREPPlugin_IECallBack.hxx
100 # header files / to be processed by moc
109 # sources / moc wrappings
110 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
112 SET(BREPPluginGUI_SOURCES
118 SET(BREPPluginEngine_SOURCES
119 BREPPlugin_Engine.cxx
120 BREPPlugin_OperationsCreator.cxx
121 BREPPlugin_IOperations_i.cc
122 BREPPlugin_IOperations.cxx
123 BREPPlugin_ExportDriver.cxx
124 BREPPlugin_ImportDriver.cxx
125 BREPPlugin_IECallBack.cxx
128 # resource files / to be processed by lrelease
129 SET(BREPPlugin_RESOURCES
137 ADD_LIBRARY(BREPPluginEngine ${BREPPluginEngine_SOURCES})
138 TARGET_LINK_LIBRARIES(BREPPluginEngine ${_link_engine_LIBRARIES})
139 INSTALL(TARGETS BREPPluginEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
142 ADD_LIBRARY(BREPPluginGUI ${BREPPluginGUI_SOURCES})
143 TARGET_LINK_LIBRARIES(BREPPluginGUI ${_link_gui_LIBRARIES})
144 INSTALL(TARGETS BREPPluginGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
146 QT_INSTALL_TS_RESOURCES("${BREPPlugin_RESOURCES}" "${SALOME_GEOM_INSTALL_RES_DATA}")
150 INSTALL(FILES ${BREPPluginEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})