Salome HOME
Windows port
[modules/geom.git] / src / GEOM / GEOM.pro
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 TEMPLATE = lib
23 TARGET = GEOMbasic
24 DESTDIR = ../../lib
25 MOC_DIR = ../../moc
26 OBJECTS_DIR = ../../obj/$$TARGET
27
28 CASROOT = $$(CASROOT)
29 CAS_CPPFLAGS = $${CASROOT}/inc
30
31 KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
32
33 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
34
35 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
36
37 STDLIB = -lstdc++
38
39 CAS_LDPATH = -L$${CASROOT}/Linux/lib
40
41 CAS_OCAF = -L$${CASROOT}/Linux/lib -lPTKernel -lTKernel -lTKCDF -lTKLCAF -lTKPCAF -lTKStdSchema
42
43 CAS_OCAFVIS = -L$${CASROOT}/Linux/lib -lTKCAF -lStdPlugin -lStdLPlugin -lTKPLCAF -lTKPShape -lTKStdLSchema -lTKShapeSchema
44
45 INCLUDEPATH += $${CAS_CPPFLAGS} $${KERNEL_CXXFLAGS} $${BOOST_CPPFLAGS} ../../salome_adm/unix
46
47 LIBS += $${KERNEL_LDFLAGS} -lSALOMELocalTrace $${STDLIB} $${CAS_LDPATH} -lTKXSBase $${CAS_OCAF} $${CAS_OCAFVIS}
48
49 CONFIG -= debug release debug_and_release
50 CONFIG += qt thread debug dll shared
51
52 win32:DEFINES += WIN32 
53 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
54
55 HEADERS  = GEOM_Application.hxx
56 HEADERS += Handle_GEOM_Application.hxx
57 HEADERS += GEOM_Engine.hxx
58 HEADERS += GEOM_Function.hxx
59 HEADERS += GEOM_Object.hxx
60 HEADERS += GEOM_IOperations.hxx
61 HEADERS += GEOM_ISubShape.hxx
62 HEADERS += GEOM_Solver.hxx
63 HEADERS += GEOM_PythonDump.hxx
64 HEADERS += GEOM_DataMapOfAsciiStringTransient.hxx
65 HEADERS += Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
66
67 SOURCES  = GEOM_Application.cxx
68 SOURCES += GEOM_Engine.cxx
69 SOURCES += GEOM_Function.cxx
70 SOURCES += GEOM_Object.cxx
71 SOURCES += GEOM_IOperations.cxx
72 SOURCES += GEOM_Solver.cxx
73 SOURCES += GEOM_SubShapeDriver.cxx
74 SOURCES += GEOM_PythonDump.cxx
75 SOURCES += GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx
76 SOURCES += GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_0.cxx
77 SOURCES += GEOM_DataMapOfAsciiStringTransient_0.cxx
78
79 includes.files = $$HEADERS
80 includes.path = ../../include
81
82 INSTALLS += includes