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 # 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}
56 ADD_DEFINITIONS(-DNOGDI)
59 # libraries to link to
62 ${QSCINTILLA_LIBRARIES}
67 SalomeResourcesManager
75 # resource files / to be processed by uic
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
129 FormOptimizerLoop.hxx
139 SchemaComponentItem.hxx
140 SchemaComposedNodeItem.hxx
141 SchemaContainerItem.hxx
142 SchemaDataTypeItem.hxx
143 SchemaDirContainersItem.hxx
144 SchemaDirLinksItem.hxx
145 SchemaDirTypesItem.hxx
151 SchemaOutPortItem.hxx
153 SchemaReferenceItem.hxx
154 TablePortsEdition.hxx
161 # header files / uic wrappings
162 QT4_WRAP_UI(_uic_HEADERS ${_uic_files})
166 # sources / moc wrappings
167 QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
169 SET(GenericGui_SOURCES
181 EditionControlLink.hxx
182 EditionControlLink.cxx
187 EditionElementaryNode.hxx
188 EditionElementaryNode.cxx
189 EditionForEachLoop.hxx
190 EditionForEachLoop.cxx
191 EditionOptimizerLoop.hxx
192 EditionOptimizerLoop.cxx
201 EditionOutputPort.hxx
202 EditionOutputPort.cxx
203 EditionPresetNode.hxx
204 EditionPresetNode.cxx
209 EditionSalomeNode.hxx
210 EditionSalomeNode.cxx
213 EditionStudyInNode.hxx
214 EditionStudyInNode.cxx
215 EditionStudyOutNode.hxx
216 EditionStudyOutNode.cxx
233 FormOptimizerLoop.hxx
234 FormOptimizerLoop.cxx
271 SceneComposedNodeItem.hxx
272 SceneComposedNodeItem.cxx
273 SceneCtrlInPortItem.hxx
274 SceneCtrlInPortItem.cxx
275 SceneCtrlLinkItem.hxx
276 SceneCtrlLinkItem.cxx
277 SceneCtrlOutPortItem.hxx
278 SceneCtrlOutPortItem.cxx
279 SceneCtrlPortItem.hxx
280 SceneCtrlPortItem.cxx
285 SceneDataPortItem.hxx
286 SceneDataPortItem.cxx
289 SceneElementaryNodeItem.hxx
290 SceneElementaryNodeItem.cxx
293 SceneHeaderNodeItem.hxx
294 SceneHeaderNodeItem.cxx
303 SceneObserverItem.hxx
304 SceneObserverItem.cxx
313 SchemaComponentItem.hxx
314 SchemaComponentItem.cxx
315 SchemaComposedNodeItem.hxx
316 SchemaComposedNodeItem.cxx
317 SchemaContainerItem.hxx
318 SchemaContainerItem.cxx
319 SchemaDataTypeItem.hxx
320 SchemaDataTypeItem.cxx
321 SchemaDirContainersItem.hxx
322 SchemaDirContainersItem.cxx
323 SchemaDirLinksItem.hxx
324 SchemaDirLinksItem.cxx
325 SchemaDirTypesItem.hxx
326 SchemaDirTypesItem.cxx
337 SchemaOutPortItem.hxx
338 SchemaOutPortItem.cxx
341 SchemaReferenceItem.hxx
342 SchemaReferenceItem.cxx
343 TablePortsEdition.hxx
344 TablePortsEdition.cxx
351 VisitorSaveGuiSchema.hxx
352 VisitorSaveGuiSchema.cxx
363 # resource files / to be processed by lrelease
365 resources/add_in_study.png
366 resources/add_node.png
367 resources/addRowCols.png
368 resources/arrange_nodes.png
369 resources/autoComputeLink.png
370 resources/block_node.png
371 resources/breakpoints_active.png
372 resources/breakpoints.png
373 resources/centerOnNode.png
374 resources/shrinkExpand.png
375 resources/change_informations.png
376 resources/component.png
377 resources/connect_to_batch_session.png
378 resources/container.png
379 resources/control_link.png
380 resources/control_view.png
383 resources/dataflow_view.png
384 resources/data_link.png
385 resources/datastream_view.png
387 resources/emphasisLink.png
388 resources/execute_in_batch.png
389 resources/export_dataflow.png
390 resources/filter_next_steps.png
391 resources/filter_notification.png
392 resources/folder_cyan.png
393 resources/folder_cyan_open.png
394 resources/force2nodeLink.png
395 resources/full_view.png
396 resources/hideLink.png
397 resources/icon_down.png
398 resources/icon_insert.png
399 resources/icon_minus.png
400 resources/icon_plus.png
401 resources/icon_select.png
402 resources/icon_text.png
403 resources/icon_up.png
404 resources/import_dataflow.png
405 resources/import_superv_dataflow.png
406 resources/in_port.png
407 resources/insert_file.png
409 resources/load_execution_state.png
410 resources/loop_node.png
411 resources/mode_continue.png
412 resources/modify_dataflow.png
413 resources/modify_superv_dataflow.png
414 resources/ModuleYacs.png
415 resources/new_batch_execution.png
416 resources/new_block_node.png
417 resources/new_corba_component.png
418 resources/new_corba_service_node.png
419 resources/new_cpp_node.png
420 resources/new_dataflow.png
421 resources/new_edition.png
422 resources/new_execution.png
423 resources/new_foreach_loop_node.png
424 resources/new_for_loop_node.png
425 resources/new_from_library_node.png
426 resources/new_inline_function_node.png
427 resources/new_inline_script_node.png
428 resources/new_link.png
429 resources/new_nodenode_service_node.png
430 resources/new_salome_component.png
431 resources/new_salomepy_component.png
432 resources/new_salome_service_node.png
433 resources/new_service_inline_node.png
434 resources/new_switch_loop_node.png
435 resources/new_while_loop_node.png
436 resources/new_xml_node.png
438 resources/ob_service_node.png
439 resources/out_port.png
442 resources/rebuild_links.png
445 resources/remote_run.png
448 resources/run_active.png
449 resources/run_object.png
453 resources/save_dataflow.png
454 resources/save_dataflow_state.png
456 resources/showLink.png
457 resources/simplifyLink.png
458 resources/step_by_step_active.png
459 resources/step_by_step.png
460 resources/straightLink.png
461 resources/stream_link.png
462 resources/suspend_resume.png
463 resources/switch_node.png
464 resources/table_view.png
465 resources/toggle_stop_on_error.png
466 resources/toggleVisibility.png
468 resources/whatsThis.png
469 resources/zoomToBloc.png
473 ADD_LIBRARY(GenericGui ${GenericGui_SOURCES})
474 TARGET_LINK_LIBRARIES(GenericGui ${_link_LIBRARIES})
475 INSTALL(TARGETS GenericGui EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
477 INSTALL(FILES ${_res_files} DESTINATION ${SALOME_YACS_INSTALL_RES_DATA})