1 # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 TARGET = GenerationGUI
24 OBJECTS_DIR = ../../obj/$$TARGET
26 QT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml
28 VTK_INCLUDES = $$(VTKHOME)/include/vtk
31 CAS_CPPFLAGS = $${CASROOT}/inc
33 PYTHON_INCLUDES = $$(PYTHONHOME)/include/python2.4
35 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
37 KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
39 GUI_CXXFLAGS = $$(GUI_ROOT_DIR)/include/salome
41 CORBA_INCLUDES = $$(OMNIORBDIR)/include $$(OMNIORBDIR)/include/omniORB4 $$(OMNIORBDIR)/include/COS
43 CAS_LDPATH = -L$${CASROOT}/Linux/lib
45 INCLUDEPATH += $${QT_INCLUDES} $${VTK_INCLUDES} $${CAS_CPPFLAGS} $${PYTHON_INCLUDES} $${BOOST_CPPFLAGS} $${KERNEL_CXXFLAGS} $${GUI_CXXFLAGS} $${CORBA_INCLUDES} ../GEOMGUI ../DlgRef ../GEOMBase ../OBJECT ../GEOMClient ../GEOMImpl ../GEOMFiltersSelection $$(GEOM_ROOT_DIR)/idl $$(GEOM_ROOT_DIR)/salome_adm/unix
47 LIBS += -L$$(GEOM_ROOT_DIR)/lib -lGEOMFiltersSelection -lGEOMBase $${CAS_LDPATH} -lTKOffset
49 CONFIG -= debug release debug_and_release
50 CONFIG += qt thread debug dll shared
52 win32:DEFINES += WIN32
53 DEFINES += GENERATIONGUI_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
55 SOURCES = GenerationGUI.cxx
56 SOURCES += GenerationGUI_PrismDlg.cxx
57 SOURCES += GenerationGUI_RevolDlg.cxx
58 SOURCES += GenerationGUI_FillingDlg.cxx
59 SOURCES += GenerationGUI_PipeDlg.cxx
61 includes.files = $$HEADERS
62 includes.path = ../../include