1 # Copyright (C) 2010-2016 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 email : webmaster.salome@opencascade.com
19 # Author: Adrien Bruneton (CEA)
27 PVViewer_GUIElements.h
38 PVViewer_Behaviors.cxx
39 PVViewer_GUIElements.cxx
48 SET(CMAKE_INCLUDE_CURRENT_DIR ON)
49 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
50 INCLUDE_DIRECTORIES(${PARAVIEW_INCLUDE_DIRS})
52 ADD_DEFINITIONS(${QT_DEFINITIONS})
54 # Generate resources that will embedded
56 "${CMAKE_CURRENT_BINARY_DIR}/LightPara_configuration.qrc")
58 GENERATE_QT_RESOURCE_FROM_FILES(
60 "LightPara/Configuration"
61 "${PROJECT_SOURCE_DIR}/gui/xml/ParaViewReaders.xml;${PROJECT_SOURCE_DIR}/gui/xml/ParaViewFilters.xml")
63 QT_ADD_RESOURCES(rcs_sources
66 QT_WRAP_UIC(pl_FORMS_HEADERS ${pl_FORMS})
67 QT_WRAP_MOC(pl_HEADERS_MOC ${pl_HEADERS})
69 ADD_EXECUTABLE(paraLight
75 TARGET_LINK_LIBRARIES(paraLight ${QT_LIBRARIES} pqApplicationComponents vtkRenderingFreeType vtkInteractionStyle)#vtkRenderingFreeTypeOpenGL)
76 #INSTALL(TARGET paraLight bin)