1 ## Copyright (C) 2014-2017 CEA/DEN, EDF R&D
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
18 ## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
24 # additional include directories
25 INCLUDE_DIRECTORIES(${QT_INCLUDES})
27 # additional preprocessor / compiler flags
28 ADD_DEFINITIONS(${QT_DEFINITIONS})
32 SamplePanelPlugin_Feature.h
33 SamplePanelPlugin_ModelWidget.h
34 SamplePanelPlugin_ModelWidgetCreator.h
35 SamplePanelPlugin_Panel.h
36 SamplePanelPlugin_Plugin.h
37 SamplePanelPlugin_WidgetCreator.h
40 SET(PROJECT_MOC_HEADERS
41 SamplePanelPlugin_ModelWidget.h
42 SamplePanelPlugin_Panel.h
46 SamplePanelPlugin_Feature.cpp
47 SamplePanelPlugin_ModelWidget.cpp
48 SamplePanelPlugin_ModelWidgetCreator.cpp
49 SamplePanelPlugin_Panel.cpp
50 SamplePanelPlugin_Plugin.cpp
51 SamplePanelPlugin_WidgetCreator.cpp
63 plugin-SamplePanel.xml
65 # sources / moc wrappings
66 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
68 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC})
70 ADD_DEFINITIONS(-DSAMPLEPANELPLUGIN_EXPORTS -DWNT)
71 ADD_LIBRARY(SamplePanelPlugin MODULE
77 TARGET_LINK_LIBRARIES(SamplePanelPlugin ${PROJECT_LIBRARIES})
80 ${OpenCASCADE_INCLUDE_DIR}
87 INSTALL(TARGETS SamplePanelPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
88 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})