Salome HOME
Update copyright
[modules/geom.git] / src / GEOMToolsGUI / GEOMToolsGUI.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 = GEOMToolsGUI
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 GUI_LDFLAGS = -L$$(GUI_ROOT_DIR)/lib/salome
44
45 INCLUDEPATH += $${QT_INCLUDES} $${VTK_INCLUDES} $${CAS_CPPFLAGS} $${PYTHON_INCLUDES} $${BOOST_CPPFLAGS} $${KERNEL_CXXFLAGS} $${GUI_CXXFLAGS} $${CORBA_INCLUDES} ../OBJECT ../GEOMBase ../GEOMClient ../GEOMImpl ../GEOMGUI $$(GEOM_ROOT_DIR)/idl $$(GEOM_ROOT_DIR)/salome_adm/unix
46
47 LIBS += -L$$(GEOM_ROOT_DIR)/lib -lGEOMBase -lGEOM $${GUI_LDFLAGS} -lVTKViewer -lOCCViewer -lsuit -lSalomeApp
48
49 CONFIG -= debug release debug_and_release
50 CONFIG += qt thread debug dll shared
51
52 win32:DEFINES += WIN32 
53 DEFINES += GEOMTOOLSGUI_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 SOURCES  = GEOMToolsGUI.cxx
56 SOURCES += GEOMToolsGUI_1.cxx
57 SOURCES += GEOMToolsGUI_TransparencyDlg.cxx
58 SOURCES += GEOMToolsGUI_NbIsosDlg.cxx
59
60 includes.files = $$HEADERS
61 includes.path = ../../include
62
63 INSTALLS += includes