1 # Copyright (C) 2012-2016 CEA/DEN, EDF R&D, OPEN CASCADE
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, or (at your option) any later version.
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
24 # additional include directories
26 ${PTHREAD_INCLUDE_DIR}
28 ${OMNIORB_INCLUDE_DIR}
30 ${KERNEL_INCLUDE_DIRS}
32 ${PROJECT_BINARY_DIR}/idl
34 ${PROJECT_SOURCE_DIR}/src/OBJECT
35 ${PROJECT_SOURCE_DIR}/src/GEOMClient
36 ${PROJECT_SOURCE_DIR}/src/GEOMImpl
37 ${PROJECT_SOURCE_DIR}/src/GEOMGUI
38 ${PROJECT_SOURCE_DIR}/src/GEOMBase
39 ${PROJECT_SOURCE_DIR}/src/DlgRef
40 ${PROJECT_BINARY_DIR}/src/DlgRef
41 ${PROJECT_SOURCE_DIR}/src/GEOMAlgo
42 ${PROJECT_SOURCE_DIR}/src/GEOMUtils
43 ${CMAKE_CURRENT_SOURCE_DIR}
44 ${CMAKE_CURRENT_BINARY_DIR}
47 # additional preprocessor / compiler flags
50 ${OMNIORB_DEFINITIONS}
54 # libraries to link to
62 # resource files / to be processed by uic
64 MeasureGUI_1Sel12LineEdit_QTD.ui
65 MeasureGUI_1Sel1TextView1Check_QTD.ui
66 MeasureGUI_1Sel1TextView2ListBox_QTD.ui
67 MeasureGUI_1Sel1Check1TextView2ListBox_QTD.ui
68 MeasureGUI_1Sel1TextView_QTD.ui
69 MeasureGUI_1Sel3LineEdit_QTD.ui
70 MeasureGUI_1Sel6LineEdit_QTD.ui
71 MeasureGUI_1Sel_Frame_QTD.ui
72 MeasureGUI_1TreeWidget_4Button_QTD.ui
73 MeasureGUI_2Sel1LineEdit_QTD.ui
74 MeasureGUI_2Sel_Frame_QTD.ui
75 MeasureGUI_3Sel_Frame_QTD.ui
76 MeasureGUI_SkeletonBox_QTD.ui
81 SET(MeasureGUI_HEADERS
85 MeasureGUI_PropertiesDlg.h
86 MeasureGUI_CenterMassDlg.h
87 MeasureGUI_NormaleDlg.h
88 MeasureGUI_InertiaDlg.h
89 MeasureGUI_BndBoxDlg.h
90 MeasureGUI_DistanceDlg.h
91 MeasureGUI_AnnotationDlg.h
92 MeasureGUI_AnnotationInteractor.h
94 MeasureGUI_MaxToleranceDlg.h
95 MeasureGUI_WhatisDlg.h
96 MeasureGUI_CheckShapeDlg.h
97 MeasureGUI_CheckCompoundOfBlocksDlg.h
98 MeasureGUI_GetNonBlocksDlg.h
99 MeasureGUI_CheckSelfIntersectionsDlg.h
100 MeasureGUI_FastCheckIntersectionsDlg.h
101 MeasureGUI_PointDlg.h
102 MeasureGUI_ManageDimensionsDlg.h
103 MeasureGUI_CreateDimensionDlg.h
104 MeasureGUI_DimensionCreateTool.h
105 MeasureGUI_DimensionInteractor.h
106 MeasureGUI_DimensionFilter.h
107 MeasureGUI_definitions.h
110 # header files / to be processed by moc
114 MeasureGUI_Skeleton.h
115 MeasureGUI_PropertiesDlg.h
116 MeasureGUI_CenterMassDlg.h
117 MeasureGUI_NormaleDlg.h
118 MeasureGUI_InertiaDlg.h
119 MeasureGUI_BndBoxDlg.h
120 MeasureGUI_DistanceDlg.h
121 MeasureGUI_AnnotationDlg.h
122 MeasureGUI_AnnotationInteractor.h
123 MeasureGUI_AngleDlg.h
124 MeasureGUI_MaxToleranceDlg.h
125 MeasureGUI_WhatisDlg.h
126 MeasureGUI_CheckShapeDlg.h
127 MeasureGUI_CheckCompoundOfBlocksDlg.h
128 MeasureGUI_GetNonBlocksDlg.h
129 MeasureGUI_CheckSelfIntersectionsDlg.h
130 MeasureGUI_FastCheckIntersectionsDlg.h
131 MeasureGUI_PointDlg.h
132 MeasureGUI_ManageDimensionsDlg.h
133 MeasureGUI_CreateDimensionDlg.h
134 MeasureGUI_DimensionInteractor.h
137 IF(SALOME_USE_PLOT2DVIEWER)
138 LIST(APPEND _moc_HEADERS
139 MeasureGUI_ShapeStatisticsDlg.h
143 # header files / uic wrappings
144 QT_WRAP_UIC(_uic_HEADERS ${_uic_files})
148 # sources / moc wrappings
149 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
151 SET(MeasureGUI_SOURCES
153 MeasureGUI_Widgets.cxx
154 MeasureGUI_Skeleton.cxx
155 MeasureGUI_PropertiesDlg.cxx
156 MeasureGUI_CenterMassDlg.cxx
157 MeasureGUI_NormaleDlg.cxx
158 MeasureGUI_InertiaDlg.cxx
159 MeasureGUI_BndBoxDlg.cxx
160 MeasureGUI_DistanceDlg.cxx
161 MeasureGUI_AnnotationDlg.cxx
162 MeasureGUI_AnnotationInteractor.cxx
163 MeasureGUI_AngleDlg.cxx
164 MeasureGUI_MaxToleranceDlg.cxx
165 MeasureGUI_WhatisDlg.cxx
166 MeasureGUI_CheckShapeDlg.cxx
167 MeasureGUI_CheckCompoundOfBlocksDlg.cxx
168 MeasureGUI_GetNonBlocksDlg.cxx
169 MeasureGUI_CheckSelfIntersectionsDlg.cxx
170 MeasureGUI_FastCheckIntersectionsDlg.cxx
171 MeasureGUI_PointDlg.cxx
172 MeasureGUI_ManageDimensionsDlg.cxx
173 MeasureGUI_CreateDimensionDlg.cxx
174 MeasureGUI_DimensionCreateTool.cxx
175 MeasureGUI_DimensionInteractor.cxx
176 MeasureGUI_DimensionFilter.cxx
181 IF(SALOME_USE_PLOT2DVIEWER)
182 LIST(APPEND MeasureGUI_SOURCES
183 MeasureGUI_ShapeStatisticsDlg.cxx
189 ADD_LIBRARY(MeasureGUI ${MeasureGUI_SOURCES})
190 TARGET_LINK_LIBRARIES(MeasureGUI ${_link_LIBRARIES})
191 INSTALL(TARGETS MeasureGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})