Mercurial > hg > octave-max
annotate gui/octave-gui.pro @ 14291:c39c7f2b1e46 gui
Replaced local-native with local in octave-gui.pro for building on MacOS.
* octave-gui.pro: Modified INCFLAGS and LFLAGS.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 31 Jan 2012 02:12:56 +0100 |
parents | faece6b2ab90 |
children | 05a262b7f42e |
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 |
22 DESTDIR = bin # Destination of the output | |
23 UI_DIR = ui-files # Folder for ui files | |
24 MOC_DIR = moc-files # Folder for moc files | |
25 OBJECTS_DIR = object-files # Folder for object files | |
26 | |
13561
dd029759f57e
Corrected language files.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13558
diff
changeset
|
27 TRANSLATIONS += languages/generic.ts \ |
13566
d22b9973120f
Renamed language files to match convention.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13563
diff
changeset
|
28 languages/de-de.ts \ |
13572
7fff75c62f30
Added spanish translation.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13566
diff
changeset
|
29 languages/pt-br.ts \ |
13573
908c86cfe656
Added russian and ukrainian translation.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13572
diff
changeset
|
30 languages/es-es.ts \ |
908c86cfe656
Added russian and ukrainian translation.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13572
diff
changeset
|
31 languages/ru-ru.ts \ |
13574
4f44084ce322
Corrected language files for russian and ukrainian.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13573
diff
changeset
|
32 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
|
33 LIBS += -lqscintilla2 \ |
4a6867289e24
Removed the old IRC Client code and replaced it by qirc.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14265
diff
changeset
|
34 -Lqirc/libqirc -lqirc \ |
4a6867289e24
Removed the old IRC Client code and replaced it by qirc.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14265
diff
changeset
|
35 $$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
|
36 $$system(mkoctfile -p OCTAVE_LIBS) |
13501 | 37 |
38 mac { | |
39 CONFIG -= app_bundle | |
40 } | |
41 | |
42 # Includepaths and libraries to link against: | |
14283
8dfa333f1130
Removed complete terminal code, since everything moved to qterminal.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14270
diff
changeset
|
43 INCLUDEPATH += src src/backend qterminal/libqterminal qirc/libqirc \ |
13673
6a11fd0efa16
Bugfix for building on Debian.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13668
diff
changeset
|
44 $$system(mkoctfile -p INCFLAGS) |
13596
f6bb48258200
Corrected mistake.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13595
diff
changeset
|
45 INCFLAGS += $$system(mkoctfile -p INCFLAGS) |
13501 | 46 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
|
47 INCFLAGS += -I/opt/local/include |
13501 | 48 } |
49 | |
13769
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
50 QMAKE_LIBDIR += $$system(octave-config -p OCTLIBDIR) |
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
51 |
13501 | 52 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
|
53 LFLAGS += -L/opt/local/lib |
13501 | 54 } |
55 | |
13682 | 56 unix { |
14265
2254d7c14f41
Provided a patch in the pro for Windows, which does not need qterminal.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14255
diff
changeset
|
57 LIBS += -lutil -Lqterminal/libqterminal -lqterminal |
13682 | 58 } |
59 | |
13769
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
60 win32-g++ { |
13682 | 61 QMAKE_LFLAGS += --enable-auto-import |
62 } | |
63 | |
13769
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
64 win32-msvc* { |
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
65 DEFINES += QSCINTILLA_DLL |
13869
d80086a9880e
Initial implementation of a Qt Win32 terminal widget.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13769
diff
changeset
|
66 #CONFIG += console |
13769
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
67 include(msvc-debug.pri) |
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
68 } |
43ffcaee3fea
Fix various issues under Windows (MSVC)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13683
diff
changeset
|
69 |
13682 | 70 QMAKE_LFLAGS += $$LFLAGS $$system(mkoctfile -p RLD_FLAG) |
13501 | 71 QMAKE_CXXFLAGS += $$INCFLAGS |
72 | |
73 # Files associated with the project: | |
74 SOURCES +=\ | |
13682 | 75 src/lexer/lexeroctavegui.cpp \ |
76 src/MainWindow.cpp \ | |
13683
25dc40d24a44
Renamed VariablesDockWidget to WorkspaceView and optimized memory footprint for 30%.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13682
diff
changeset
|
77 src/WorkspaceView.cpp \ |
13682 | 78 src/HistoryDockWidget.cpp \ |
79 src/FilesDockWidget.cpp \ | |
80 src/FileEditorMdiSubWindow.cpp \ | |
81 src/BrowserWidget.cpp \ | |
13504
13e3d60aff2d
Replaced Quint with OctaveGUI.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13502
diff
changeset
|
82 src/SettingsDialog.cpp \ |
13537
a43ecce77eec
Introduced a central ResourceManager class.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13516
diff
changeset
|
83 src/OctaveGUI.cpp \ |
13539
a4b5cad8f7c6
Added command line parser class.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13537
diff
changeset
|
84 src/ResourceManager.cpp \ |
13540
0dbf8681cd08
Seperated classes into own files.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13539
diff
changeset
|
85 src/CommandLineParser.cpp \ |
13543
8d529f8103dc
Separated backend files to folder.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13540
diff
changeset
|
86 src/backend/OctaveCallbackThread.cpp \ |
8d529f8103dc
Separated backend files to folder.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13540
diff
changeset
|
87 src/backend/OctaveLink.cpp \ |
13579
6568fccb8940
Updated russian and ukrainian translation files.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13574
diff
changeset
|
88 src/backend/OctaveMainThread.cpp \ |
13647 | 89 src/backend/ReadlineAdapter.cpp \ |
14255
5dcfb705ce12
GUI: Bundled the new qterminal.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14079
diff
changeset
|
90 src/WelcomeWizard.cpp |
13501 | 91 |
13682 | 92 unix { |
14270
29a5e5b94a04
Removed TerminalHighlighter-class, since it is not needed anymore.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14269
diff
changeset
|
93 SOURCES += |
13869
d80086a9880e
Initial implementation of a Qt Win32 terminal widget.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13769
diff
changeset
|
94 } |
d80086a9880e
Initial implementation of a Qt Win32 terminal widget.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13769
diff
changeset
|
95 |
13501 | 96 HEADERS += \ |
13682 | 97 src/lexer/lexeroctavegui.h \ |
98 src/MainWindow.h \ | |
13683
25dc40d24a44
Renamed VariablesDockWidget to WorkspaceView and optimized memory footprint for 30%.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13682
diff
changeset
|
99 src/WorkspaceView.h \ |
13682 | 100 src/HistoryDockWidget.h \ |
101 src/FilesDockWidget.h \ | |
102 src/FileEditorMdiSubWindow.h \ | |
103 src/BrowserWidget.h \ | |
13537
a43ecce77eec
Introduced a central ResourceManager class.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13516
diff
changeset
|
104 src/SettingsDialog.h \ |
13539
a4b5cad8f7c6
Added command line parser class.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13537
diff
changeset
|
105 src/ResourceManager.h \ |
13540
0dbf8681cd08
Seperated classes into own files.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13539
diff
changeset
|
106 src/CommandLineParser.h \ |
13543
8d529f8103dc
Separated backend files to folder.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13540
diff
changeset
|
107 src/backend/OctaveCallbackThread.h \ |
8d529f8103dc
Separated backend files to folder.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13540
diff
changeset
|
108 src/backend/OctaveLink.h \ |
13579
6568fccb8940
Updated russian and ukrainian translation files.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13574
diff
changeset
|
109 src/backend/OctaveMainThread.h \ |
13647 | 110 src/backend/ReadlineAdapter.h \ |
14255
5dcfb705ce12
GUI: Bundled the new qterminal.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14079
diff
changeset
|
111 src/WelcomeWizard.h |
13501 | 112 |
13682 | 113 unix { |
14270
29a5e5b94a04
Removed TerminalHighlighter-class, since it is not needed anymore.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
14269
diff
changeset
|
114 HEADERS += |
13869
d80086a9880e
Initial implementation of a Qt Win32 terminal widget.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13769
diff
changeset
|
115 } |
d80086a9880e
Initial implementation of a Qt Win32 terminal widget.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13769
diff
changeset
|
116 |
13501 | 117 FORMS += \ |
13668
421afeae929b
Added a settings wizard that appears at first startup of Octave GUI.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13665
diff
changeset
|
118 src/SettingsDialog.ui \ |
421afeae929b
Added a settings wizard that appears at first startup of Octave GUI.
Jacob Dawid <jacob.dawid@googlemail.com>
parents:
13665
diff
changeset
|
119 src/WelcomeWizard.ui |