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
51 ${GRAPHVIZ_DEFINITIONS}
52 ${OMNIORB_DEFINITIONS}
57 ADD_DEFINITIONS(-DNOGDI)
60 # libraries to link to
63 ${QSCINTILLA_LIBRARIES}
68 SalomeResourcesManager
76 # resource files / to be processed by uic
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
130 FormOptimizerLoop.hxx
140 SchemaComponentItem.hxx
141 SchemaComposedNodeItem.hxx
142 SchemaContainerItem.hxx
143 SchemaDataTypeItem.hxx
144 SchemaDirContainersItem.hxx
145 SchemaDirLinksItem.hxx
146 SchemaDirTypesItem.hxx
152 SchemaOutPortItem.hxx
154 SchemaReferenceItem.hxx
155 TablePortsEdition.hxx
162 # header files / uic wrappings
163 QT4_WRAP_UI(_uic_HEADERS ${_uic_files})
167 # sources / moc wrappings
168 QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
170 SET(GenericGui_SOURCES
182 EditionControlLink.hxx
183 EditionControlLink.cxx
188 EditionElementaryNode.hxx
189 EditionElementaryNode.cxx
190 EditionForEachLoop.hxx
191 EditionForEachLoop.cxx
192 EditionOptimizerLoop.hxx
193 EditionOptimizerLoop.cxx
202 EditionOutputPort.hxx
203 EditionOutputPort.cxx
204 EditionPresetNode.hxx
205 EditionPresetNode.cxx
210 EditionSalomeNode.hxx
211 EditionSalomeNode.cxx
214 EditionStudyInNode.hxx
215 EditionStudyInNode.cxx
216 EditionStudyOutNode.hxx
217 EditionStudyOutNode.cxx
234 FormOptimizerLoop.hxx
235 FormOptimizerLoop.cxx
272 SceneComposedNodeItem.hxx
273 SceneComposedNodeItem.cxx
274 SceneCtrlInPortItem.hxx
275 SceneCtrlInPortItem.cxx
276 SceneCtrlLinkItem.hxx
277 SceneCtrlLinkItem.cxx
278 SceneCtrlOutPortItem.hxx
279 SceneCtrlOutPortItem.cxx
280 SceneCtrlPortItem.hxx
281 SceneCtrlPortItem.cxx
286 SceneDataPortItem.hxx
287 SceneDataPortItem.cxx
290 SceneElementaryNodeItem.hxx
291 SceneElementaryNodeItem.cxx
294 SceneHeaderNodeItem.hxx
295 SceneHeaderNodeItem.cxx
304 SceneObserverItem.hxx
305 SceneObserverItem.cxx
314 SchemaComponentItem.hxx
315 SchemaComponentItem.cxx
316 SchemaComposedNodeItem.hxx
317 SchemaComposedNodeItem.cxx
318 SchemaContainerItem.hxx
319 SchemaContainerItem.cxx
320 SchemaDataTypeItem.hxx
321 SchemaDataTypeItem.cxx
322 SchemaDirContainersItem.hxx
323 SchemaDirContainersItem.cxx
324 SchemaDirLinksItem.hxx
325 SchemaDirLinksItem.cxx
326 SchemaDirTypesItem.hxx
327 SchemaDirTypesItem.cxx
338 SchemaOutPortItem.hxx
339 SchemaOutPortItem.cxx
342 SchemaReferenceItem.hxx
343 SchemaReferenceItem.cxx
344 TablePortsEdition.hxx
345 TablePortsEdition.cxx
352 VisitorSaveGuiSchema.hxx
353 VisitorSaveGuiSchema.cxx
364 # resource files / to be processed by lrelease
366 resources/add_in_study.png
367 resources/add_node.png
368 resources/addRowCols.png
369 resources/arrange_nodes.png
370 resources/autoComputeLink.png
371 resources/block_node.png
372 resources/breakpoints_active.png
373 resources/breakpoints.png
374 resources/centerOnNode.png
375 resources/shrinkExpand.png
376 resources/change_informations.png
377 resources/component.png
378 resources/connect_to_batch_session.png
379 resources/container.png
380 resources/control_link.png
381 resources/control_view.png
384 resources/dataflow_view.png
385 resources/data_link.png
386 resources/datastream_view.png
388 resources/emphasisLink.png
389 resources/execute_in_batch.png
390 resources/export_dataflow.png
391 resources/filter_next_steps.png
392 resources/filter_notification.png
393 resources/folder_cyan.png
394 resources/folder_cyan_open.png
395 resources/force2nodeLink.png
396 resources/full_view.png
397 resources/hideLink.png
398 resources/icon_down.png
399 resources/icon_insert.png
400 resources/icon_minus.png
401 resources/icon_plus.png
402 resources/icon_select.png
403 resources/icon_text.png
404 resources/icon_up.png
405 resources/import_dataflow.png
406 resources/import_superv_dataflow.png
407 resources/in_port.png
408 resources/insert_file.png
410 resources/load_execution_state.png
411 resources/loop_node.png
412 resources/mode_continue.png
413 resources/modify_dataflow.png
414 resources/modify_superv_dataflow.png
415 resources/ModuleYacs.png
416 resources/new_batch_execution.png
417 resources/new_block_node.png
418 resources/new_corba_component.png
419 resources/new_corba_service_node.png
420 resources/new_cpp_node.png
421 resources/new_dataflow.png
422 resources/new_edition.png
423 resources/new_execution.png
424 resources/new_foreach_loop_node.png
425 resources/new_for_loop_node.png
426 resources/new_from_library_node.png
427 resources/new_inline_function_node.png
428 resources/new_inline_script_node.png
429 resources/new_link.png
430 resources/new_nodenode_service_node.png
431 resources/new_salome_component.png
432 resources/new_salomepy_component.png
433 resources/new_salome_service_node.png
434 resources/new_service_inline_node.png
435 resources/new_switch_loop_node.png
436 resources/new_while_loop_node.png
437 resources/new_xml_node.png
439 resources/ob_service_node.png
440 resources/out_port.png
443 resources/rebuild_links.png
446 resources/remote_run.png
449 resources/run_active.png
450 resources/run_object.png
454 resources/save_dataflow.png
455 resources/save_dataflow_state.png
457 resources/showLink.png
458 resources/simplifyLink.png
459 resources/step_by_step_active.png
460 resources/step_by_step.png
461 resources/straightLink.png
462 resources/stream_link.png
463 resources/suspend_resume.png
464 resources/switch_node.png
465 resources/table_view.png
466 resources/toggle_stop_on_error.png
467 resources/toggleVisibility.png
469 resources/whatsThis.png
470 resources/zoomToBloc.png
474 ADD_LIBRARY(GenericGui ${GenericGui_SOURCES})
475 TARGET_LINK_LIBRARIES(GenericGui ${_link_LIBRARIES})
476 INSTALL(TARGETS GenericGui EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
478 INSTALL(FILES ${_res_files} DESTINATION ${SALOME_YACS_INSTALL_RES_DATA})