Salome HOME
0021147: EDF GEOM: Difference between compound of line and compound of edges
[modules/geom.git] / src / GEOMGUI / GEOMGUI.pro
1 #  Copyright (C) 2007-2010  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 = GEOM
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 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
44
45 GUI_LDFLAGS = -L$$(GUI_ROOT_DIR)/lib/salome
46
47 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
48
49 LIBS += -L$$(GEOM_ROOT_DIR)/lib -lGEOMFiltersSelection -lGEOMClient -lGEOMObject $${KERNEL_LDFLAGS} -lSalomeLifeCycleCORBA $${GUI_LDFLAGS} -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent
50
51 CONFIG -= debug release debug_and_release
52 CONFIG += qt thread debug dll shared
53
54 win32:DEFINES += WIN32 
55 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
56
57 HEADERS  = GeometryGUI.h
58 HEADERS += GEOMGUI.h
59 HEADERS += GEOM_Displayer.h
60 HEADERS += GEOMGUI_OCCSelector.h
61 HEADERS += GEOMGUI_Selection.h
62 HEADERS += GeometryGUI_Swig.hxx
63 HEADERS += GeometryGUI_Swig.i
64 HEADERS += GEOM_GEOMGUI.hxx
65
66 SOURCES  = GeometryGUI.cxx
67 SOURCES += GEOMGUI.cxx
68 SOURCES += GEOM_Displayer.cxx
69 SOURCES += GEOMGUI_OCCSelector.cxx
70 SOURCES += GEOMGUI_Selection.cxx
71 SOURCES += GeometryGUI_Swig.cxx
72
73 TRANSLATIONS = GEOM_images.ts \
74                GEOM_msg_en.ts \
75                GEOM_msg_fr.ts
76
77 includes.files = $$HEADERS
78 includes.path = ../../include
79
80 resources.files = *.qm
81 resources.path = ../../resources
82
83 INSTALLS += includes resources