1 # Copyright (C) 2012-2013 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.
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 IF(SALOME_YACS_USE_KERNEL)
23 SET(SALOME_INCL_PATH ${KERNEL_INCLUDE_DIRS})
24 ENDIF(SALOME_YACS_USE_KERNEL)
26 # additional include directories
30 ${OMNIORB_INCLUDE_DIR}
31 ${LIBXML2_INCLUDE_DIR}
32 ${GRAPHVIZ_INCLUDE_DIR}
34 ${QSCINTILLA_INCLUDE_DIRS}
36 ${PROJECT_BINARY_DIR}/src/genericgui
37 ${PROJECT_SOURCE_DIR}/src
38 ${PROJECT_SOURCE_DIR}/src/bases
39 ${PROJECT_SOURCE_DIR}/src/engine
40 ${PROJECT_SOURCE_DIR}/src/runtime
41 ${PROJECT_SOURCE_DIR}/src/yacsloader
42 ${PROJECT_SOURCE_DIR}/src/hmi
43 ${PROJECT_SOURCE_DIR}/src/salomewrap
44 ${PROJECT_SOURCE_DIR}/src/genericgui
45 ${PROJECT_BINARY_DIR}/idl
46 ${PROJECT_BINARY_DIR}/src/yacsorb
49 # additional preprocessor / compiler flags
54 ${GRAPHVIZ_DEFINITIONS}
55 ${OMNIORB_DEFINITIONS}
58 # libraries to link to
61 ${QSCINTILLA_LIBRARIES}
66 SalomeResourcesManager
74 # resource files / to be processed by uic
93 SET(GenericGui_HEADERS
96 # header files / to be processed by moc
102 EditionControlLink.hxx
105 EditionElementaryNode.hxx
106 EditionForEachLoop.hxx
107 EditionOptimizerLoop.hxx
112 EditionOutputPort.hxx
113 EditionPresetNode.hxx
116 EditionSalomeNode.hxx
118 EditionStudyInNode.hxx
119 EditionStudyOutNode.hxx
128 FormOptimizerLoop.hxx
138 SchemaComponentItem.hxx
139 SchemaComposedNodeItem.hxx
140 SchemaContainerItem.hxx
141 SchemaDataTypeItem.hxx
142 SchemaDirContainersItem.hxx
143 SchemaDirLinksItem.hxx
144 SchemaDirTypesItem.hxx
150 SchemaOutPortItem.hxx
152 SchemaReferenceItem.hxx
153 TablePortsEdition.hxx
160 # header files / uic wrappings
161 QT4_WRAP_UI(_uic_HEADERS ${_uic_files})
165 # sources / moc wrappings
166 QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
168 SET(GenericGui_SOURCES
180 EditionControlLink.hxx
181 EditionControlLink.cxx
186 EditionElementaryNode.hxx
187 EditionElementaryNode.cxx
188 EditionForEachLoop.hxx
189 EditionForEachLoop.cxx
190 EditionOptimizerLoop.hxx
191 EditionOptimizerLoop.cxx
200 EditionOutputPort.hxx
201 EditionOutputPort.cxx
202 EditionPresetNode.hxx
203 EditionPresetNode.cxx
208 EditionSalomeNode.hxx
209 EditionSalomeNode.cxx
212 EditionStudyInNode.hxx
213 EditionStudyInNode.cxx
214 EditionStudyOutNode.hxx
215 EditionStudyOutNode.cxx
232 FormOptimizerLoop.hxx
233 FormOptimizerLoop.cxx
270 SceneComposedNodeItem.hxx
271 SceneComposedNodeItem.cxx
272 SceneCtrlInPortItem.hxx
273 SceneCtrlInPortItem.cxx
274 SceneCtrlLinkItem.hxx
275 SceneCtrlLinkItem.cxx
276 SceneCtrlOutPortItem.hxx
277 SceneCtrlOutPortItem.cxx
278 SceneCtrlPortItem.hxx
279 SceneCtrlPortItem.cxx
284 SceneDataPortItem.hxx
285 SceneDataPortItem.cxx
288 SceneElementaryNodeItem.hxx
289 SceneElementaryNodeItem.cxx
292 SceneHeaderNodeItem.hxx
293 SceneHeaderNodeItem.cxx
302 SceneObserverItem.hxx
303 SceneObserverItem.cxx
312 SchemaComponentItem.hxx
313 SchemaComponentItem.cxx
314 SchemaComposedNodeItem.hxx
315 SchemaComposedNodeItem.cxx
316 SchemaContainerItem.hxx
317 SchemaContainerItem.cxx
318 SchemaDataTypeItem.hxx
319 SchemaDataTypeItem.cxx
320 SchemaDirContainersItem.hxx
321 SchemaDirContainersItem.cxx
322 SchemaDirLinksItem.hxx
323 SchemaDirLinksItem.cxx
324 SchemaDirTypesItem.hxx
325 SchemaDirTypesItem.cxx
336 SchemaOutPortItem.hxx
337 SchemaOutPortItem.cxx
340 SchemaReferenceItem.hxx
341 SchemaReferenceItem.cxx
342 TablePortsEdition.hxx
343 TablePortsEdition.cxx
350 VisitorSaveGuiSchema.hxx
351 VisitorSaveGuiSchema.cxx
362 # resource files / to be processed by lrelease
364 resources/add_in_study.png
365 resources/add_node.png
366 resources/addRowCols.png
367 resources/arrange_nodes.png
368 resources/autoComputeLink.png
369 resources/block_node.png
370 resources/breakpoints_active.png
371 resources/breakpoints.png
372 resources/centerOnNode.png
373 resources/shrinkExpand.png
374 resources/change_informations.png
375 resources/component.png
376 resources/connect_to_batch_session.png
377 resources/container.png
378 resources/control_link.png
379 resources/control_view.png
382 resources/dataflow_view.png
383 resources/data_link.png
384 resources/datastream_view.png
386 resources/emphasisLink.png
387 resources/execute_in_batch.png
388 resources/export_dataflow.png
389 resources/filter_next_steps.png
390 resources/filter_notification.png
391 resources/folder_cyan.png
392 resources/folder_cyan_open.png
393 resources/force2nodeLink.png
394 resources/full_view.png
395 resources/hideLink.png
396 resources/icon_down.png
397 resources/icon_insert.png
398 resources/icon_minus.png
399 resources/icon_plus.png
400 resources/icon_select.png
401 resources/icon_text.png
402 resources/icon_up.png
403 resources/import_dataflow.png
404 resources/import_superv_dataflow.png
405 resources/in_port.png
406 resources/insert_file.png
408 resources/load_execution_state.png
409 resources/loop_node.png
410 resources/mode_continue.png
411 resources/modify_dataflow.png
412 resources/modify_superv_dataflow.png
413 resources/ModuleYacs.png
414 resources/new_batch_execution.png
415 resources/new_block_node.png
416 resources/new_corba_component.png
417 resources/new_corba_service_node.png
418 resources/new_cpp_node.png
419 resources/new_dataflow.png
420 resources/new_edition.png
421 resources/new_execution.png
422 resources/new_foreach_loop_node.png
423 resources/new_for_loop_node.png
424 resources/new_from_library_node.png
425 resources/new_inline_function_node.png
426 resources/new_inline_script_node.png
427 resources/new_link.png
428 resources/new_nodenode_service_node.png
429 resources/new_salome_component.png
430 resources/new_salomepy_component.png
431 resources/new_salome_service_node.png
432 resources/new_service_inline_node.png
433 resources/new_switch_loop_node.png
434 resources/new_while_loop_node.png
435 resources/new_xml_node.png
437 resources/ob_service_node.png
438 resources/out_port.png
441 resources/rebuild_links.png
444 resources/remote_run.png
447 resources/run_active.png
448 resources/run_object.png
452 resources/save_dataflow.png
453 resources/save_dataflow_state.png
455 resources/showLink.png
456 resources/simplifyLink.png
457 resources/step_by_step_active.png
458 resources/step_by_step.png
459 resources/straightLink.png
460 resources/stream_link.png
461 resources/suspend_resume.png
462 resources/switch_node.png
463 resources/table_view.png
464 resources/toggle_stop_on_error.png
465 resources/toggleVisibility.png
467 resources/whatsThis.png
468 resources/zoomToBloc.png
472 ADD_LIBRARY(GenericGui ${GenericGui_SOURCES})
473 TARGET_LINK_LIBRARIES(GenericGui ${_link_LIBRARIES})
474 INSTALL(TARGETS GenericGui EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
476 INSTALL(FILES ${_res_files} DESTINATION ${SALOME_YACS_INSTALL_RES_DATA})