Salome HOME
a52f844ce3c559983f205e0ea9417be65bf67328
[modules/gui.git] / src / TOOLSGUI / TOOLSGUI.pro
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
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.
10 #
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.
15 #
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
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 TEMPLATE = lib
23 TARGET = ToolsGUI
24 DESTDIR = ../../lib
25 MOC_DIR = ../../moc
26 OBJECTS_DIR = ../../obj/$$TARGET
27
28 CASROOT = $$(CASROOT)
29 CAS_CPPFLAGS = $${CASROOT}/inc
30
31 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
32
33 KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
34
35 CORBA_INCLUDES = $$(OMNIORBDIR)/include $$(OMNIORBDIR)/include/omniORB4 $$(OMNIORBDIR)/include/COS
36
37 CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel
38
39 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
40
41 INCLUDEPATH += $${CAS_CPPFLAGS} $${BOOST_CPPFLAGS} $${KERNEL_CXXFLAGS} $${CORBA_INCLUDES} ../../salome_adm/unix ../../idl ../Qtx ../SUIT
42 LIBS += -L../../lib -lsuit -lSalomeNS -lOpUtil $${CAS_KERNEL} $${KERNEL_LDFLAGS}
43
44 CONFIG -= debug release debug_and_release
45 CONFIG += qt thread debug dll shared
46
47 win32:DEFINES += WIN32 
48 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
49
50 HEADERS  = ToolsGUI.h
51 HEADERS += ToolsGUI_RegWidget.h
52 HEADERS += ToolsGUI_CatalogGeneratorDlg.h
53
54 SOURCES  = ToolsGUI_CatalogGeneratorDlg.cxx
55 SOURCES += ToolsGUI_RegWidget.cxx
56 SOURCES += ToolsGUI.cxx
57
58 TRANSLATIONS = resources/ToolsGUI_icons.ts \
59                resources/ToolsGUI_msg_en.ts
60
61 ICONS   = resources/*.png
62
63 includes.files = $$HEADERS
64 includes.path = ../../include
65
66 resources.files = $$ICONS resources/*.qm
67 resources.path = ../../resources
68
69 INSTALLS += includes resources