Mercurial > hg > octave-max
comparison gui/src/src.pro @ 14302:cccdd42eb573 gui
Cleaned up and subsummarized projects under a subdirectory project.
* gui.pro: Subdirectory project for all other projects.
* src.pro, was: octave-gui.pro: New source code project for the GUI.
* COPYING: Removed.
* compile.sh: Removed.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 31 Jan 2012 22:07:25 +0100 |
parents | gui/octave-gui.pro@05a262b7f42e |
children | 06d2bb89b6af |
comparison
equal
deleted
inserted
replaced
14301:e8ef57b7bd2a | 14302:cccdd42eb573 |
---|---|
1 # OctaveGUI - A graphical user interface for Octave | |
2 # Copyright (C) 2011 Jacob Dawid (jacob.dawid@googlemail.com) | |
3 # | |
4 # This program is free software: you can redistribute it and/or modify | |
5 # it under the terms of the GNU General Public License as | |
6 # published by the Free Software Foundation, either version 3 of the | |
7 # License, or (at your option) any later version. | |
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 | |
12 # GNU General Public License for more details. | |
13 # | |
14 # You should have received a copy of the GNU General Public License | |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
16 | |
17 # Basic settings: | |
18 QT += core gui webkit network # Qt modules | |
19 TEMPLATE = app # Build as application | |
20 TARGET = octave-gui # Name of the target binary | |
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 | |
27 TRANSLATIONS += languages/generic.ts \ | |
28 languages/de-de.ts \ | |
29 languages/pt-br.ts \ | |
30 languages/es-es.ts \ | |
31 languages/ru-ru.ts \ | |
32 languages/uk-ua.ts # Available translations | |
33 LIBS += -lqscintilla2 \ | |
34 -L../qirc/libqirc -lqirc \ | |
35 -L../qterminal/libqterminal -lqterminal \ | |
36 $$system(mkoctfile -p LIBS) \ | |
37 $$system(mkoctfile -p OCTAVE_LIBS) | |
38 | |
39 mac { | |
40 CONFIG -= app_bundle | |
41 } | |
42 | |
43 # Includepaths and libraries to link against: | |
44 INCLUDEPATH += . backend ../qterminal/libqterminal ../qirc/libqirc \ | |
45 $$system(mkoctfile -p INCFLAGS) | |
46 INCFLAGS += $$system(mkoctfile -p INCFLAGS) | |
47 mac { | |
48 INCFLAGS += -I/opt/local/include | |
49 } | |
50 | |
51 QMAKE_LIBDIR += $$system(octave-config -p OCTLIBDIR) | |
52 | |
53 mac { | |
54 LFLAGS += -L/opt/local/lib | |
55 } | |
56 | |
57 unix { | |
58 LIBS += -lutil | |
59 } | |
60 | |
61 win32-g++ { | |
62 QMAKE_LFLAGS += --enable-auto-import | |
63 } | |
64 | |
65 win32-msvc* { | |
66 DEFINES += QSCINTILLA_DLL | |
67 #CONFIG += console | |
68 include(../msvc-debug.pri) | |
69 } | |
70 | |
71 QMAKE_LFLAGS += $$LFLAGS $$system(mkoctfile -p RLD_FLAG) | |
72 QMAKE_CXXFLAGS += $$INCFLAGS | |
73 | |
74 # Files associated with the project: | |
75 SOURCES +=\ | |
76 lexer/lexeroctavegui.cpp \ | |
77 MainWindow.cpp \ | |
78 WorkspaceView.cpp \ | |
79 HistoryDockWidget.cpp \ | |
80 FilesDockWidget.cpp \ | |
81 FileEditorMdiSubWindow.cpp \ | |
82 BrowserWidget.cpp \ | |
83 SettingsDialog.cpp \ | |
84 OctaveGUI.cpp \ | |
85 ResourceManager.cpp \ | |
86 CommandLineParser.cpp \ | |
87 backend/OctaveCallbackThread.cpp \ | |
88 backend/OctaveLink.cpp \ | |
89 backend/OctaveMainThread.cpp \ | |
90 backend/ReadlineAdapter.cpp \ | |
91 WelcomeWizard.cpp | |
92 | |
93 HEADERS += \ | |
94 lexer/lexeroctavegui.h \ | |
95 MainWindow.h \ | |
96 WorkspaceView.h \ | |
97 HistoryDockWidget.h \ | |
98 FilesDockWidget.h \ | |
99 FileEditorMdiSubWindow.h \ | |
100 BrowserWidget.h \ | |
101 SettingsDialog.h \ | |
102 ResourceManager.h \ | |
103 CommandLineParser.h \ | |
104 backend/OctaveCallbackThread.h \ | |
105 backend/OctaveLink.h \ | |
106 backend/OctaveMainThread.h \ | |
107 backend/ReadlineAdapter.h \ | |
108 WelcomeWizard.h | |
109 | |
110 FORMS += \ | |
111 SettingsDialog.ui \ | |
112 WelcomeWizard.ui |