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/Material
40 ${PROJECT_SOURCE_DIR}/src/DependencyTree
41 ${PROJECT_SOURCE_DIR}/src/GEOMUtils
42 ${CMAKE_CURRENT_SOURCE_DIR}
45 # additional preprocessor / compiler flags
48 ${OMNIORB_DEFINITIONS}
52 # libraries to link to
62 IF(SALOME_USE_GRAPHICSVIEW)
63 LIST(APPEND _link_LIBRARIES
70 SET(GEOMToolsGUI_HEADERS
73 GEOMToolsGUI_NbIsosDlg.h
74 GEOMToolsGUI_DeflectionDlg.h
75 GEOMToolsGUI_TransparencyDlg.h
76 GEOMToolsGUI_DeleteDlg.h
77 GEOMToolsGUI_MarkerDlg.h
78 GEOMToolsGUI_PublishDlg.h
79 GEOMToolsGUI_MaterialPropertiesDlg.h
80 GEOMToolsGUI_LineWidthDlg.h
81 GEOMToolsGUI_ReduceStudyDlg.h
84 # header files / to be processed by moc
86 GEOMToolsGUI_TransparencyDlg.h
87 GEOMToolsGUI_NbIsosDlg.h
88 GEOMToolsGUI_DeflectionDlg.h
89 GEOMToolsGUI_DeleteDlg.h
90 GEOMToolsGUI_MarkerDlg.h
91 GEOMToolsGUI_PublishDlg.h
92 GEOMToolsGUI_MaterialPropertiesDlg.h
93 GEOMToolsGUI_LineWidthDlg.h
94 GEOMToolsGUI_ReduceStudyDlg.h
99 # sources / moc wrappings
100 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
102 SET(GEOMToolsGUI_SOURCES
105 GEOMToolsGUI_TransparencyDlg.cxx
106 GEOMToolsGUI_NbIsosDlg.cxx
107 GEOMToolsGUI_DeflectionDlg.cxx
108 GEOMToolsGUI_DeleteDlg.cxx
109 GEOMToolsGUI_MarkerDlg.cxx
110 GEOMToolsGUI_PublishDlg.cxx
111 GEOMToolsGUI_MaterialPropertiesDlg.cxx
112 GEOMToolsGUI_LineWidthDlg.cxx
113 GEOMToolsGUI_ReduceStudyDlg.cxx
119 ADD_LIBRARY(GEOMToolsGUI ${GEOMToolsGUI_SOURCES})
120 TARGET_LINK_LIBRARIES(GEOMToolsGUI ${_link_LIBRARIES})
121 INSTALL(TARGETS GEOMToolsGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
122 INSTALL(FILES ${GEOMToolsGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})