fix elam to build in taurus
authorKonrad Rosenbaum <konrad@silmor.de>
Tue, 30 Apr 2013 22:55:24 +0000 (00:55 +0200)
committerKonrad Rosenbaum <konrad@silmor.de>
Tue, 30 Apr 2013 22:55:24 +0000 (00:55 +0200)
45 files changed:
.gitignore
chester.pri [new file with mode: 0644]
elam.pri [new file with mode: 0644]
elam/README
elam/elam.pro [new file with mode: 0644]
elam/include/ELAM/AnyType [deleted file]
elam/include/ELAM/BinaryOperator [deleted file]
elam/include/ELAM/BoolEngine [deleted file]
elam/include/ELAM/CharacterClassSettings [deleted file]
elam/include/ELAM/Engine [deleted file]
elam/include/ELAM/Exception [deleted file]
elam/include/ELAM/Expression [deleted file]
elam/include/ELAM/FloatEngine [deleted file]
elam/include/ELAM/IntEngine [deleted file]
elam/include/ELAM/IntFloatEngine [deleted file]
elam/include/ELAM/Position [deleted file]
elam/include/ELAM/StringEngine [deleted file]
elam/include/ELAM/Token [deleted file]
elam/include/ELAM/UnaryOperator [deleted file]
elam/include/elambinary.h
elam/include/elamcharclass.h
elam/include/elamengine.h
elam/include/elamexpression.h
elam/include/elamunary.h
elam/src/elam.pro [deleted file]
elam/src/elambinary.cpp
elam/src/elamcharclass.cpp
elam/src/elamengine.cpp
elam/src/elamexpression.cpp
elam/src/elamunary.cpp
include/elam/ELAM/AnyType [new file with mode: 0644]
include/elam/ELAM/BinaryOperator [new file with mode: 0644]
include/elam/ELAM/BoolEngine [new file with mode: 0644]
include/elam/ELAM/CharacterClassSettings [new file with mode: 0644]
include/elam/ELAM/Engine [new file with mode: 0644]
include/elam/ELAM/Exception [new file with mode: 0644]
include/elam/ELAM/Expression [new file with mode: 0644]
include/elam/ELAM/FloatEngine [new file with mode: 0644]
include/elam/ELAM/IntEngine [new file with mode: 0644]
include/elam/ELAM/IntFloatEngine [new file with mode: 0644]
include/elam/ELAM/Position [new file with mode: 0644]
include/elam/ELAM/StringEngine [new file with mode: 0644]
include/elam/ELAM/Token [new file with mode: 0644]
include/elam/ELAM/UnaryOperator [new file with mode: 0644]
taurus.pro

index 261c447..23e564d 100644 (file)
@@ -1,3 +1,5 @@
 *.bak
 *~
 lib/
+.ctmp
+Makefile*
diff --git a/chester.pri b/chester.pri
new file mode 100644 (file)
index 0000000..d4a690e
--- /dev/null
@@ -0,0 +1,4 @@
+#include this into your qmake project file to
+#use the Chester library
+
+INCLUDEPATH += $$PWD/chester
diff --git a/elam.pri b/elam.pri
new file mode 100644 (file)
index 0000000..e825bae
--- /dev/null
+++ b/elam.pri
@@ -0,0 +1,6 @@
+#include this into your qmake project file to
+#use the ZIP library
+
+LIBS += -L$$PWD/lib -lelam
+INCLUDEPATH += $$PWD/include/elam
+CONFIG += link_prl
\ No newline at end of file
index 7e32ef8..5d9bf14 100644 (file)
@@ -3,7 +3,7 @@ README for ELAM
 
 ELAM = Elementary Logic and Arithmetic Machine
 
-(c) Konrad Rosenbaum, 2010-2012
+(c) Konrad Rosenbaum, 2010-2013
 protected under the GNU LGPL version 3 or at your option any newer
 see COPYING(.LGPL) for details
 
@@ -11,6 +11,6 @@ This engine can be fed simple arithmetic formulas and will calculate their
 result, similar to those used in languages like C or Pascal. It is not able
 to solve algebraic systems or use fancy expressions.
 
-ELAM is based on and made for Qt 4.x.
+ELAM is based on and made for Qt 4.x / 5.x.
 
 See the documentation for details. Just point your browser at doc/index.html.
