Improve MSVC support in project file.
Enable MSVC specifics by checking QMAKESPEC instead of depending on a qmake command line switch. Change-Id: I77f72acd6661d5d7bc5776cc2dc877a11920dc7e
This commit is contained in:
parent
5abe98dada
commit
3136465c42
1 changed files with 4 additions and 2 deletions
|
@ -89,12 +89,14 @@ extralibs.commands = $$SILENT \
|
||||||
# flags in this order, put libucl at the end.
|
# flags in this order, put libucl at the end.
|
||||||
RBLIBS = rbspeex ipodpatcher sansapatcher mkamsboot mktccboot \
|
RBLIBS = rbspeex ipodpatcher sansapatcher mkamsboot mktccboot \
|
||||||
mkmpioboot chinachippatcher mkimxboot ucl
|
mkmpioboot chinachippatcher mkimxboot ucl
|
||||||
!msvc {
|
!win32-msvc* {
|
||||||
QMAKE_EXTRA_TARGETS += extralibs
|
QMAKE_EXTRA_TARGETS += extralibs
|
||||||
PRE_TARGETDEPS += extralibs
|
PRE_TARGETDEPS += extralibs
|
||||||
}
|
}
|
||||||
msvc {
|
win32-msvc* {
|
||||||
INCLUDEPATH += msvc
|
INCLUDEPATH += msvc
|
||||||
|
LIBS += -L$$_PRO_FILE_/msvc
|
||||||
|
LIBS += -ladvapi32 # required for MSVC / Qt Creator combination
|
||||||
}
|
}
|
||||||
|
|
||||||
# rule for creating ctags file
|
# rule for creating ctags file
|
||||||
|
|
Loading…
Reference in a new issue