Salome HOME
Update copyright
[modules/geom.git] / src / SKETCHER / SKETCHER.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 = GEOMSketcher
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 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
32
33 STDLIB = -lstdc++
34
35 CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel
36
37 CAS_MODELER = -L$${CASROOT}/Linux/lib -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat
38
39 INCLUDEPATH += $${CAS_CPPFLAGS} $${KERNEL_CXXFLAGS}
40
41 LIBS += $${KERNEL_LDFLAGS} -lSALOMELocalTrace $${STDLIB} $${CAS_KERNEL} $${CAS_MODELER}
42
43 CONFIG -= debug release debug_and_release
44 CONFIG += qt thread debug dll shared
45
46 win32:DEFINES += WIN32 
47 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
48
49 HEADERS  = Sketcher_Profile.hxx
50
51 SOURCES  = Sketcher_Profile.cxx
52
53 includes.files = $$HEADERS
54 includes.path = ../../include
55
56 INSTALLS += includes