1 # Copyright (C) 2012-2015 ALNEOS
2 # Copyright (C) 2016 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
24 # additional include directories
27 ${OpenCASCADE_INCLUDE_DIR}
28 ${KERNEL_INCLUDE_DIRS}
33 ${OMNIORB_INCLUDE_DIR}
34 ${CMAKE_CURRENT_BINARY_DIR}
35 ${PROJECT_BINARY_DIR}/idl
36 ${PROJECT_SOURCE_DIR}/src/GMSHPlugin
39 # additional preprocessor / compiler flags
42 ${OMNIORB_DEFINITIONS}
43 ${OpenCASCADE_DEFINITIONS}
47 # libraries to link to
50 ${KERNEL_SALOMELocalTrace}
54 ${SMESH_StdMeshersGUI}
55 ${SMESH_SMESHFiltersSelection}
59 ${OpenCASCADE_FoundationClasses_LIBRARIES}
65 # header files / to be processed by moc
67 GMSHPluginGUI_HypothesisCreator.h
70 # header files / no moc processed
75 SET(GMSHPluginGUI_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
79 # sources / moc wrappings
80 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
85 GMSHPluginGUI_HypothesisCreator.cxx
90 # resource files / to be processed by lrelease
97 # sources / to compile
98 SET(GMSHPluginGUI_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
102 ADD_LIBRARY(GMSHPluginGUI ${GMSHPluginGUI_SOURCES})
103 TARGET_LINK_LIBRARIES(GMSHPluginGUI ${_link_LIBRARIES} )
104 INSTALL(TARGETS GMSHPluginGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
106 INSTALL(FILES ${GMSHPluginGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
107 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GMSHPLUGIN_INSTALL_RES_DATA}")