Skip to content

Commit

Permalink
added CppGen and ObnCpp; integrated CppGen into OberonViewer
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochus Keller committed Apr 11, 2019
1 parent c412203 commit 7631b4f
Show file tree
Hide file tree
Showing 11 changed files with 2,710 additions and 5 deletions.
966 changes: 966 additions & 0 deletions CppKeywordDetector.cpp

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions OBNCPP.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#/*
#* Copyright 2019 Rochus Keller <mailto:me@rochus-keller.ch>
#*
#* This file is part of the Oberon parser/code model library.
#*
#* The following is the license that applies to this copy of the
#* library. For a license to use the library under conditions
#* other than those described here, please email to me@rochus-keller.ch.
#*
#* GNU General Public License Usage
#* This file may be used under the terms of the GNU General Public
#* License (GPL) versions 2.0 or 3.0 as published by the Free Software
#* Foundation and appearing in the file LICENSE.GPL included in
#* the packaging of this file. Please review the following information
#* to ensure GNU General Public Licensing requirements will be met:
#* http://www.fsf.org/licensing/licenses/info/GPLv2.html and
#* http://www.gnu.org/copyleft/gpl.html.
#*/

QT += core
QT -= gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = OberonTest
TEMPLATE = app

INCLUDEPATH += ..

SOURCES += \
ObnCppMain.cpp \
ObCppGen.cpp \
CppKeywordDetector.cpp

HEADERS += \
ObCppGen.h

include( Oberon.pri )

CONFIG(debug, debug|release) {
DEFINES += _DEBUG
}

QMAKE_CXXFLAGS += -Wno-reorder -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable





Loading

0 comments on commit 7631b4f

Please sign in to comment.