1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
8 # additional include directories
9 INCLUDE_DIRECTORIES(${QT_INCLUDES})
11 # additional preprocessor / compiler flags
12 ADD_DEFINITIONS(${QT_DEFINITIONS})
16 ModuleBase_ActionInfo.h
17 ModuleBase_Definitions.h
18 ModuleBase_DoubleSpinBox.h
21 ModuleBase_FilterValidated.h
22 ModuleBase_IErrorMgr.h
24 ModuleBase_IntSpinBox.h
26 ModuleBase_IPropertyPanel.h
27 ModuleBase_ISelection.h
28 ModuleBase_IViewWindow.h
30 ModuleBase_IWidgetCreator.h
31 ModuleBase_IWorkshop.h
32 ModuleBase_LabelValue.h
33 ModuleBase_ModelWidget.h
34 ModuleBase_Operation.h
35 ModuleBase_OperationAction.h
36 ModuleBase_OperationDescription.h
37 ModuleBase_OperationFeature.h
39 ModuleBase_PageGroupBox.h
40 ModuleBase_PageWidget.h
41 ModuleBase_PagedContainer.h
42 ModuleBase_ParamIntSpinBox.h
43 ModuleBase_ParamSpinBox.h
44 ModuleBase_Preferences.h
45 ModuleBase_ResultPrs.h
46 ModuleBase_SelectionValidator.h
49 ModuleBase_ViewerFilters.h
50 ModuleBase_ViewerPrs.h
51 ModuleBase_WidgetAction.h
52 ModuleBase_WidgetBoolValue.h
53 ModuleBase_WidgetChoice.h
54 ModuleBase_WidgetConcealedObjects.h
55 ModuleBase_WidgetCreatorFactory.h
56 ModuleBase_WidgetDoubleValue.h
57 ModuleBase_WidgetEditor.h
58 ModuleBase_WidgetExprEditor.h
59 ModuleBase_WidgetFactory.h
60 ModuleBase_WidgetFeatureSelector.h
61 ModuleBase_WidgetFileSelector.h
62 ModuleBase_WidgetIntValue.h
63 ModuleBase_WidgetLabel.h
64 ModuleBase_WidgetLabelValue.h
65 ModuleBase_WidgetLineEdit.h
66 ModuleBase_WidgetMultiSelector.h
67 ModuleBase_WidgetOptionalBox.h
68 ModuleBase_WidgetSelector.h
69 ModuleBase_WidgetSelectorStore.h
70 ModuleBase_WidgetShapeSelector.h
71 ModuleBase_WidgetSwitch.h
72 ModuleBase_WidgetToolbox.h
73 ModuleBase_WidgetValidated.h
74 ModuleBase_WidgetValidator.h
75 ModuleBase_IconFactory.h
77 ModuleBase_ModelDialogWidget.h
80 SET(PROJECT_MOC_HEADERS
82 ModuleBase_DoubleSpinBox.h
83 ModuleBase_IErrorMgr.h
85 ModuleBase_IntSpinBox.h
86 ModuleBase_IPropertyPanel.h
88 ModuleBase_IWorkshop.h
89 ModuleBase_LabelValue.h
90 ModuleBase_ModelDialogWidget.h
91 ModuleBase_ModelWidget.h
92 ModuleBase_Operation.h
93 ModuleBase_OperationAction.h
94 ModuleBase_OperationFeature.h
95 ModuleBase_PagedContainer.h
96 ModuleBase_PageGroupBox.h
97 ModuleBase_PageWidget.h
98 ModuleBase_ParamIntSpinBox.h
99 ModuleBase_ParamSpinBox.h
100 ModuleBase_Preferences.h
102 ModuleBase_WidgetAction.h
103 ModuleBase_WidgetBoolValue.h
104 ModuleBase_WidgetChoice.h
105 ModuleBase_WidgetConcealedObjects.h
106 ModuleBase_WidgetDoubleValue.h
107 ModuleBase_WidgetEditor.h
108 ModuleBase_WidgetExprEditor.h
109 ModuleBase_WidgetFeatureSelector.h
110 ModuleBase_WidgetFileSelector.h
111 ModuleBase_WidgetIntValue.h
112 ModuleBase_WidgetLabel.h
113 ModuleBase_WidgetLabelValue.h
114 ModuleBase_WidgetLineEdit.h
115 ModuleBase_WidgetMultiSelector.h
116 ModuleBase_WidgetOptionalBox.h
117 ModuleBase_WidgetSelector.h
118 ModuleBase_WidgetShapeSelector.h
119 ModuleBase_WidgetSwitch.h
120 ModuleBase_WidgetToolbox.h
121 ModuleBase_WidgetValidated.h
125 ModuleBase_ActionInfo.cpp
126 ModuleBase_DoubleSpinBox.cpp
127 ModuleBase_Filter.cpp
128 ModuleBase_FilterValidated.cpp
129 ModuleBase_IErrorMgr.cpp
130 ModuleBase_IModule.cpp
131 ModuleBase_IntSpinBox.cpp
132 ModuleBase_IPrefMgr.cpp
133 ModuleBase_IPropertyPanel.cpp
134 ModuleBase_ISelection.cpp
135 ModuleBase_IViewWindow.cpp
136 ModuleBase_IViewer.cpp
137 ModuleBase_IWidgetCreator.cpp
138 ModuleBase_IWorkshop.cpp
139 ModuleBase_LabelValue.cpp
140 ModuleBase_ModelWidget.cpp
141 ModuleBase_Operation.cpp
142 ModuleBase_OperationAction.cpp
143 ModuleBase_OperationDescription.cpp
144 ModuleBase_OperationFeature.cpp
145 ModuleBase_PageBase.cpp
146 ModuleBase_PageGroupBox.cpp
147 ModuleBase_PageWidget.cpp
148 ModuleBase_PagedContainer.cpp
149 ModuleBase_ParamIntSpinBox.cpp
150 ModuleBase_ParamSpinBox.cpp
151 ModuleBase_Preferences.cpp
152 ModuleBase_ResultPrs.cpp
153 ModuleBase_ToolBox.cpp
155 ModuleBase_ViewerFilters.cpp
156 ModuleBase_ViewerPrs.cpp
157 ModuleBase_WidgetAction.cpp
158 ModuleBase_WidgetBoolValue.cpp
159 ModuleBase_WidgetChoice.cpp
160 ModuleBase_WidgetConcealedObjects.cpp
161 ModuleBase_WidgetCreatorFactory.cpp
162 ModuleBase_WidgetDoubleValue.cpp
163 ModuleBase_WidgetEditor.cpp
164 ModuleBase_WidgetExprEditor.cpp
165 ModuleBase_WidgetFactory.cpp
166 ModuleBase_WidgetFeatureSelector.cpp
167 ModuleBase_WidgetFileSelector.cpp
168 ModuleBase_WidgetIntValue.cpp
169 ModuleBase_WidgetLabel.cpp
170 ModuleBase_WidgetLabelValue.cpp
171 ModuleBase_WidgetLineEdit.cpp
172 ModuleBase_WidgetMultiSelector.cpp
173 ModuleBase_WidgetOptionalBox.cpp
174 ModuleBase_WidgetSelector.cpp
175 ModuleBase_WidgetSelectorStore.cpp
176 ModuleBase_WidgetShapeSelector.cpp
177 ModuleBase_WidgetSwitch.cpp
178 ModuleBase_WidgetToolbox.cpp
179 ModuleBase_WidgetValidated.cpp
180 ModuleBase_WidgetValidator.cpp
181 ModuleBase_IconFactory.cpp
182 ModuleBase_SelectionValidator.cpp
183 ModuleBase_Dialog.cpp
186 SET(PROJECT_LIBRARIES
203 # sources / moc wrappings
204 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
206 #QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
208 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
209 #SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES})
213 ${PROJECT_SOURCE_DIR}/src/Config
214 ${PROJECT_SOURCE_DIR}/src/Events
215 ${PROJECT_SOURCE_DIR}/src/ModelAPI
216 ${PROJECT_SOURCE_DIR}/src/ModelGeomAlgo
217 ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
218 ${PROJECT_SOURCE_DIR}/src/GeomAPI
219 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
224 INCLUDE_DIRECTORIES(${SALOME_KERNEL_INCLUDE})
225 ENDIF(${HAVE_SALOME})
227 ADD_DEFINITIONS(-DMODULEBASE_EXPORTS ${CAS_DEFINITIONS})
228 ADD_LIBRARY(ModuleBase SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${PROJECT_AUTOMOC})
229 TARGET_LINK_LIBRARIES(ModuleBase GeomAPI ${PROJECT_LIBRARIES})
231 INSTALL(TARGETS ModuleBase DESTINATION ${SHAPER_INSTALL_BIN})