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
68 ${KERNEL_SALOMELocalTrace}
77 SET(_link_gui_LIBRARIES
88 SET(STEPPluginEngine_HEADERS
89 STEPPlugin_IOperations_i.hh
91 STEPPlugin_OperationsCreator.hxx
92 STEPPlugin_IOperations.hxx
93 STEPPlugin_IExport.hxx
94 STEPPlugin_IImport.hxx
95 STEPPlugin_ImportDriver.hxx
96 STEPPlugin_ImportDlg.h
97 STEPPlugin_ExportDlg.h
98 STEPPlugin_ExportDriver.hxx
99 STEPPlugin_IECallBack.hxx
103 # header files / to be processed by moc
106 STEPPlugin_ExportDlg.h
107 STEPPlugin_ImportDlg.h
114 # sources / moc wrappings
115 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
117 SET(STEPPluginGUI_SOURCES
119 STEPPlugin_ExportDlg.cxx
120 STEPPlugin_ImportDlg.cxx
125 SET(STEPPluginEngine_SOURCES
126 STEPPlugin_Engine.cxx
127 STEPPlugin_OperationsCreator.cxx
128 STEPPlugin_IOperations_i.cc
129 STEPPlugin_IOperations.cxx
130 STEPPlugin_ExportDriver.cxx
131 STEPPlugin_ImportDriver.cxx
132 STEPPlugin_IECallBack.cxx
135 # resource files / to be processed by lrelease
136 SET(STEPPlugin_RESOURCES
144 ADD_LIBRARY(STEPPluginEngine ${STEPPluginEngine_SOURCES})
145 TARGET_LINK_LIBRARIES(STEPPluginEngine ${_link_engine_LIBRARIES})
146 INSTALL(TARGETS STEPPluginEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
149 ADD_LIBRARY(STEPPluginGUI ${STEPPluginGUI_SOURCES})
150 TARGET_LINK_LIBRARIES(STEPPluginGUI ${_link_gui_LIBRARIES})
151 INSTALL(TARGETS STEPPluginGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
153 QT_INSTALL_TS_RESOURCES("${STEPPlugin_RESOURCES}" "${SALOME_GEOM_INSTALL_RES_DATA}")
157 INSTALL(FILES ${STEPPluginEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})