platform/shared/qt/rholib/rholib.pro in rhodes-5.5.15 vs platform/shared/qt/rholib/rholib.pro in rhodes-5.5.17
- old
+ new
@@ -1,7 +1,16 @@
QT -= core
+ greaterThan(QT_VERSION, 5.6.0): {
+ CONFIG += c++14
+ DEFINES += CPP_ELEVEN
+ DEFINES += RHODES_VERSION_2
+ }
+ lessThan(QT_VERSION, 5.6.0): {
+ DEFINES += RHODES_VERSION_1
+ }
+
TARGET = rholib
TEMPLATE = lib
CONFIG += staticlib warn_on
@@ -30,10 +39,12 @@
}
Release {
DEFINES += _NDEBUG NDEBUG
}
HEADERS += ../../rubyext/WebView.h
+ QMAKE_CXXFLAGS_RELEASE += -MP9
+ QMAKE_CXXFLAGS_DEBUG += -MP9
}
unix:!macx {
DESTDIR = ../../../linux/bin/rholib
OBJECTS_DIR = ../../../linux/bin/rholib/tmp
@@ -67,11 +78,10 @@
}
HEADERS += ../../common/RhoAppAdapter.h\
../../common/IRhoThreadImpl.h\
../../common/RhoThread.h\
-../../unzip/unzip.h\
../../common/RhodesAppBase.h\
../../common/RhodesApp.h\
../../common/RhoConf.h\
../../common/RhoSimConf.h\
../../statistic/RhoProfiler.h\
@@ -104,37 +114,21 @@
../../common/app_build_configs.h\
../../common/RhoMath.h\
../../common/map/ESRIMapEngine.h\
../../common/map/GoogleMapEngine.h\
../../common/map/MapEngine.h\
-../../unzip/zip.h\
../../common/push/IRhoPushClient.h\
../../common/push/RhoPushManager.h\
../../api_generator/BaseClasses.h\
../../api_generator/GeneratorQueue.h\
../../api_generator/MethodResult.h\
../../api_generator/js_helpers.h\
-../../api_generator/StringifyHelper.h\
-../../unzip/gunzip.h\
-../../unzip/crc32.h\
-../../unzip/deflate.h\
-../../unzip/inffast.h\
-../../unzip/inffixed.h\
-../../unzip/inflate.h\
-../../unzip/gzguts.h\
-../../unzip/inftrees.h\
-../../unzip/trees.h\
-../../unzip/unzip.h\
-../../unzip/zconf.h\
-../../unzip/zip.h\
-../../unzip/zlib.h\
-../../unzip/zutil.h
+../../api_generator/StringifyHelper.h
SOURCES += ../../common/RhoTime.cpp\
../../rubyext/RhoAppAdapter.cpp\
../../common/RhoThread.cpp\
-../../unzip/unzip.cpp\
../../common/RhodesAppBase.cpp\
../../common/RhodesApp.cpp\
../../common/RhoConf.cpp\
../../common/RhoSimConf.cpp\
../../statistic/RhoProfiler.cpp\
@@ -163,11 +157,29 @@
../../common/map/MapEngine.cpp\
../../common/BundleManager.cpp\
../../common/push/RhoPushManager.cpp\
../../api_generator/js_helpers.cpp\
../../api_generator/MethodResult.cpp\
-../../api_generator/StringifyHelper.cpp\
+../../api_generator/StringifyHelper.cpp
+
+HEADERS += ../../unzip/zip.h\
+../../unzip/unzip.h\
+../../unzip/gunzip.h\
+../../unzip/crc32.h\
+../../unzip/deflate.h\
+../../unzip/inffast.h\
+../../unzip/inffixed.h\
+../../unzip/inflate.h\
+../../unzip/gzguts.h\
+../../unzip/inftrees.h\
+../../unzip/trees.h\
+../../unzip/unzip.h\
+../../unzip/zconf.h\
+../../unzip/zip.h\
+../../unzip/zlib.h\
+../../unzip/zutil.h
+SOURCES += ../../unzip/unzip.cpp\
../../unzip/adler32.cpp\
../../unzip/crc32.cpp\
../../unzip/deflate.cpp\
../../unzip/gunzip.cpp\
../../unzip/gzclose.cpp\
@@ -180,5 +192,6 @@
../../unzip/inftrees.cpp\
../../unzip/trees.cpp\
../../unzip/unzip.cpp\
../../unzip/zip.cpp\
../../unzip/zutil.cpp
+