1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
11 PartSet_ExternalObjectsMgr.h
13 PartSet_OperationPrs.h
14 PartSet_OverconstraintListener.h
15 PartSet_PreviewPlanes.h
17 PartSet_WidgetSketchLabel.h
19 PartSet_WidgetPoint2d.h
20 PartSet_WidgetEditor.h
21 PartSet_WidgetMultiSelector.h
22 PartSet_WidgetMultiSelectorComposite.h
23 PartSet_WidgetPoint2dDistance.h
24 PartSet_WidgetPoint2DFlyout.h
25 PartSet_WidgetShapeSelector.h
26 PartSet_WidgetFileSelector.h
28 PartSet_FilterInfinite.h
29 PartSet_ResultSketchPrs.h
31 PartSet_SketcherReetntrantMgr.h
33 PartSet_WidgetSketchCreator.h
35 PartSet_WidgetChoice.h
40 PartSet_ExternalObjectsMgr.cpp
42 PartSet_OperationPrs.cpp
43 PartSet_OverconstraintListener.cpp
44 PartSet_PreviewPlanes.cpp
46 PartSet_WidgetSketchLabel.cpp
47 PartSet_Validators.cpp
48 PartSet_WidgetEditor.cpp
49 PartSet_WidgetMultiSelector.cpp
50 PartSet_WidgetMultiSelectorComposite.cpp
51 PartSet_WidgetPoint2d.cpp
52 PartSet_WidgetPoint2dDistance.cpp
53 PartSet_WidgetPoint2DFlyout.cpp
54 PartSet_WidgetShapeSelector.cpp
55 PartSet_WidgetFileSelector.cpp
57 PartSet_FilterInfinite.cpp
58 PartSet_ResultSketchPrs.cpp
59 PartSet_SketcherMgr.cpp
60 PartSet_SketcherReetntrantMgr.cpp
62 PartSet_WidgetSketchCreator.cpp
63 PartSet_IconFactory.cpp
86 ${CMAKE_CURRENT_BINARY_DIR}/PartSet_automoc.cpp
89 QT4_ADD_RESOURCES(PROJECT_COMPILED_RESOURCES ${PROJECT_RESOURCES})
90 #QT4_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
91 #QT4_CREATE_TRANSLATION(QM_RESOURCES
94 # OPTIONS -extensions cpp -no-recursive
97 #SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
98 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES})
99 #SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES})
100 SOURCE_GROUP ("Resource Files" FILES ${PROJECT_RESOURCES})
102 INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/XGUI
103 ${PROJECT_SOURCE_DIR}/src/Config
104 ${PROJECT_SOURCE_DIR}/src/Events
105 ${PROJECT_SOURCE_DIR}/src/ModuleBase
106 ${PROJECT_SOURCE_DIR}/src/ModelAPI
107 ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
108 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
109 ${PROJECT_SOURCE_DIR}/src/SketchPlugin
110 ${PROJECT_SOURCE_DIR}/src/ExchangePlugin
111 ${PROJECT_SOURCE_DIR}/src/SketcherPrs
112 ${PROJECT_SOURCE_DIR}/src/FeaturesPlugin
113 ${PROJECT_SOURCE_DIR}/src/PartSetPlugin
114 ${PROJECT_SOURCE_DIR}/src/GeomAPI
119 IF(NOT ${HAVE_SALOME})
120 INCLUDE_DIRECTORIES(${APPELEMENTS_INCLUDE_DIR})
121 ENDIF(NOT ${HAVE_SALOME})
123 ADD_DEFINITIONS(-DPARTSET_EXPORTS ${CAS_DEFINITIONS})
124 ADD_LIBRARY(PartSet SHARED
127 ${PROJECT_COMPILED_RESOURCES}
132 # The Qt5Widgets_LIBRARIES variable also includes QtGui and QtCore
133 TARGET_LINK_LIBRARIES(PartSet ${PROJECT_LIBRARIES} XGUI ModelAPI GeomAlgoAPI)
135 ADD_DEPENDENCIES(PartSet ModuleBase)
137 INSTALL(TARGETS PartSet DESTINATION ${SHAPER_INSTALL_BIN})
138 #INSTALL(FILES ${QM_RESOURCES} DESTINATION bin)