XGUI_ColorDialog.h
XGUI_ContextMenuMgr.h
XGUI_CustomPrs.h
+ XGUI_DataModel.h
XGUI_Displayer.h
XGUI_ErrorDialog.h
+ XGUI_ErrorMgr.h
+ XGUI_HistoryMenu.h
XGUI_ModuleConnector.h
XGUI_ObjectsBrowser.h
XGUI_OperationMgr.h
XGUI_Tools.h
XGUI_ViewerProxy.h
XGUI_Workshop.h
- XGUI_HistoryMenu.h
+ XGUI_WorkshopListener.h
)
SET(PROJECT_AUTOMOC
XGUI_ColorDialog.cpp
XGUI_ContextMenuMgr.cpp
XGUI_CustomPrs.cpp
+ XGUI_DataModel.cpp
XGUI_Displayer.cpp
XGUI_ErrorDialog.cpp
+ XGUI_ErrorMgr.cpp
+ XGUI_HistoryMenu.cpp
XGUI_ModuleConnector.cpp
XGUI_ObjectsBrowser.cpp
XGUI_OperationMgr.cpp
XGUI_PropertyPanel.cpp
XGUI_QtEvents.cpp
+ XGUI_SalomeConnector.cpp
XGUI_Selection.cpp
XGUI_SelectionMgr.cpp
XGUI_Tools.cpp
XGUI_ViewerProxy.cpp
XGUI_Workshop.cpp
- XGUI_HistoryMenu.cpp
+ XGUI_WorkshopListener.cpp
)
SET(PROJECT_RESOURCES
Config
ModelAPI
ModuleBase
- AppElements
${QT_LIBRARIES}
${CAS_VIEWER}
${CAS_KERNEL}
${qtx}
)
+IF(NOT ${HAVE_SALOME})
+ SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} AppElements)
+ENDIF(NOT ${HAVE_SALOME})
+
+
IF(WIN32)
SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} opengl32)
ELSE()
ADD_DEFINITIONS( -DXGUI_EXPORTS ${CAS_DEFINITIONS} )
-INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Events
- ${PROJECT_SOURCE_DIR}/src/Config
- ${PROJECT_SOURCE_DIR}/src/ModelAPI
- ${PROJECT_SOURCE_DIR}/src/GeomAPI
- ${PROJECT_SOURCE_DIR}/src/ModuleBase
-# ${PROJECT_SOURCE_DIR}/src/PartSetPlugin
- ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
- ${PROJECT_SOURCE_DIR}/src/AppElements
- ${CAS_INCLUDE_DIRS}
- ${SUIT_INCLUDE})
-
+SET(PROJECT_INCLUDES
+ ${PROJECT_SOURCE_DIR}/src/Events
+ ${PROJECT_SOURCE_DIR}/src/Config
+ ${PROJECT_SOURCE_DIR}/src/ModelAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomAPI
+ ${PROJECT_SOURCE_DIR}/src/ModuleBase
+ ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
+ ${CAS_INCLUDE_DIRS}
+ ${SUIT_INCLUDE})
+
+IF(NOT ${HAVE_SALOME})
+ SET(PROJECT_INCLUDES ${PROJECT_INCLUDES} ${APPELEMENTS_INCLUDE_DIR})
+ENDIF(NOT ${HAVE_SALOME})
+
+INCLUDE_DIRECTORIES(${PROJECT_INCLUDES})
+
LINK_DIRECTORIES($ENV{PYTHON_LIB_DIR})
ADD_LIBRARY(XGUI SHARED
INSTALL(TARGETS XGUI DESTINATION bin)
INSTALL(FILES ${QM_RESOURCES} DESTINATION bin)
INSTALL(FILES ${PREFERENCES_XML} DESTINATION resources)
+