updated conf.pri.example

This commit is contained in:
silverqx
2022-04-21 16:22:49 +02:00
parent dec30fb972
commit db45b4bd51
2 changed files with 14 additions and 4 deletions

View File

@@ -21,6 +21,11 @@ win32-g++|win32-clang-g++ {
# Enable ccache wrapper
CONFIG *= tiny_ccache
# Includes
# tabulate
INCLUDEPATH += $$quote(C:/msys64/home/xyz/vcpkg/installed/x64-mingw-dynamic/include/)
QMAKE_CXXFLAGS += -isystem $$shell_quote(C:/msys64/home/xyz/vcpkg/installed/x64-mingw-dynamic/include/)
# Libraries
# MySQL C library
# Find with the pkg-config (preferred), shared build only
@@ -64,7 +69,7 @@ else:win32-msvc {
else:unix {
# Includes
# range-v3
QMAKE_CXXFLAGS += -isystem $$quote(/home/xyz/vcpkg/installed/x64-linux/include/)
QMAKE_CXXFLAGS += -isystem $$shell_quote(/home/xyz/vcpkg/installed/x64-linux/include/)
# Libraries
# MySQL C library

View File

@@ -6,19 +6,24 @@ win32-g++|win32-clang-g++ {
# Enable ccache wrapper
CONFIG *= tiny_ccache
# Includes
# tabulate
INCLUDEPATH += $$quote(C:/msys64/home/xyz/vcpkg/installed/x64-mingw-dynamic/include/)
QMAKE_CXXFLAGS += -isystem $$shell_quote(C:/msys64/home/xyz/vcpkg/installed/x64-mingw-dynamic/include/)
# Use faster linker
# CONFIG *= use_lld_linker does not work on MinGW
QMAKE_LFLAGS *= -fuse-ld=lld
}
else:win32-msvc {
# Includes
# range-v3
# range-v3 and tabulate
INCLUDEPATH += $$quote(E:/xyz/vcpkg/installed/x64-windows/include/)
}
else:unix {
# Includes
# range-v3
QMAKE_CXXFLAGS += -isystem $$quote(/home/xyz/vcpkg/installed/x64-linux/include/)
# range-v3 and tabulate
QMAKE_CXXFLAGS += -isystem $$shell_quote(/home/xyz/vcpkg/installed/x64-linux/include/)
# Use faster linkers
clang: CONFIG *= use_lld_linker