1 # Copyright (C) 2012-2015 ALNEOS
2 # Copyright (C) 2016-2020 EDF R&D
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 # See http://www.alneos.com/ or email : contact@alneos.fr
19 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
25 # additional include directories
28 ${OpenCASCADE_INCLUDE_DIR}
29 ${KERNEL_INCLUDE_DIRS}
34 ${OMNIORB_INCLUDE_DIR}
35 ${CMAKE_CURRENT_BINARY_DIR}
36 ${PROJECT_BINARY_DIR}/idl
37 ${PROJECT_SOURCE_DIR}/src/GMSHPlugin
40 # additional preprocessor / compiler flags
43 ${OMNIORB_DEFINITIONS}
44 ${OpenCASCADE_DEFINITIONS}
48 # libraries to link to
51 ${KERNEL_SALOMELocalTrace}
55 ${SMESH_StdMeshersGUI}
56 ${SMESH_SMESHFiltersSelection}
60 ${OpenCASCADE_FoundationClasses_LIBRARIES}
66 # header files / to be processed by moc
68 GMSHPluginGUI_HypothesisCreator.h
71 # header files / no moc processed
76 SET(GMSHPluginGUI_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
80 # sources / moc wrappings
81 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
86 GMSHPluginGUI_HypothesisCreator.cxx
91 # resource files / to be processed by lrelease
98 # sources / to compile
99 SET(GMSHPluginGUI_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
103 ADD_LIBRARY(GMSHPluginGUI ${GMSHPluginGUI_SOURCES})
104 TARGET_LINK_LIBRARIES(GMSHPluginGUI ${_link_LIBRARIES} )
105 INSTALL(TARGETS GMSHPluginGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
107 INSTALL(FILES ${GMSHPluginGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
108 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GMSHPLUGIN_INSTALL_RES_DATA}")