view gui/src/src.pro @ 14703:f86884be20fc gui

Renamed all source files of the gui to lowercase and .cc to be conform with the octave sources.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Thu, 31 May 2012 20:53:56 +0200
parents 79c9a6d06590
children 674740c44c09
line wrap: on
line source

# OctaveGUI - A graphical user interface for Octave
# Copyright (C) 2011 Jacob Dawid (jacob.dawid@googlemail.com)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# Basic settings:
QT                  += core gui webkit network	    # Qt modules
TEMPLATE            = app                           # Build as application
TARGET              = octave-gui                    # Name of the target binary

DESTDIR             = ../bin                           # Destination of the output

TRANSLATIONS        += languages/generic.ts \
                       languages/de-de.ts \
                       languages/pt-br.ts \
                       languages/es-es.ts \
                       languages/ru-ru.ts \
                       languages/uk-ua.ts           # Available translations

win32-msvc*: include(msvc.pri)

LIBS                += -lqscintilla2  \
                       -L../qterminal/libqterminal/$$LIBDIR_SUFFIX -lqterminal \
                        $$system(mkoctfile -p LIBS) \
                        $$system(mkoctfile -p OCTAVE_LIBS)

mac {
    CONFIG -= app_bundle
}

# Includepaths and libraries to link against:
INCLUDEPATH         += . backend editor ../qterminal/libqterminal /usr/include/qt4 \
                       $$system(mkoctfile -p INCFLAGS)
INCFLAGS            += $$system(mkoctfile -p INCFLAGS)
mac {
    INCFLAGS += -I/opt/local/include
}

QMAKE_LIBDIR        += $$system(octave-config -p OCTLIBDIR)
unix {
    QMAKE_RPATHDIR += $$system(octave-config -p OCTLIBDIR)
}

mac {
    LFLAGS += -L/opt/local/lib
}

unix {
    LIBS += -lutil
}

win32-g++ {
    QMAKE_LFLAGS += --enable-auto-import
}

win32-msvc* {
    DEFINES += QSCINTILLA_DLL
    QMAKE_CXXFLAGS += -wd4244
}

QMAKE_LFLAGS        += $$LFLAGS $$system(mkoctfile -p RLD_FLAG)
QMAKE_CXXFLAGS      += $$INCFLAGS

# Files associated with the project:
SOURCES +=\
    backend/octavelink.cc \
    backend/octavemainthread.cc \
    editor/lexeroctavegui.cc \
    editor/fileeditor.cc \
    editor/fileeditortab.cc \
    mainwindow.cc \
    workspaceview.cc \
    historydockwidget.cc \
    filesdockwidget.cc \
    settingsdialog.cc \
    octavegui.cc \
    resourcemanager.cc \
    welcomewizard.cc \
    workspacemodel.cc \
    terminaldockwidget.cc

HEADERS += \
    backend/octavelink.h \
    backend/octavemainthread.h \
    backend/symbolinformation.h \
    editor/lexeroctavegui.h \
    editor/fileeditor.h \
    editor/fileeditorinterface.h \
    editor/fileeditortab.h \
    mainwindow.h \
    workspaceview.h \
    historydockwidget.h \
    filesdockwidget.h \
    settingsdialog.h \
    resourcemanager.h \
    welcomewizard.h \
    workspacemodel.h \
    terminaldockwidget.h

FORMS += \
    settingsdialog.ui \
    welcomewizard.ui