Since Q5.4 available support C++14. Some libraries still missed use.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-12-23 20:27:24 +02:00
parent cbd991a8b0
commit 7caf42cf48
11 changed files with 93 additions and 32 deletions

View file

@ -15,9 +15,15 @@ TARGET = fervor
# We want to create a library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -19,9 +19,15 @@ TARGET = ifc # Internal Format Converter
# We want create library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -15,10 +15,9 @@ TARGET = vdxf
# We want create a library
TEMPLATE = lib
CONFIG += \
staticlib # Making static library
CONFIG += staticlib # Making static library
# Since Qt5.4 available support C++14
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {

View file

@ -19,9 +19,15 @@ TARGET = vformat
# We want create a library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -15,9 +15,15 @@ TARGET = vgeometry
# We want create a library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -15,9 +15,15 @@ TARGET = vlayout
# We want create library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -13,9 +13,15 @@ TARGET = vobj
# We want create a library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -15,9 +15,15 @@ TARGET = vpatterndb
# We want create a library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -15,9 +15,15 @@ TARGET = vtools
# We want create library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -15,9 +15,15 @@ TARGET = vwidgets
# We want create a library
TEMPLATE = lib
CONFIG += \
staticlib \# Making static library
c++11 # We use C++11 standard
CONFIG += staticlib # Making static library
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target

View file

@ -18,8 +18,16 @@ QT -= gui
# Name of binary file.
TARGET = ParserTest
# Console application, we use C++11 standard.
CONFIG += console c++11
# Console application.
CONFIG += console
# Since Q5.4 available support C++14
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) {
CONFIG += c++14
} else {
# We use C++11 standard
CONFIG += c++11
}
# CONFIG += testcase adds a 'make check' which is great. But by default it also
# adds a 'make install' that installs the test cases, which we do not want.