1 # Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
26 OBJECTS_DIR = ../../obj/$$TARGET
28 QT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml
30 VTK_INCLUDES = $$(VTKHOME)/include/vtk
33 CAS_CPPFLAGS = $${CASROOT}/inc
35 PYTHON_INCLUDES = $$(PYTHONHOME)/include/python2.4
37 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
39 KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
41 GUI_CXXFLAGS = $$(GUI_ROOT_DIR)/include/salome
43 CORBA_INCLUDES = $$(OMNIORBDIR)/include $$(OMNIORBDIR)/include/omniORB4 $$(OMNIORBDIR)/include/COS
45 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
47 GUI_LDFLAGS = -L$$(GUI_ROOT_DIR)/lib/salome
49 INCLUDEPATH += $${QT_INCLUDES} $${VTK_INCLUDES} $${CAS_CPPFLAGS} $${PYTHON_INCLUDES} $${BOOST_CPPFLAGS} $${KERNEL_CXXFLAGS} $${GUI_CXXFLAGS} $${CORBA_INCLUDES} ../OBJECT ../GEOMFiltersSelection ../GEOMClient ../GEOMImpl $$(GEOM_ROOT_DIR)/idl $$(GEOM_ROOT_DIR)/salome_adm/unix
51 LIBS += -L$$(GEOM_ROOT_DIR)/lib -lGEOMFiltersSelection -lGEOMClient -lGEOMObject $${KERNEL_LDFLAGS} -lSalomeLifeCycleCORBA $${GUI_LDFLAGS} -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent
53 CONFIG -= debug release debug_and_release
54 CONFIG += qt thread debug dll shared
56 win32:DEFINES += WIN32
57 DEFINES += GEOMGUI_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
59 HEADERS = GeometryGUI.h
61 HEADERS += GEOM_Displayer.h
62 HEADERS += GEOMGUI_OCCSelector.h
63 HEADERS += GEOMGUI_Selection.h
64 HEADERS += GeometryGUI_Swig.hxx
65 HEADERS += GeometryGUI_Swig.i
66 HEADERS += GEOM_GEOMGUI.hxx
68 SOURCES = GeometryGUI.cxx
69 SOURCES += GEOMGUI.cxx
70 SOURCES += GEOM_Displayer.cxx
71 SOURCES += GEOMGUI_OCCSelector.cxx
72 SOURCES += GEOMGUI_Selection.cxx
73 SOURCES += GeometryGUI_Swig.cxx
75 TRANSLATIONS = GEOM_images.ts \
79 includes.files = $$HEADERS
80 includes.path = ../../include
82 resources.files = *.qm
83 resources.path = ../../resources
85 INSTALLS += includes resources