]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMBase/GEOMBase.pro
Salome HOME
GDD: Check that the PipeTShape is a block if it is required by user
[modules/geom.git] / src / GEOMBase / GEOMBase.pro
1 #  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
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.
7 #
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.
12 #
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
16 #
17 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 TEMPLATE = lib
21 TARGET = GEOMBase
22 DESTDIR = ../../lib
23 MOC_DIR = ../../moc
24 OBJECTS_DIR = ../../obj/$$TARGET
25
26 QT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml
27
28 VTK_INCLUDES = $$(VTKHOME)/include/vtk
29
30 CASROOT = $$(CASROOT)
31 CAS_CPPFLAGS = $${CASROOT}/inc
32
33 PYTHON_INCLUDES = $$(PYTHONHOME)/include/python2.4
34
35 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
36
37 KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
38
39 GUI_CXXFLAGS = $$(GUI_ROOT_DIR)/include/salome
40
41 CORBA_INCLUDES = $$(OMNIORBDIR)/include $$(OMNIORBDIR)/include/omniORB4 $$(OMNIORBDIR)/include/COS
42
43 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
44
45 GUI_LDFLAGS = -L$$(GUI_ROOT_DIR)/lib/salome
46
47 CAS_LDPATH = -L$${CASROOT}/Linux/lib 
48
49 INCLUDEPATH += $${QT_INCLUDES} $${VTK_INCLUDES} $${CAS_CPPFLAGS} $${PYTHON_INCLUDES} $${BOOST_CPPFLAGS} $${KERNEL_CXXFLAGS} $${GUI_CXXFLAGS} $${CORBA_INCLUDES} ../OBJECT ../GEOMClient ../GEOMImpl ../GEOMGUI ../DlgRef $$(GEOM_ROOT_DIR)/idl $$(GEOM_ROOT_DIR)/salome_adm/unix
50
51 LIBS += -L$$(GEOM_ROOT_DIR)/idl -lSalomeIDLGEOM -L$$(GEOM_ROOT_DIR)/lib -lGEOM -lDlgRef $${KERNEL_LDFLAGS} -lOpUtil $${GUI_LDFLAGS} -lsuit -lOCCViewer -lVTKViewer -lSVTK -lSalomePrs -lSalomeApp -lCAM $${CAS_LDPATH} -lTKPrim
52
53 CONFIG -= debug release debug_and_release
54 CONFIG += qt thread debug dll shared
55
56 win32:DEFINES += WIN32 
57 DEFINES += GEOMBASE_EXPORTS OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS OMNIORB_VERSION=4 __x86__ __linux__ COMP_CORBA_DOUBLE COMP_CORBA_LONG
58
59 HEADERS  = GEOMBase.h
60 HEADERS += GEOMBase_Skeleton.h
61 HEADERS += GEOMBase_Helper.h
62 HEADERS += GEOM_Operation.h
63 HEADERS += GEOM_GEOMBase.hxx
64
65 SOURCES  = GEOMBase.cxx
66 SOURCES += GEOMBase_Skeleton.cxx
67 SOURCES += GEOMBase_aParameterDlg.cxx
68 SOURCES += GEOMBase_Helper.cxx
69 SOURCES += GEOM_Operation.cxx
70
71 includes.files = $$HEADERS
72 includes.path = ../../include
73
74 INSTALLS += includes