diff --git a/elam/elam.pro b/elam/elam.pro
new file mode 100644 (file)
index 0000000..f751469
--- /dev/null
@@ -0,0 +1,40 @@
+TEMPLATE = lib
+TARGET = elam
+CONFIG += dll create_prl hide_symbols separate_debug_info
+QT -= gui
+OBJECTS_DIR = .ctmp
+MOC_DIR = .ctmp
+RCC_DIR = .ctmp
+DEFINES += ELAM_LIBRARY_BUILD
+VERSION = 
+DESTDIR = $$PWD/../lib
+
+HEADERS += \
+       include/elam.h \
+       include/elamunary.h \
+       include/elambinary.h \
+       include/elamcharclass.h \
+       include/elamengine.h \
+       include/elamexpression.h \
+       include/elamvalue.h \
+       include/elamintengine.h \
+       include/elamfloatengine.h \
+       include/elamboolengine.h \
+       include/elamstringengine.h
+
+SOURCES += \
+       src/elamvalue.cpp \
+       src/elamunary.cpp \
+       src/elambinary.cpp \
+       src/elamcharclass.cpp \
+       src/elamengine.cpp \
+       src/elamintengine.cpp \
+       src/elamexpression.cpp \
+       src/elamfloatengine.cpp \
+       src/elamboolengine.cpp \
+       src/elamstringengine.cpp
+
+INCLUDEPATH += . src include ../include/elam ../chester
+DEPENDPATH += $$INCLUDEPATH
+
+gcc { QMAKE_CXXFLAGS+=-std=c++11 }
diff --git a/elam/include/ELAM/AnyType b/elam/include/ELAM/AnyType
deleted file mode 100644 (file)
index 5fcdb6e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamvalue.h"
diff --git a/elam/include/ELAM/BinaryOperator b/elam/include/ELAM/BinaryOperator
deleted file mode 100644 (file)
index 9105013..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elambinary.h"
diff --git a/elam/include/ELAM/BoolEngine b/elam/include/ELAM/BoolEngine
deleted file mode 100644 (file)
index cc9401d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamboolengine.h"
diff --git a/elam/include/ELAM/CharacterClassSettings b/elam/include/ELAM/CharacterClassSettings
deleted file mode 100644 (file)
index 4d4b633..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamcharclass.h"
diff --git a/elam/include/ELAM/Engine b/elam/include/ELAM/Engine
deleted file mode 100644 (file)
index bea5477..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamengine.h"
diff --git a/elam/include/ELAM/Exception b/elam/include/ELAM/Exception
deleted file mode 100644 (file)
index 5fcdb6e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamvalue.h"
diff --git a/elam/include/ELAM/Expression b/elam/include/ELAM/Expression
deleted file mode 100644 (file)
index c46a659..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamexpression.h"
diff --git a/elam/include/ELAM/FloatEngine b/elam/include/ELAM/FloatEngine
deleted file mode 100644 (file)
index 0e25e64..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamfloatengine.h"
diff --git a/elam/include/ELAM/IntEngine b/elam/include/ELAM/IntEngine
deleted file mode 100644 (file)
index 147f580..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamintengine.h"
diff --git a/elam/include/ELAM/IntFloatEngine b/elam/include/ELAM/IntFloatEngine
deleted file mode 100644 (file)
index 0e25e64..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamfloatengine.h"
diff --git a/elam/include/ELAM/Position b/elam/include/ELAM/Position
deleted file mode 100644 (file)
index 5fcdb6e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamvalue.h"
diff --git a/elam/include/ELAM/StringEngine b/elam/include/ELAM/StringEngine
deleted file mode 100644 (file)
index fceaf33..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamstringengine.h"
diff --git a/elam/include/ELAM/Token b/elam/include/ELAM/Token
deleted file mode 100644 (file)
index c46a659..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamexpression.h"
diff --git a/elam/include/ELAM/UnaryOperator b/elam/include/ELAM/UnaryOperator
deleted file mode 100644 (file)
index dcdf78b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-//auto-generated code, do not change
-#include "elamunary.h"
index f18124c..de8adca 100644 (file)
@@ -10,7 +10,7 @@
 #include <QObject>
 #include <QVariant>
 
-#include "../dptr/dptr_base.h"
+#include <DPtrBase>
 #include "elamglobal.h"
 
 #include <functional>
index bda9fd8..5790921 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "elamexpression.h"
 
