Salome HOME
Update copyright information
[modules/geom.git] / src / GEOM / GEOM.pro
1 # Copyright (C) 2007-2012  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 = GEOMbasic
22 DESTDIR = ../../lib
23 MOC_DIR = ../../moc
24 OBJECTS_DIR = ../../obj/$$TARGET
25
26 CASROOT = $$(CASROOT)
27 CAS_CPPFLAGS = $${CASROOT}/inc
28
29 KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
30
31 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
32
33 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
34
35 STDLIB = -lstdc++
36
37 CAS_LDPATH = -L$${CASROOT}/Linux/lib
38
39 CAS_OCAF = -L$${CASROOT}/Linux/lib -lPTKernel -lTKernel -lTKCDF -lTKLCAF -lTKPCAF -lTKStdSchema
40
41 CAS_OCAFVIS = -L$${CASROOT}/Linux/lib -lTKCAF -lStdPlugin -lStdLPlugin -lTKPLCAF -lTKPShape -lTKStdLSchema -lTKShapeSchema
42
43 INCLUDEPATH += $${CAS_CPPFLAGS} $${KERNEL_CXXFLAGS} $${BOOST_CPPFLAGS} ../../salome_adm/unix
44
45 LIBS += $${KERNEL_LDFLAGS} -lSALOMELocalTrace $${STDLIB} $${CAS_LDPATH} -lTKXSBase $${CAS_OCAF} $${CAS_OCAFVIS}
46
47 CONFIG -= debug release debug_and_release
48 CONFIG += qt thread debug dll shared
49
50 win32:DEFINES += WIN32 
51 DEFINES += 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
52
53 HEADERS  = GEOM_Application.hxx
54 HEADERS += Handle_GEOM_Application.hxx
55 HEADERS += GEOM_Engine.hxx
56 HEADERS += GEOM_Function.hxx
57 HEADERS += GEOM_Object.hxx
58 HEADERS += GEOM_IOperations.hxx
59 HEADERS += GEOM_ISubShape.hxx
60 HEADERS += GEOM_Solver.hxx
61 HEADERS += GEOM_PythonDump.hxx
62 HEADERS += GEOM_DataMapOfAsciiStringTransient.hxx
63 HEADERS += Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
64
65 SOURCES  = GEOM_Application.cxx
66 SOURCES += GEOM_Engine.cxx
67 SOURCES += GEOM_Function.cxx
68 SOURCES += GEOM_Object.cxx
69 SOURCES += GEOM_IOperations.cxx
70 SOURCES += GEOM_Solver.cxx
71 SOURCES += GEOM_SubShapeDriver.cxx
72 SOURCES += GEOM_PythonDump.cxx
73 SOURCES += GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx
74 SOURCES += GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_0.cxx
75 SOURCES += GEOM_DataMapOfAsciiStringTransient_0.cxx
76
77 includes.files = $$HEADERS
78 includes.path = ../../include
79
80 INSTALLS += includes