1 # Copyright (C) 2012-2014 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
21 INCLUDE(${QT_USE_FILE})
25 # additional include directories
28 ${PTHREAD_INCLUDE_DIR}
30 ${OMNIORB_INCLUDE_DIR}
32 ${KERNEL_INCLUDE_DIRS}
34 ${PROJECT_BINARY_DIR}/idl
36 ${PROJECT_SOURCE_DIR}/src/OBJECT
37 ${PROJECT_SOURCE_DIR}/src/GEOMClient
38 ${PROJECT_SOURCE_DIR}/src/GEOMImpl
39 ${PROJECT_SOURCE_DIR}/src/GEOMGUI
40 ${PROJECT_SOURCE_DIR}/src/GEOMBase
41 ${PROJECT_SOURCE_DIR}/src/DlgRef
42 ${PROJECT_BINARY_DIR}/src/DlgRef
43 ${PROJECT_SOURCE_DIR}/src/GEOMAlgo
44 ${CMAKE_CURRENT_SOURCE_DIR}
45 ${CMAKE_CURRENT_BINARY_DIR}
48 # additional preprocessor / compiler flags
51 ${OMNIORB_DEFINITIONS}
55 # libraries to link to
62 # resource files / to be processed by uic
71 RepairGUI_SuppressFacesDlg.h
72 RepairGUI_ShapeProcessDlg.h
73 RepairGUI_CloseContourDlg.h
74 RepairGUI_RemoveIntWiresDlg.h
75 RepairGUI_RemoveHolesDlg.h
76 RepairGUI_DivideEdgeDlg.h
77 RepairGUI_FreeBoundDlg.h
78 RepairGUI_FreeFacesDlg.h
79 RepairGUI_ChangeOrientationDlg.h
81 RepairGUI_LimitToleranceDlg.h
82 RepairGUI_RemoveWebsDlg.h
83 RepairGUI_RemoveExtraEdgesDlg.h
84 RepairGUI_UnionFacesDlg.h
85 RepairGUI_FuseEdgesDlg.h
88 # header files / to be processed by moc
91 RepairGUI_SuppressFacesDlg.h
92 RepairGUI_ShapeProcessDlg.h
93 RepairGUI_CloseContourDlg.h
94 RepairGUI_RemoveIntWiresDlg.h
95 RepairGUI_RemoveHolesDlg.h
96 RepairGUI_DivideEdgeDlg.h
97 RepairGUI_FreeBoundDlg.h
98 RepairGUI_FreeFacesDlg.h
99 RepairGUI_ChangeOrientationDlg.h
101 RepairGUI_LimitToleranceDlg.h
102 RepairGUI_RemoveWebsDlg.h
103 RepairGUI_RemoveExtraEdgesDlg.h
104 RepairGUI_UnionFacesDlg.h
105 RepairGUI_FuseEdgesDlg.h
108 # header files / uic wrappings
109 QT4_WRAP_UI(_uic_HEADERS ${_uic_files})
113 # sources / moc wrappings
114 QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
116 SET(RepairGUI_SOURCES
118 RepairGUI_SewingDlg.cxx
119 RepairGUI_SuppressFacesDlg.cxx
120 RepairGUI_ShapeProcessDlg.cxx
121 RepairGUI_CloseContourDlg.cxx
122 RepairGUI_RemoveIntWiresDlg.cxx
123 RepairGUI_RemoveHolesDlg.cxx
124 RepairGUI_DivideEdgeDlg.cxx
125 RepairGUI_FreeBoundDlg.cxx
126 RepairGUI_FreeFacesDlg.cxx
127 RepairGUI_ChangeOrientationDlg.cxx
128 RepairGUI_GlueDlg.cxx
129 RepairGUI_LimitToleranceDlg.cxx
130 RepairGUI_RemoveWebsDlg.cxx
131 RepairGUI_RemoveExtraEdgesDlg.cxx
132 RepairGUI_UnionFacesDlg.cxx
133 RepairGUI_FuseEdgesDlg.cxx
140 ADD_LIBRARY(RepairGUI ${RepairGUI_SOURCES})
141 TARGET_LINK_LIBRARIES(RepairGUI ${_link_LIBRARIES})
142 INSTALL(TARGETS RepairGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})