1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
6 # additional include directories
7 INCLUDE_DIRECTORIES(${QT_INCLUDES})
9 # additional preprocessor / compiler flags
10 ADD_DEFINITIONS(${QT_DEFINITIONS})
16 PartSet_ExternalObjectsMgr.h
17 PartSet_FilterInfinite.h
22 PartSet_MouseProcessor.h
23 PartSet_OperationPrs.h
24 PartSet_OverconstraintListener.h
25 PartSet_PreviewPlanes.h
26 PartSet_ResultSketchPrs.h
28 PartSet_SketcherReentrantMgr.h
31 PartSet_WidgetChoice.h
32 PartSet_WidgetEditor.h
33 PartSet_WidgetFeaturePointSelector.h
34 PartSet_WidgetFileSelector.h
35 PartSet_WidgetMultiSelector.h
36 PartSet_WidgetPoint2d.h
37 PartSet_WidgetPoint2DFlyout.h
38 PartSet_WidgetShapeSelector.h
39 PartSet_WidgetSketchCreator.h
40 PartSet_WidgetSketchLabel.h
41 PartSet_WidgetSubShapeSelector.h
43 PartSet_ExternalPointsMgr.h
46 SET(PROJECT_MOC_HEADERS
51 PartSet_SketcherReentrantMgr.h
52 PartSet_WidgetChoice.h
53 PartSet_WidgetEditor.h
54 PartSet_WidgetFeaturePointSelector.h
55 PartSet_WidgetFileSelector.h
56 PartSet_WidgetMultiSelector.h
57 PartSet_WidgetPoint2d.h
58 PartSet_WidgetPoint2DFlyout.h
59 PartSet_WidgetShapeSelector.h
60 PartSet_WidgetSketchCreator.h
61 PartSet_WidgetSketchLabel.h
62 PartSet_WidgetSubShapeSelector.h
63 PartSet_ExternalPointsMgr.h
68 PartSet_ExternalObjectsMgr.cpp
69 PartSet_FilterInfinite.cpp
71 PartSet_IconFactory.cpp
74 PartSet_OperationPrs.cpp
75 PartSet_OverconstraintListener.cpp
76 PartSet_PreviewPlanes.cpp
77 PartSet_ResultSketchPrs.cpp
78 PartSet_SketcherMgr.cpp
79 PartSet_SketcherReentrantMgr.cpp
81 PartSet_Validators.cpp
82 PartSet_WidgetEditor.cpp
83 PartSet_WidgetFeaturePointSelector.cpp
84 PartSet_WidgetFileSelector.cpp
85 PartSet_WidgetMultiSelector.cpp
86 PartSet_WidgetPoint2d.cpp
87 PartSet_WidgetPoint2DFlyout.cpp
88 PartSet_WidgetShapeSelector.cpp
89 PartSet_WidgetSketchCreator.cpp
90 PartSet_WidgetSketchLabel.cpp
91 PartSet_WidgetSubShapeSelector.cpp
93 PartSet_ExternalPointsMgr.cpp
104 SET(PROJECT_LIBRARIES
116 # sources / moc wrappings
117 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
119 # sources / rcc wrappings
120 QT_ADD_RESOURCES(PROJECT_COMPILED_RESOURCES ${PROJECT_RESOURCES})
121 #QT4_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
122 #QT4_CREATE_TRANSLATION(QM_RESOURCES
125 # OPTIONS -extensions cpp -no-recursive
128 #SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
129 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES})
130 #SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES})
131 SOURCE_GROUP ("Resource Files" FILES ${PROJECT_RESOURCES})
133 INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/XGUI
134 ${PROJECT_SOURCE_DIR}/src/Config
135 ${PROJECT_SOURCE_DIR}/src/Events
136 ${PROJECT_SOURCE_DIR}/src/ModuleBase
137 ${PROJECT_SOURCE_DIR}/src/ModelAPI
138 ${PROJECT_SOURCE_DIR}/src/ModelGeomAlgo
139 ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
140 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
141 ${PROJECT_SOURCE_DIR}/src/SketchPlugin
142 ${PROJECT_SOURCE_DIR}/src/ExchangePlugin
143 ${PROJECT_SOURCE_DIR}/src/SketcherPrs
144 ${PROJECT_SOURCE_DIR}/src/FeaturesPlugin
145 ${PROJECT_SOURCE_DIR}/src/PartSetPlugin
146 ${PROJECT_SOURCE_DIR}/src/GeomAPI
152 INCLUDE_DIRECTORIES(${SALOME_KERNEL_INCLUDE})
154 INCLUDE_DIRECTORIES(${APPELEMENTS_INCLUDE_DIR})
155 ENDIF(${HAVE_SALOME})
158 ADD_DEFINITIONS(-DPARTSET_EXPORTS ${CAS_DEFINITIONS})
159 ADD_LIBRARY(PartSet SHARED
162 ${PROJECT_COMPILED_RESOURCES}
168 # The Qt5Widgets_LIBRARIES variable also includes QtGui and QtCore
169 TARGET_LINK_LIBRARIES(PartSet ${PROJECT_LIBRARIES} XGUI ModelAPI GeomAlgoAPI)
171 ADD_DEPENDENCIES(PartSet ModuleBase)
173 INSTALL(TARGETS PartSet DESTINATION ${SHAPER_INSTALL_BIN})
174 #INSTALL(FILES ${QM_RESOURCES} DESTINATION bin)