1 # Copyright (C) 2012-2024 CEA, EDF
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
27 ${OMNIORB_INCLUDE_DIR}
28 ${OMNIORBPY_INCLUDE_DIR}
29 ${LIBXML2_INCLUDE_DIR}
30 ${GRAPHVIZ_INCLUDE_DIRS}
32 ${KERNEL_INCLUDE_DIRS}
34 ${PROJECT_BINARY_DIR}/src/genericgui
35 ${PROJECT_SOURCE_DIR}/src
36 ${PROJECT_SOURCE_DIR}/src/bases
37 ${PROJECT_SOURCE_DIR}/src/engine
38 ${PROJECT_SOURCE_DIR}/src/runtime
39 ${PROJECT_SOURCE_DIR}/src/yacsloader
40 ${PROJECT_SOURCE_DIR}/src/hmi
41 ${PROJECT_SOURCE_DIR}/src/salomewrap
42 ${PROJECT_SOURCE_DIR}/src/genericgui
43 ${PROJECT_BINARY_DIR}/idl
44 ${PROJECT_BINARY_DIR}/src/yacsorb
47 # additional preprocessor / compiler flags
51 ${GRAPHVIZ_DEFINITIONS}
52 ${OMNIORB_DEFINITIONS}
55 ${GRAPHVIZ_DEFINITIONS}
58 # libraries to link to
65 SalomeResourcesManager
72 # resource files / to be processed by uic
76 FormAdvParamContainer.ui
94 SET(GenericGui_HEADERS
97 # header files / to be processed by moc
103 EditionControlLink.hxx
106 EditionElementaryNode.hxx
107 EditionForEachLoop.hxx
108 EditionOptimizerLoop.hxx
113 EditionOutputPort.hxx
114 EditionPresetNode.hxx
117 EditionSalomeNode.hxx
119 EditionStudyInNode.hxx
120 EditionStudyOutNode.hxx
124 FormContainerBase.hxx
127 FormAdvParamContainer.hxx
128 FormContainerDecorator.hxx
133 FormOptimizerLoop.hxx
143 SchemaComponentItem.hxx
144 SchemaComposedNodeItem.hxx
145 SchemaContainerItem.hxx
146 SchemaDataTypeItem.hxx
147 SchemaDirContainersItem.hxx
148 SchemaDirLinksItem.hxx
149 SchemaDirTypesItem.hxx
155 SchemaOutPortItem.hxx
157 SchemaReferenceItem.hxx
158 TablePortsEdition.hxx
165 # header files / uic wrappings
166 QT_WRAP_UIC(_uic_HEADERS ${_uic_files})
170 # sources / moc wrappings
171 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
173 SET(GenericGui_SOURCES
185 EditionControlLink.hxx
186 EditionControlLink.cxx
191 EditionElementaryNode.hxx
192 EditionElementaryNode.cxx
193 EditionForEachLoop.hxx
194 EditionForEachLoop.cxx
195 EditionOptimizerLoop.hxx
196 EditionOptimizerLoop.cxx
205 EditionOutputPort.hxx
206 EditionOutputPort.cxx
207 EditionPresetNode.hxx
208 EditionPresetNode.cxx
213 EditionSalomeNode.hxx
214 EditionSalomeNode.cxx
217 EditionStudyInNode.hxx
218 EditionStudyInNode.cxx
219 EditionStudyOutNode.hxx
220 EditionStudyOutNode.cxx
231 FormContainerBase.hxx
232 FormContainerBase.cxx
233 FormAdvParamContainer.hxx
234 FormAdvParamContainer.cxx
235 FormContainerDecorator.hxx
236 FormContainerDecorator.cxx
245 FormOptimizerLoop.hxx
246 FormOptimizerLoop.cxx
283 SceneComposedNodeItem.hxx
284 SceneComposedNodeItem.cxx
285 SceneCtrlInPortItem.hxx
286 SceneCtrlInPortItem.cxx
287 SceneCtrlLinkItem.hxx
288 SceneCtrlLinkItem.cxx
289 SceneCtrlOutPortItem.hxx
290 SceneCtrlOutPortItem.cxx
291 SceneCtrlPortItem.hxx
292 SceneCtrlPortItem.cxx
297 SceneDataPortItem.hxx
298 SceneDataPortItem.cxx
301 SceneElementaryNodeItem.hxx
302 SceneElementaryNodeItem.cxx
305 SceneHeaderNodeItem.hxx
306 SceneHeaderNodeItem.cxx
315 SceneObserverItem.hxx
316 SceneObserverItem.cxx
323 SceneProgressItem.hxx
324 SceneProgressItem.cxx
327 SchemaComponentItem.hxx
328 SchemaComponentItem.cxx
329 SchemaComposedNodeItem.hxx
330 SchemaComposedNodeItem.cxx
331 SchemaContainerItem.hxx
332 SchemaContainerItem.cxx
333 SchemaDataTypeItem.hxx
334 SchemaDataTypeItem.cxx
335 SchemaDirContainersItem.hxx
336 SchemaDirContainersItem.cxx
337 SchemaDirLinksItem.hxx
338 SchemaDirLinksItem.cxx
339 SchemaDirTypesItem.hxx
340 SchemaDirTypesItem.cxx
351 SchemaOutPortItem.hxx
352 SchemaOutPortItem.cxx
355 SchemaReferenceItem.hxx
356 SchemaReferenceItem.cxx
357 TablePortsEdition.hxx
358 TablePortsEdition.cxx
365 VisitorSaveGuiSchema.hxx
366 VisitorSaveGuiSchema.cxx
377 # resource files / to be processed by lrelease
379 resources/add_in_study.png
380 resources/add_node.png
381 resources/addRowCols.png
382 resources/arrange_nodes.png
383 resources/autoComputeLink.png
384 resources/block_node.png
385 resources/breakpoints_active.png
386 resources/breakpoints.png
387 resources/centerOnNode.png
388 resources/shrinkExpand.png
389 resources/change_informations.png
390 resources/component.png
391 resources/connect_to_batch_session.png
392 resources/container.png
393 resources/control_link.png
394 resources/control_view.png
397 resources/dataflow_view.png
398 resources/data_link.png
399 resources/datastream_view.png
401 resources/emphasisLink.png
402 resources/execute_in_batch.png
403 resources/export_dataflow.png
404 resources/filter_next_steps.png
405 resources/filter_notification.png
406 resources/folder_cyan.png
407 resources/folder_cyan_open.png
408 resources/force2nodeLink.png
409 resources/full_view.png
410 resources/hideLink.png
411 resources/icon_down.png
412 resources/icon_insert.png
413 resources/icon_minus.png
414 resources/icon_plus.png
415 resources/icon_select.png
416 resources/icon_text.png
417 resources/icon_up.png
418 resources/import_dataflow.png
419 resources/import_superv_dataflow.png
420 resources/in_port.png
421 resources/insert_file.png
423 resources/load_execution_state.png
424 resources/loop_node.png
425 resources/mode_continue.png
426 resources/modify_dataflow.png
427 resources/modify_superv_dataflow.png
428 resources/ModuleYacs.png
429 resources/new_batch_execution.png
430 resources/new_block_node.png
431 resources/new_corba_component.png
432 resources/new_corba_service_node.png
433 resources/new_cpp_node.png
434 resources/new_dataflow.png
435 resources/new_edition.png
436 resources/new_execution.png
437 resources/new_foreach_loop_node.png
438 resources/new_for_loop_node.png
439 resources/new_from_library_node.png
440 resources/new_inline_function_node.png
441 resources/new_inline_script_node.png
442 resources/new_link.png
443 resources/new_nodenode_service_node.png
444 resources/new_salome_component.png
445 resources/new_salomepy_component.png
446 resources/new_salome_service_node.png
447 resources/new_service_inline_node.png
448 resources/new_switch_loop_node.png
449 resources/new_while_loop_node.png
450 resources/new_xml_node.png
452 resources/ob_service_node.png
453 resources/out_port.png
456 resources/rebuild_links.png
459 resources/remote_run.png
462 resources/run_active.png
463 resources/run_object.png
467 resources/save_dataflow.png
468 resources/save_dataflow_state.png
470 resources/showLink.png
471 resources/simplifyLink.png
472 resources/step_by_step_active.png
473 resources/step_by_step.png
474 resources/straightLink.png
475 resources/stream_link.png
476 resources/suspend_resume.png
477 resources/switch_node.png
478 resources/table_view.png
479 resources/toggle_stop_on_error.png
480 resources/toggleVisibility.png
482 resources/whatsThis.png
483 resources/zoomToBloc.png
487 ADD_LIBRARY(GenericGui ${GenericGui_SOURCES})
488 TARGET_LINK_LIBRARIES(GenericGui ${_link_LIBRARIES})
489 INSTALL(TARGETS GenericGui EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
491 INSTALL(FILES ${_res_files} DESTINATION ${SALOME_YACS_INSTALL_RES_DATA})