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)
25 PVViewer_GUIElements.h
36 PVViewer_Behaviors.cxx
37 PVViewer_GUIElements.cxx
46 SET(CMAKE_INCLUDE_CURRENT_DIR ON)
47 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
48 INCLUDE_DIRECTORIES(${PARAVIEW_INCLUDE_DIRS})
50 INCLUDE(${QT_USE_FILE})
51 ADD_DEFINITIONS(${QT_DEFINITIONS})
53 # Generate resources that will embedded
55 "${CMAKE_CURRENT_BINARY_DIR}/LightPara_configuration.qrc")
57 GENERATE_QT_RESOURCE_FROM_FILES(
59 "/LightPara/Configuration"
60 "${PROJECT_SOURCE_DIR}/gui/xml/ParaViewReaders.xml")
62 QT4_ADD_RESOURCES(rcs_sources
65 QT4_WRAP_UI(pl_FORMS_HEADERS ${pl_FORMS})
66 QT4_WRAP_CPP(pl_HEADERS_MOC ${pl_HEADERS})
68 ADD_EXECUTABLE(paraLight
74 TARGET_LINK_LIBRARIES(paraLight ${QT_LIBRARIES} pqApplicationComponents vtkRenderingFreeType)#vtkRenderingFreeTypeOpenGL)
75 #INSTALL(TARGET paraLight bin)