1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
13 XGUI_DocumentDataModel.h
15 XGUI_ModuleConnector.h
21 XGUI_SalomeConnector.h
31 ${CMAKE_CURRENT_BINARY_DIR}/XGUI_automoc.cpp
36 XGUI_ContextMenuMgr.cpp
39 XGUI_DocumentDataModel.cpp
41 XGUI_ModuleConnector.cpp
42 XGUI_ObjectsBrowser.cpp
44 XGUI_PartDataModel.cpp
45 XGUI_PropertyPanel.cpp
85 SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} opengl32)
87 SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} GL)
90 QT4_ADD_RESOURCES(PROJECT_COMPILED_RESOURCES ${PROJECT_RESOURCES})
91 #QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
93 QT4_CREATE_TRANSLATION(QM_RESOURCES
96 OPTIONS -extensions cpp -no-recursive
100 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
101 #SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES})
102 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES} ${PREFERENCES_XML})
104 ADD_DEFINITIONS( -DXGUI_EXPORTS ${CAS_DEFINITIONS} )
106 INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Events
107 ${PROJECT_SOURCE_DIR}/src/Config
108 ${PROJECT_SOURCE_DIR}/src/ModelAPI
109 ${PROJECT_SOURCE_DIR}/src/GeomAPI
110 ${PROJECT_SOURCE_DIR}/src/ModuleBase
111 # ${PROJECT_SOURCE_DIR}/src/PartSetPlugin
112 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
113 ${PROJECT_SOURCE_DIR}/src/AppElements
117 LINK_DIRECTORIES($ENV{PYTHON_LIB_DIR})
119 ADD_LIBRARY(XGUI SHARED
122 ${PROJECT_COMPILED_RESOURCES}
128 ADD_DEPENDENCIES(XGUI ModelAPI)
130 # The Qt5Widgets_LIBRARIES variable also includes QtGui and QtCore
131 TARGET_LINK_LIBRARIES(XGUI ${PROJECT_LIBRARIES})
133 INSTALL(TARGETS XGUI DESTINATION bin)
134 INSTALL(FILES ${QM_RESOURCES} DESTINATION bin)
135 INSTALL(FILES ${PREFERENCES_XML} DESTINATION resources)