From 41628721c700bf84d37e4032fe9608a8330b3972 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Aug 2017 11:38:17 +0000 Subject: [PATCH] set custom setting for os --- QtXlsxWriter-Static/QtXlsxWriter-Static.pro | 41 ++++++++++++++++----- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/QtXlsxWriter-Static/QtXlsxWriter-Static.pro b/QtXlsxWriter-Static/QtXlsxWriter-Static.pro index c4d53e8..aa78947 100644 --- a/QtXlsxWriter-Static/QtXlsxWriter-Static.pro +++ b/QtXlsxWriter-Static/QtXlsxWriter-Static.pro @@ -65,16 +65,35 @@ DEFINES += QT_DEPRECATED_WARNINGS ###################################################################### # custom setting for compiler & system -# -win32-g++:INCLUDEPATH += include/win32-gcc # mingw32 +win32-g++ +{ + INCLUDEPATH += include/win32-gcc # mingw32 +} -win32-msvc2013:INCLUDEPATH += include/msvc2013 # visual c++ 2013 -win32-msvc2015:INCLUDEPATH += include/msvc2015 # visual c++ 2015 -win32-msvc2015:INCLUDEPATH += include/msvc2017 # visual c++ 2017 +win32-msvc2013 +{ +INCLUDEPATH += include/msvc2013 # visual c++ 2013 +} -linux-g++{ - INCLUDEPATH += include/linux-gcc +win32-msvc2015 +{ +INCLUDEPATH += include/msvc2015 # visual c++ 2015 +} + +win32-msvc2015 +{ + INCLUDEPATH += include/msvc2017 # visual c++ 2017 +} + +win32-msvc2017 +{ + +} + +unix +{ + INCLUDEPATH += include/unix-gcc !contains(QT_ARCH, x86_64){ LIB=lib32 message("compiling for 32bit linux system") @@ -82,13 +101,15 @@ linux-g++{ LIB=lib64 message("compiling for 64bit linux system") } -} - -unix { # target.path = /usr/lib # INSTALLS += target } +mac +{ + +} + ###################################################################### INCLUDEPATH += include