1 # Copyright (C) 2012-2014 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 email : webmaster.salome@opencascade.com
22 # additional include directories
26 ${OMNIORB_INCLUDE_DIR}
27 ${LIBXML2_INCLUDE_DIR}
28 ${GRAPHVIZ_INCLUDE_DIRS}
30 ${QSCINTILLA_INCLUDE_DIRS}
31 ${KERNEL_INCLUDE_DIRS}
33 ${PROJECT_BINARY_DIR}/src/genericgui
34 ${PROJECT_SOURCE_DIR}/src
35 ${PROJECT_SOURCE_DIR}/src/bases
36 ${PROJECT_SOURCE_DIR}/src/engine
37 ${PROJECT_SOURCE_DIR}/src/runtime
38 ${PROJECT_SOURCE_DIR}/src/yacsloader
39 ${PROJECT_SOURCE_DIR}/src/hmi
40 ${PROJECT_SOURCE_DIR}/src/salomewrap
41 ${PROJECT_SOURCE_DIR}/src/genericgui
42 ${PROJECT_BINARY_DIR}/idl
43 ${PROJECT_BINARY_DIR}/src/yacsorb
46 # additional preprocessor / compiler flags
50 ${GRAPHVIZ_DEFINITIONS}
51 ${OMNIORB_DEFINITIONS}
54 ${GRAPHVIZ_DEFINITIONS}
57 # libraries to link to
60 ${QSCINTILLA_LIBRARIES}
65 SalomeResourcesManager
73 # resource files / to be processed by uic
77 FormAdvParamContainer.ui
95 SET(GenericGui_HEADERS
98 # header files / to be processed by moc
104 EditionControlLink.hxx
107 EditionElementaryNode.hxx
108 EditionForEachLoop.hxx
109 EditionOptimizerLoop.hxx
114 EditionOutputPort.hxx
115 EditionPresetNode.hxx
118 EditionSalomeNode.hxx
120 EditionStudyInNode.hxx
121 EditionStudyOutNode.hxx
125 FormContainerBase.hxx
128 FormAdvParamContainer.hxx
129 FormContainerDecorator.hxx
134 FormOptimizerLoop.hxx
144 SchemaComponentItem.hxx
145 SchemaComposedNodeItem.hxx
146 SchemaContainerItem.hxx
147 SchemaDataTypeItem.hxx
148 SchemaDirContainersItem.hxx
149 SchemaDirLinksItem.hxx
150 SchemaDirTypesItem.hxx
156 SchemaOutPortItem.hxx
158 SchemaReferenceItem.hxx
159 TablePortsEdition.hxx
166 # header files / uic wrappings
167 QT4_WRAP_UI(_uic_HEADERS ${_uic_files})
171 # sources / moc wrappings
172 QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
174 SET(GenericGui_SOURCES
186 EditionControlLink.hxx
187 EditionControlLink.cxx
192 EditionElementaryNode.hxx
193 EditionElementaryNode.cxx
194 EditionForEachLoop.hxx
195 EditionForEachLoop.cxx
196 EditionOptimizerLoop.hxx
197 EditionOptimizerLoop.cxx
206 EditionOutputPort.hxx
207 EditionOutputPort.cxx
208 EditionPresetNode.hxx
209 EditionPresetNode.cxx
214 EditionSalomeNode.hxx
215 EditionSalomeNode.cxx
218 EditionStudyInNode.hxx
219 EditionStudyInNode.cxx
220 EditionStudyOutNode.hxx
221 EditionStudyOutNode.cxx
232 FormContainerBase.hxx
233 FormContainerBase.cxx
234 FormAdvParamContainer.hxx
235 FormAdvParamContainer.cxx
236 FormContainerDecorator.hxx
237 FormContainerDecorator.cxx
246 FormOptimizerLoop.hxx
247 FormOptimizerLoop.cxx
284 SceneComposedNodeItem.hxx
285 SceneComposedNodeItem.cxx
286 SceneCtrlInPortItem.hxx
287 SceneCtrlInPortItem.cxx
288 SceneCtrlLinkItem.hxx
289 SceneCtrlLinkItem.cxx
290 SceneCtrlOutPortItem.hxx
291 SceneCtrlOutPortItem.cxx
292 SceneCtrlPortItem.hxx
293 SceneCtrlPortItem.cxx
298 SceneDataPortItem.hxx
299 SceneDataPortItem.cxx
302 SceneElementaryNodeItem.hxx
303 SceneElementaryNodeItem.cxx
306 SceneHeaderNodeItem.hxx
307 SceneHeaderNodeItem.cxx
316 SceneObserverItem.hxx
317 SceneObserverItem.cxx
324 SceneProgressItem.hxx
325 SceneProgressItem.cxx
328 SchemaComponentItem.hxx
329 SchemaComponentItem.cxx
330 SchemaComposedNodeItem.hxx
331 SchemaComposedNodeItem.cxx
332 SchemaContainerItem.hxx
333 SchemaContainerItem.cxx
334 SchemaDataTypeItem.hxx
335 SchemaDataTypeItem.cxx
336 SchemaDirContainersItem.hxx
337 SchemaDirContainersItem.cxx
338 SchemaDirLinksItem.hxx
339 SchemaDirLinksItem.cxx
340 SchemaDirTypesItem.hxx
341 SchemaDirTypesItem.cxx
352 SchemaOutPortItem.hxx
353 SchemaOutPortItem.cxx
356 SchemaReferenceItem.hxx
357 SchemaReferenceItem.cxx
358 TablePortsEdition.hxx
359 TablePortsEdition.cxx
366 VisitorSaveGuiSchema.hxx
367 VisitorSaveGuiSchema.cxx
378 # resource files / to be processed by lrelease
380 resources/add_in_study.png
381 resources/add_node.png
382 resources/addRowCols.png
383 resources/arrange_nodes.png
384 resources/autoComputeLink.png
385 resources/block_node.png
386 resources/breakpoints_active.png
387 resources/breakpoints.png
388 resources/centerOnNode.png
389 resources/shrinkExpand.png
390 resources/change_informations.png
391 resources/component.png
392 resources/connect_to_batch_session.png
393 resources/container.png
394 resources/control_link.png
395 resources/control_view.png
398 resources/dataflow_view.png
399 resources/data_link.png
400 resources/datastream_view.png
402 resources/emphasisLink.png
403 resources/execute_in_batch.png
404 resources/export_dataflow.png
405 resources/filter_next_steps.png
406 resources/filter_notification.png
407 resources/folder_cyan.png
408 resources/folder_cyan_open.png
409 resources/force2nodeLink.png
410 resources/full_view.png
411 resources/hideLink.png
412 resources/icon_down.png
413 resources/icon_insert.png
414 resources/icon_minus.png
415 resources/icon_plus.png
416 resources/icon_select.png
417 resources/icon_text.png
418 resources/icon_up.png
419 resources/import_dataflow.png
420 resources/import_superv_dataflow.png
421 resources/in_port.png
422 resources/insert_file.png
424 resources/load_execution_state.png
425 resources/loop_node.png
426 resources/mode_continue.png
427 resources/modify_dataflow.png
428 resources/modify_superv_dataflow.png
429 resources/ModuleYacs.png
430 resources/new_batch_execution.png
431 resources/new_block_node.png
432 resources/new_corba_component.png
433 resources/new_corba_service_node.png
434 resources/new_cpp_node.png
435 resources/new_dataflow.png
436 resources/new_edition.png
437 resources/new_execution.png
438 resources/new_foreach_loop_node.png
439 resources/new_for_loop_node.png
440 resources/new_from_library_node.png
441 resources/new_inline_function_node.png
442 resources/new_inline_script_node.png
443 resources/new_link.png
444 resources/new_nodenode_service_node.png
445 resources/new_salome_component.png
446 resources/new_salomepy_component.png
447 resources/new_salome_service_node.png
448 resources/new_service_inline_node.png
449 resources/new_switch_loop_node.png
450 resources/new_while_loop_node.png
451 resources/new_xml_node.png
453 resources/ob_service_node.png
454 resources/out_port.png
457 resources/rebuild_links.png
460 resources/remote_run.png
463 resources/run_active.png
464 resources/run_object.png
468 resources/save_dataflow.png
469 resources/save_dataflow_state.png
471 resources/showLink.png
472 resources/simplifyLink.png
473 resources/step_by_step_active.png
474 resources/step_by_step.png
475 resources/straightLink.png
476 resources/stream_link.png
477 resources/suspend_resume.png
478 resources/switch_node.png
479 resources/table_view.png
480 resources/toggle_stop_on_error.png
481 resources/toggleVisibility.png
483 resources/whatsThis.png
484 resources/zoomToBloc.png
488 ADD_LIBRARY(GenericGui ${GenericGui_SOURCES})
489 TARGET_LINK_LIBRARIES(GenericGui ${_link_LIBRARIES})
490 INSTALL(TARGETS GenericGui EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
492 INSTALL(FILES ${_res_files} DESTINATION ${SALOME_YACS_INSTALL_RES_DATA})