-#include "../dptr/dptr_base.h"
+#include <DPtrBase>
 
 namespace ELAM {
 
index 35e9054..81480d0 100644 (file)
@@ -15,7 +15,7 @@
 #include "elambinary.h"
 #include "elamcharclass.h"
 
-#include "../dptr/dptr_base.h"
+#include <DPtrBase>
 
 #include <functional>
 
index 2311fbf..ed67a25 100644 (file)
@@ -7,7 +7,7 @@
 #define ELAM_EXPRESSION_H
 
 #include "elamvalue.h"
-#include "../dptr/dptr_base.h"
+#include <DPtrBase>
 
 namespace ELAM {
 
index 79561d7..28a61f3 100644 (file)
@@ -10,7 +10,7 @@
 #include <QObject>
 #include <QVariant>
 
-#include "../dptr/dptr_base.h"
+#include <DPtrBase>
 
 #include <functional>
 
diff --git a/elam/src/elam.pro b/elam/src/elam.pro
deleted file mode 100644 (file)
index f702706..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-TEMPLATE = lib
-TARGET = elam
-CONFIG += dll create_prl hide_symbols separate_debug_info
-QT -= gui
-OBJECTS_DIR = .ctmp
-MOC_DIR = .ctmp
-RCC_DIR = .ctmp
-DEFINES += ELAM_LIBRARY_BUILD
-VERSION = 
-
-HEADERS += \
-       ../include/elam.h \
-       ../include/elamunary.h \
-       ../include/elambinary.h \
-       ../include/elamcharclass.h \
-       ../include/elamengine.h \
-       ../include/elamexpression.h \
-       ../include/elamvalue.h \
-       ../include/elamintengine.h \
-       ../include/elamfloatengine.h \
-       ../include/elamboolengine.h \
-       ../include/elamstringengine.h
-
-SOURCES += \
-       elamvalue.cpp \
-       elamunary.cpp \
-       elambinary.cpp \
-       elamcharclass.cpp \
-       elamengine.cpp \
-       elamintengine.cpp \
-       elamexpression.cpp \
-       elamfloatengine.cpp \
-       elamboolengine.cpp \
-       elamstringengine.cpp
-
-INCLUDEPATH += . ../include
-DEPENDPATH += . ../include ../../chester
-
-gcc { QMAKE_CXXFLAGS+=-std=c++11 }
index 4db88c2..a71ea61 100644 (file)
@@ -7,7 +7,7 @@
 #include "elamvalue.h"
 
 #include <QDebug>
-#include "../dptr/dptr_shared.h"
+#include <SharedDPtr>
 
 namespace ELAM {
 /////////////////////////////////////////////////////////////////
index f67dfc4..b3dc05d 100644 (file)
@@ -7,7 +7,7 @@
 #include "elamvalue.h"
 
 #include <QDebug>
-#include "../dptr/dptr_shared.h"
+#include <SharedDPtr>
 
 namespace ELAM {
 
index 9b5a7d4..77b9715 100644 (file)
@@ -7,7 +7,7 @@
 #include "elamvalue.h"
 
 #include <QDebug>
-#include "../dptr/dptr.h"
+#include <DPtr>
 
 namespace ELAM {
 
index 494d279..e868454 100644 (file)
@@ -8,7 +8,7 @@
 #include <QDebug>
 #include <QPointer>
 #include "elamengine.h"
-#include "../dptr/dptr_shared.h"
+#include <SharedDPtr>
 
 namespace ELAM {
 
index f3b6e5d..4539886 100644 (file)
@@ -7,7 +7,7 @@
 #include "elamvalue.h"
 
 #include <QDebug>
-#include "../dptr/dptr_shared.h"
+#include <SharedDPtr>
 
 namespace ELAM {
 
diff --git a/include/elam/ELAM/AnyType b/include/elam/ELAM/AnyType
new file mode 100644 (file)
index 0000000..9bfc3f3
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamvalue.h"
diff --git a/include/elam/ELAM/BinaryOperator b/include/elam/ELAM/BinaryOperator
new file mode 100644 (file)
index 0000000..fe17106
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elambinary.h"
diff --git a/include/elam/ELAM/BoolEngine b/include/elam/ELAM/BoolEngine
new file mode 100644 (file)
index 0000000..c9667ac
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamboolengine.h"
diff --git a/include/elam/ELAM/CharacterClassSettings b/include/elam/ELAM/CharacterClassSettings
new file mode 100644 (file)
index 0000000..1d4b17d
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamcharclass.h"
diff --git a/include/elam/ELAM/Engine b/include/elam/ELAM/Engine
new file mode 100644 (file)
index 0000000..1723269
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamengine.h"
diff --git a/include/elam/ELAM/Exception b/include/elam/ELAM/Exception
new file mode 100644 (file)
index 0000000..9bfc3f3
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamvalue.h"
diff --git a/include/elam/ELAM/Expression b/include/elam/ELAM/Expression
new file mode 100644 (file)
index 0000000..c996a4c
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamexpression.h"
diff --git a/include/elam/ELAM/FloatEngine b/include/elam/ELAM/FloatEngine
new file mode 100644 (file)
index 0000000..2a2d2c3
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamfloatengine.h"
diff --git a/include/elam/ELAM/IntEngine b/include/elam/ELAM/IntEngine
new file mode 100644 (file)
index 0000000..669bd55
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamintengine.h"
diff --git a/include/elam/ELAM/IntFloatEngine b/include/elam/ELAM/IntFloatEngine
new file mode 100644 (file)
index 0000000..2a2d2c3
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamfloatengine.h"
diff --git a/include/elam/ELAM/Position b/include/elam/ELAM/Position
new file mode 100644 (file)
index 0000000..9bfc3f3
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamvalue.h"
diff --git a/include/elam/ELAM/StringEngine b/include/elam/ELAM/StringEngine
new file mode 100644 (file)
index 0000000..c3f8266
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamstringengine.h"
diff --git a/include/elam/ELAM/Token b/include/elam/ELAM/Token
new file mode 100644 (file)
index 0000000..c996a4c
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamexpression.h"
diff --git a/include/elam/ELAM/UnaryOperator b/include/elam/ELAM/UnaryOperator
new file mode 100644 (file)
index 0000000..08138fd
--- /dev/null
@@ -0,0 +1,2 @@
+//auto-generated code, do not change
+#include "../../../elam/include/elamunary.h"
index 1214d70..6874a24 100644 (file)
@@ -1,3 +1,3 @@
 TEMPLATE = subdirs
 
-SUBDIRS = zip elam/src
\ No newline at end of file
+SUBDIRS = zip elam