Salome HOME
Update copyright
[modules/geom.git] / src / OBJECT / OBJECT.pro
1 # Copyright (C) 2007-2011  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 = GEOMObject
22 DESTDIR = ../../lib
23 MOC_DIR = ../../moc
24 OBJECTS_DIR = ../../obj/$$TARGET
25
26 CORBA_INCLUDES = $$(OMNIORBDIR)/include $$(OMNIORBDIR)/include/omniORB4 $$(OMNIORBDIR)/include/COS
27
28 QT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml
29
30 PYTHON_INCLUDES = $$(PYTHONHOME)/include/python2.4
31
32 CASROOT = $$(CASROOT)
33 CAS_CPPFLAGS = $${CASROOT}/inc
34
35 VTK_INCLUDES = $$(VTKHOME)/include/vtk
36
37 KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
38
39 GUI_CXXFLAGS = $$(GUI_ROOT_DIR)/include/salome
40
41 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
42
43 GUI_LDFLAGS = -L$$(GUI_ROOT_DIR)/lib/salome
44
45 INCLUDEPATH += $${CORBA_INCLUDES} $${QT_INCLUDES} $${PYTHON_INCLUDES} $${CAS_CPPFLAGS} $${VTK_INCLUDES} $${KERNEL_CXXFLAGS} $${GUI_CXXFLAGS}
46
47 LIBS += $${KERNEL_LDFLAGS} -lSALOMELocalTrace $${GUI_LDFLAGS} -lqtx -lVTKViewer -lSVTK -lSalomeObject
48
49 CONFIG -= debug release debug_and_release
50 CONFIG += qt thread debug dll shared
51
52 win32:DEFINES += WIN32 
53 DEFINES += OBJECT_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
54
55 HEADERS  = GEOM_Actor.h
56 HEADERS += GEOM_AISShape.hxx
57 HEADERS += Handle_GEOM_AISShape.hxx
58 HEADERS += GEOM_InteractiveObject.hxx
59 HEADERS += Handle_GEOM_InteractiveObject.hxx
60 HEADERS += GEOM_AISTrihedron.hxx
61 HEADERS += GEOM_VTKTrihedron.hxx
62 HEADERS += GEOM_AISVector.hxx
63 HEADERS += GEOM_OBJECT_defs.hxx
64
65 SOURCES  = GEOM_Actor.cxx
66 SOURCES += GEOM_OCCReader.cxx
67 SOURCES += GEOM_AISShape.cxx
68 SOURCES += GEOM_InteractiveObject.cxx
69 SOURCES += GEOM_AISTrihedron.cxx
70 SOURCES += GEOM_VTKTrihedron.cxx
71 SOURCES += GEOM_AISVector.cxx
72
73 includes.files = $$HEADERS
74 includes.path = ../../include
75
76 INSTALLS += includes