summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2014-03-22 22:20:48 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2014-03-22 22:20:48 +0100
commitd85a84fc8391a4cc8bc923a7238f3c055ae3886d (patch)
treeb4af3fae319def6ae30dbf1591847ca8068f0c1c
parent258e4ad850097f334beb033031b62a1039e3575b (diff)
downloadrockbox-d85a84fc8391a4cc8bc923a7238f3c055ae3886d.tar.gz
rockbox-d85a84fc8391a4cc8bc923a7238f3c055ae3886d.zip
Add msvc qmake config option for building with MSVC.
When building with MSVC we need to add the msvc folder to the include list, and remove the libraries from the dependencies since they need to get built separately. Change-Id: I297787f32495da4541c67bfef549b4d1ad68dd18
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro11
1 files changed, 8 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 10ac30d085..a205059c7b 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -89,8 +89,13 @@ extralibs.commands = $$SILENT \
89# flags in this order, put libucl at the end. 89# flags in this order, put libucl at the end.
90RBLIBS = rbspeex ipodpatcher sansapatcher mkamsboot mktccboot \ 90RBLIBS = rbspeex ipodpatcher sansapatcher mkamsboot mktccboot \
91 mkmpioboot chinachippatcher mkimxboot ucl 91 mkmpioboot chinachippatcher mkimxboot ucl
92QMAKE_EXTRA_TARGETS += extralibs 92!msvc {
93PRE_TARGETDEPS += extralibs 93 QMAKE_EXTRA_TARGETS += extralibs
94 PRE_TARGETDEPS += extralibs
95}
96msvc {
97 INCLUDEPATH += msvc
98}
94 99
95# rule for creating ctags file 100# rule for creating ctags file
96tags.commands = ctags -R --c++-kinds=+p --fields=+iaS --extra=+q $(SOURCES) 101tags.commands = ctags -R --c++-kinds=+p --fields=+iaS --extra=+q $(SOURCES)
@@ -105,7 +110,7 @@ QMAKE_EXTRA_TARGETS += lrelease
105} 110}
106 111
107# Needed by QT on Win 112# Needed by QT on Win
108INCLUDEPATH = $$_PRO_FILE_PWD_ $$_PRO_FILE_PWD_/irivertools \ 113INCLUDEPATH += $$_PRO_FILE_PWD_ $$_PRO_FILE_PWD_/irivertools \
109 $$_PRO_FILE_PWD_/zlib $$_PRO_FILE_PWD_/base \ 114 $$_PRO_FILE_PWD_/zlib $$_PRO_FILE_PWD_/base \
110 $$_PRO_FILE_PWD_/zlib $$_PRO_FILE_PWD_/gui 115 $$_PRO_FILE_PWD_/zlib $$_PRO_FILE_PWD_/gui
111INCLUDEPATH += $$RBBASE_DIR/rbutil/ipodpatcher $$RBBASE_DIR/rbutil/sansapatcher \ 116INCLUDEPATH += $$RBBASE_DIR/rbutil/ipodpatcher $$RBBASE_DIR/rbutil/sansapatcher \