1 # Copyright (C) 2012-2015 ALNEOS
2 # Copyright (C) 2016-2024 EDF
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}
36 ${CMAKE_CURRENT_BINARY_DIR}
37 ${PROJECT_BINARY_DIR}/idl
38 ${PROJECT_SOURCE_DIR}/src/GMSHPlugin
41 # additional preprocessor / compiler flags
44 ${OMNIORB_DEFINITIONS}
45 ${OpenCASCADE_DEFINITIONS}
49 # libraries to link to
52 ${KERNEL_SALOMELocalTrace}
56 ${SMESH_StdMeshersGUI}
57 ${SMESH_SMESHFiltersSelection}
61 ${OpenCASCADE_FoundationClasses_LIBRARIES}
67 # header files / to be processed by moc
69 GMSHPluginGUI_HypothesisCreator.h
72 # header files / no moc processed
77 SET(GMSHPluginGUI_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
81 # sources / moc wrappings
82 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
87 GMSHPluginGUI_HypothesisCreator.cxx
92 # resource files / to be processed by lrelease
99 # sources / to compile
100 SET(GMSHPluginGUI_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
104 ADD_LIBRARY(GMSHPluginGUI ${GMSHPluginGUI_SOURCES})
105 TARGET_LINK_LIBRARIES(GMSHPluginGUI ${_link_LIBRARIES} )
106 INSTALL(TARGETS GMSHPluginGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
108 INSTALL(FILES ${GMSHPluginGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
109 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GMSHPLUGIN_INSTALL_RES_DATA}")