Update README.md
[engrid-github.git] / src / misc / engrid-vtk-win_paraview.pri
blobf075c313dbbf70fb8f0c3bc72c1abfd85425f98f
1 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 # +                                                                      +
3 # + This file is part of enGrid.                                         +
4 # +                                                                      +
5 # + Copyright 2008-2014 enGits GmbH                                      +
6 # +                                                                      +
7 # + enGrid is free software: you can redistribute it and/or modify       +
8 # + it under the terms of the GNU General Public License as published by +
9 # + the Free Software Foundation, either version 3 of the License, or    +
10 # + (at your option) any later version.                                  +
11 # +                                                                      +
12 # + enGrid is distributed in the hope that it will be useful,            +
13 # + but WITHOUT ANY WARRANTY; without even the implied warranty of       +
14 # + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        +
15 # + GNU General Public License for more details.                         +
16 # +                                                                      +
17 # + You should have received a copy of the GNU General Public License    +
18 # + along with enGrid. If not, see <http://www.gnu.org/licenses/>.       +
19 # +                                                                      +
20 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22 # Default values for the above variables
23 DEF_PV_INSTDIR = "I:/ParaView_Git/ParaView-bin"
24 DEF_PV_VERSION = "3.11"
26 # ------ Check and assign the right values to the variables ------
27 TMPVAR = $$(PV_VER)
28 !isEmpty(TMPVAR) {
29     PV_VERSION = $(PV_VER)
30 } else {
31     PV_VERSION = $${DEF_PV_VERSION}
34 TMPVAR = $$(PV_INSTDIR)
35 !isEmpty(TMPVAR) {
36     VTK_LIB_DIR    = $(PV_INSTDIR)/lib/paraview-$${PV_VERSION}
37     VTK_PV_INC_DIR = $(PV_INSTDIR)/include/paraview-$${PV_VERSION}
38 } else {
39     VTK_LIB_DIR    = $${DEF_PV_INSTDIR}/lib/paraview-$${PV_VERSION}
40     VTK_PV_INC_DIR = $${DEF_PV_INSTDIR}/include/paraview-$${PV_VERSION}    
42 # -----------------------------------------------------------------
44 INCLUDEPATH += $${VTK_PV_INC_DIR}
46 LIBS += -L$${VTK_LIB_DIR}