Mercurial > octave-nkf
annotate gui/src/src.pro @ 14304:141992eaabc3 gui
Moved msvc-debug.pri to src/.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 31 Jan 2012 22:15:26 +0100 |
parents | 06d2bb89b6af |
children | f13f4f4360cb |
rev | line source |
---|---|
13504
13e3d60aff2d
Replaced Quint with OctaveGUI.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13502
diff
changeset
|
1 # OctaveGUI - A graphical user interface for Octave |
13674
c0e66d6e3dc8
Updated license headers and moved to AGPLv3.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13673
diff
changeset
|
2 # Copyright (C) 2011 Jacob Dawid (jacob.dawid@googlemail.com) |
13501 | 3 # |
4 # This program is free software: you can redistribute it and/or modify | |
14290
faece6b2ab90
Corrected license headers in all files to GPL.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14289
diff
changeset
|
5 # it under the terms of the GNU General Public License as |
13674
c0e66d6e3dc8
Updated license headers and moved to AGPLv3.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13673
diff
changeset
|
6 # published by the Free Software Foundation, either version 3 of the |
c0e66d6e3dc8
Updated license headers and moved to AGPLv3.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13673
diff
changeset
|
7 # License, or (at your option) any later version. |
13501 | 8 # |
9 # This program is distributed in the hope that it will be useful, | |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14290
faece6b2ab90
Corrected license headers in all files to GPL.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14289
diff
changeset
|
12 # GNU General Public License for more details. |
13501 | 13 # |
14290
faece6b2ab90
Corrected license headers in all files to GPL.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14289
diff
changeset
|
14 # You should have received a copy of the GNU General Public License |
13674
c0e66d6e3dc8
Updated license headers and moved to AGPLv3.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13673
diff
changeset
|
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
13501 | 16 |
17 # Basic settings: | |
13579
6568fccb8940
Updated russian and ukrainian translation files.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13574
diff
changeset
|
18 QT += core gui webkit network # Qt modules |
13501 | 19 TEMPLATE = app # Build as application |
13502
751bbbcfd6e3
Renamed project files and target binary to octave-gui.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13501
diff
changeset
|
20 TARGET = octave-gui # Name of the target binary |
13501 | 21 |
14302
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
22 DESTDIR = ../bin # Destination of the output |
13501 | 23 |
13561
dd029759f57e
Corrected language files.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13558
diff
changeset
|
24 TRANSLATIONS += languages/generic.ts \ |
13566
d22b9973120f
Renamed language files to match convention.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13563
diff
changeset
|
25 languages/de-de.ts \ |
13572
7fff75c62f30
Added spanish translation.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13566
diff
changeset
|
26 languages/pt-br.ts \ |
13573
908c86cfe656
Added russian and ukrainian translation.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13572
diff
changeset
|
27 languages/es-es.ts \ |
908c86cfe656
Added russian and ukrainian translation.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13572
diff
changeset
|
28 languages/ru-ru.ts \ |
13574
4f44084ce322
Corrected language files for russian and ukrainian.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13573
diff
changeset
|
29 languages/uk-ua.ts # Available translations |
14269
4a6867289e24
Removed the old IRC Client code and replaced it by qirc.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14265
diff
changeset
|
30 LIBS += -lqscintilla2 \ |
14302
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
31 -L../qirc/libqirc -lqirc \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
32 -L../qterminal/libqterminal -lqterminal \ |
14269
4a6867289e24
Removed the old IRC Client code and replaced it by qirc.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14265
diff
changeset
|
33 $$system(mkoctfile -p LIBS) \ |
4a6867289e24
Removed the old IRC Client code and replaced it by qirc.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14265
diff
changeset
|
34 $$system(mkoctfile -p OCTAVE_LIBS) |
13501 | 35 |
36 mac { | |
37 CONFIG -= app_bundle | |
38 } | |
39 | |
40 # Includepaths and libraries to link against: | |
14302
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
41 INCLUDEPATH += . backend ../qterminal/libqterminal ../qirc/libqirc \ |
13673
6a11fd0efa16
Bugfix for building on Debian.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13668
diff
changeset
|
42 $$system(mkoctfile -p INCFLAGS) |
13596
f6bb48258200
Corrected mistake.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13595
diff
changeset
|
43 INCFLAGS += $$system(mkoctfile -p INCFLAGS) |
13501 | 44 mac { |
14291
c39c7f2b1e46
Replaced local-native with local in octave-gui.pro for building on MacOS.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14290
diff
changeset
|
45 INCFLAGS += -I/opt/local/include |
13501 | 46 } |
47 | |
13769
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
48 QMAKE_LIBDIR += $$system(octave-config -p OCTLIBDIR) |
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
49 |
13501 | 50 mac { |
14291
c39c7f2b1e46
Replaced local-native with local in octave-gui.pro for building on MacOS.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14290
diff
changeset
|
51 LFLAGS += -L/opt/local/lib |
13501 | 52 } |
53 | |
13682 | 54 unix { |
14302
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
55 LIBS += -lutil |
13682 | 56 } |
57 | |
13769
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
58 win32-g++ { |
13682 | 59 QMAKE_LFLAGS += --enable-auto-import |
60 } | |
61 | |
13769
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
62 win32-msvc* { |
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
63 DEFINES += QSCINTILLA_DLL |
13869
d80086a9880e
Initial implementation of a Qt Win32 terminal widget.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13769
diff
changeset
|
64 #CONFIG += console |
14304
141992eaabc3
Moved msvc-debug.pri to src/.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14303
diff
changeset
|
65 include(msvc-debug.pri) |
13769
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
66 } |
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
67 |
13682 | 68 QMAKE_LFLAGS += $$LFLAGS $$system(mkoctfile -p RLD_FLAG) |
13501 | 69 QMAKE_CXXFLAGS += $$INCFLAGS |
70 | |
71 # Files associated with the project: | |
72 SOURCES +=\ | |
14302
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
73 lexer/lexeroctavegui.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
74 MainWindow.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
75 WorkspaceView.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
76 HistoryDockWidget.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
77 FilesDockWidget.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
78 FileEditorMdiSubWindow.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
79 BrowserWidget.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
80 SettingsDialog.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
81 OctaveGUI.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
82 ResourceManager.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
83 CommandLineParser.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
84 backend/OctaveCallbackThread.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
85 backend/OctaveLink.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
86 backend/OctaveMainThread.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
87 backend/ReadlineAdapter.cpp \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
88 WelcomeWizard.cpp |
13869
d80086a9880e
Initial implementation of a Qt Win32 terminal widget.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13769
diff
changeset
|
89 |
13501 | 90 HEADERS += \ |
14302
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
91 lexer/lexeroctavegui.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
92 MainWindow.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
93 WorkspaceView.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
94 HistoryDockWidget.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
95 FilesDockWidget.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
96 FileEditorMdiSubWindow.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
97 BrowserWidget.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
98 SettingsDialog.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
99 ResourceManager.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
100 CommandLineParser.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
101 backend/OctaveCallbackThread.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
102 backend/OctaveLink.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
103 backend/OctaveMainThread.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
104 backend/ReadlineAdapter.h \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
105 WelcomeWizard.h |
13869
d80086a9880e
Initial implementation of a Qt Win32 terminal widget.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13769
diff
changeset
|
106 |
13501 | 107 FORMS += \ |
14302
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
108 SettingsDialog.ui \ |
cccdd42eb573
Cleaned up and subsummarized projects under a subdirectory project.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14297
diff
changeset
|
109 WelcomeWizard.ui |