1 # Copyright (C) 2010-2014 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
24 INCLUDE_DIRECTORIES(${GUI_INCLUDE_DIRS}
26 ${CMAKE_CURRENT_SOURCE_DIR}
29 SET(_PARAVIEW_APP_COMPO_LIB
30 pqApplicationComponents
33 ADD_DEFINITIONS(${KERNEL_DEFINITIONS})
34 ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
37 ${KERNEL_LDFLAGS} ${KERNEL_SALOMELocalTrace} ${KERNEL_SalomeLifeCycleCORBA}
38 ${GUI_LDFLAGS} ${GUI_SalomeApp} ${GUI_LightApp} ${GUI_suit} ${GUI_Event}
39 ${_PARAVIEW_APP_COMPO_LIB}
45 # header files / to be processed by moc
47 PVViewer_ViewManager.h
53 # header files / no moc processing
55 PVViewer_LogWindowAdapter.h
57 # header files / to install
58 SET(PVViewer_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
62 # sources / moc wrappings
63 QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
67 PVViewer_ViewManager.cxx
68 PVViewer_ViewModel.cxx
69 PVViewer_ViewWindow.cxx
70 PVViewer_LogWindowAdapter.cxx
71 PVViewer_Behaviors.cxx
74 # sources / to compile
81 ADD_LIBRARY(PVViewer ${PVViewer_SOURCES})
83 TARGET_LINK_LIBRARIES(PVViewer ${_link_LIBRARIES})
84 INSTALL(TARGETS PVViewer EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
86 # --- header and resources installation ---
87 INSTALL(FILES ${PVViewer_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})