1 ## Copyright (C) 2014-2017 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
18 ## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
26 # additional include directories
27 INCLUDE_DIRECTORIES(${QT_INCLUDES})
29 # additional preprocessor / compiler flags
30 ADD_DEFINITIONS(${QT_DEFINITIONS})
34 ModuleBase_ActionInfo.h
35 ModuleBase_ActionType.h
36 ModuleBase_BRepOwner.h
37 ModuleBase_Definitions.h
38 ModuleBase_DoubleSpinBox.h
41 ModuleBase_FilterValidated.h
42 ModuleBase_IErrorMgr.h
44 ModuleBase_IntSpinBox.h
46 ModuleBase_IPropertyPanel.h
47 ModuleBase_ISelection.h
48 ModuleBase_ISelectionActivate.h
49 ModuleBase_IViewWindow.h
51 ModuleBase_IWidgetCreator.h
52 ModuleBase_IWorkshop.h
53 ModuleBase_LabelValue.h
55 ModuleBase_ModelWidget.h
56 ModuleBase_Operation.h
57 ModuleBase_OperationAction.h
58 ModuleBase_OperationDescription.h
59 ModuleBase_OperationFeature.h
61 ModuleBase_PageGroupBox.h
62 ModuleBase_PageWidget.h
63 ModuleBase_PagedContainer.h
64 ModuleBase_ParamIntSpinBox.h
65 ModuleBase_ParamSpinBox.h
66 ModuleBase_Preferences.h
67 ModuleBase_ResultPrs.h
68 ModuleBase_SelectionValidator.h
71 ModuleBase_ViewerFilters.h
72 ModuleBase_ViewerPrs.h
73 ModuleBase_WidgetAction.h
74 ModuleBase_WidgetBoolValue.h
75 ModuleBase_WidgetChoice.h
76 ModuleBase_WidgetConcealedObjects.h
77 ModuleBase_WidgetCreatorFactory.h
78 ModuleBase_WidgetDoubleValue.h
79 ModuleBase_WidgetEditor.h
80 ModuleBase_WidgetExprEditor.h
81 ModuleBase_WidgetFactory.h
82 ModuleBase_WidgetFeatureSelector.h
83 ModuleBase_WidgetFileSelector.h
84 ModuleBase_WidgetIntValue.h
85 ModuleBase_WidgetLabel.h
86 ModuleBase_WidgetLabelValue.h
87 ModuleBase_WidgetLineEdit.h
88 ModuleBase_WidgetMultiSelector.h
89 ModuleBase_WidgetOptionalBox.h
90 ModuleBase_WidgetSelector.h
91 ModuleBase_WidgetSelectorStore.h
92 ModuleBase_WidgetShapeSelector.h
93 ModuleBase_WidgetSwitch.h
94 ModuleBase_WidgetToolbox.h
95 ModuleBase_WidgetValidated.h
96 ModuleBase_WidgetValidator.h
97 ModuleBase_IconFactory.h
99 ModuleBase_ModelDialogWidget.h
100 ModuleBase_ActionParameter.h
101 ModuleBase_ActionIntParameter.h
104 SET(PROJECT_MOC_HEADERS
106 ModuleBase_DoubleSpinBox.h
107 ModuleBase_IErrorMgr.h
109 ModuleBase_IntSpinBox.h
110 ModuleBase_IPropertyPanel.h
112 ModuleBase_IWorkshop.h
113 ModuleBase_LabelValue.h
114 ModuleBase_ListView.h
115 ModuleBase_ModelDialogWidget.h
116 ModuleBase_ModelWidget.h
117 ModuleBase_Operation.h
118 ModuleBase_OperationAction.h
119 ModuleBase_OperationFeature.h
120 ModuleBase_PagedContainer.h
121 ModuleBase_PageGroupBox.h
122 ModuleBase_PageWidget.h
123 ModuleBase_ParamIntSpinBox.h
124 ModuleBase_ParamSpinBox.h
125 ModuleBase_Preferences.h
127 ModuleBase_WidgetAction.h
128 ModuleBase_WidgetBoolValue.h
129 ModuleBase_WidgetChoice.h
130 ModuleBase_WidgetConcealedObjects.h
131 ModuleBase_WidgetDoubleValue.h
132 ModuleBase_WidgetEditor.h
133 ModuleBase_WidgetExprEditor.h
134 ModuleBase_WidgetFeatureSelector.h
135 ModuleBase_WidgetFileSelector.h
136 ModuleBase_WidgetIntValue.h
137 ModuleBase_WidgetLabel.h
138 ModuleBase_WidgetLabelValue.h
139 ModuleBase_WidgetLineEdit.h
140 ModuleBase_WidgetMultiSelector.h
141 ModuleBase_WidgetOptionalBox.h
142 ModuleBase_WidgetSelector.h
143 ModuleBase_WidgetShapeSelector.h
144 ModuleBase_WidgetSwitch.h
145 ModuleBase_WidgetToolbox.h
146 ModuleBase_WidgetValidated.h
150 ModuleBase_ActionInfo.cpp
151 ModuleBase_BRepOwner.cpp
152 ModuleBase_DoubleSpinBox.cpp
153 ModuleBase_Filter.cpp
154 ModuleBase_FilterValidated.cpp
155 ModuleBase_IErrorMgr.cpp
156 ModuleBase_IModule.cpp
157 ModuleBase_IntSpinBox.cpp
158 ModuleBase_IPrefMgr.cpp
159 ModuleBase_IPropertyPanel.cpp
160 ModuleBase_ISelection.cpp
161 ModuleBase_IViewWindow.cpp
162 ModuleBase_IViewer.cpp
163 ModuleBase_IWidgetCreator.cpp
164 ModuleBase_IWorkshop.cpp
165 ModuleBase_LabelValue.cpp
166 ModuleBase_ListView.cpp
167 ModuleBase_ModelWidget.cpp
168 ModuleBase_Operation.cpp
169 ModuleBase_OperationAction.cpp
170 ModuleBase_OperationDescription.cpp
171 ModuleBase_OperationFeature.cpp
172 ModuleBase_PageBase.cpp
173 ModuleBase_PageGroupBox.cpp
174 ModuleBase_PageWidget.cpp
175 ModuleBase_PagedContainer.cpp
176 ModuleBase_ParamIntSpinBox.cpp
177 ModuleBase_ParamSpinBox.cpp
178 ModuleBase_Preferences.cpp
179 ModuleBase_ResultPrs.cpp
180 ModuleBase_ToolBox.cpp
182 ModuleBase_ViewerFilters.cpp
183 ModuleBase_ViewerPrs.cpp
184 ModuleBase_WidgetAction.cpp
185 ModuleBase_WidgetBoolValue.cpp
186 ModuleBase_WidgetChoice.cpp
187 ModuleBase_WidgetConcealedObjects.cpp
188 ModuleBase_WidgetCreatorFactory.cpp
189 ModuleBase_WidgetDoubleValue.cpp
190 ModuleBase_WidgetEditor.cpp
191 ModuleBase_WidgetExprEditor.cpp
192 ModuleBase_WidgetFactory.cpp
193 ModuleBase_WidgetFeatureSelector.cpp
194 ModuleBase_WidgetFileSelector.cpp
195 ModuleBase_WidgetIntValue.cpp
196 ModuleBase_WidgetLabel.cpp
197 ModuleBase_WidgetLabelValue.cpp
198 ModuleBase_WidgetLineEdit.cpp
199 ModuleBase_WidgetMultiSelector.cpp
200 ModuleBase_WidgetOptionalBox.cpp
201 ModuleBase_WidgetSelector.cpp
202 ModuleBase_WidgetSelectorStore.cpp
203 ModuleBase_WidgetShapeSelector.cpp
204 ModuleBase_WidgetSwitch.cpp
205 ModuleBase_WidgetToolbox.cpp
206 ModuleBase_WidgetValidated.cpp
207 ModuleBase_WidgetValidator.cpp
208 ModuleBase_IconFactory.cpp
209 ModuleBase_SelectionValidator.cpp
210 ModuleBase_Dialog.cpp
213 SET(PROJECT_LIBRARIES
230 # sources / moc wrappings
231 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
233 #QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
235 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
236 #SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES})
240 ${PROJECT_SOURCE_DIR}/src/Config
241 ${PROJECT_SOURCE_DIR}/src/Events
242 ${PROJECT_SOURCE_DIR}/src/ModelAPI
243 ${PROJECT_SOURCE_DIR}/src/ModelGeomAlgo
244 ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
245 ${PROJECT_SOURCE_DIR}/src/GeomAPI
246 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
251 INCLUDE_DIRECTORIES(${SALOME_KERNEL_INCLUDE})
252 ENDIF(${HAVE_SALOME})
254 ADD_DEFINITIONS(-DMODULEBASE_EXPORTS ${CAS_DEFINITIONS})
255 ADD_LIBRARY(ModuleBase SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${PROJECT_AUTOMOC})
256 TARGET_LINK_LIBRARIES(ModuleBase GeomAPI ${PROJECT_LIBRARIES})
258 INSTALL(TARGETS ModuleBase DESTINATION ${SHAPER_INSTALL_BIN})