Using the same architecture value in VC Project and manifest files only makes sense for x64. Instead of doing magic we just set the correct values inside the mkspecs. VCPROJ_ARCH is used for Visual Studio, while the manifests use WINRT_MANIFEST.architecture. WINRT_MANIFEST.architecture was added to x64 mkspecs for consistency and phone mkspecs do not use WINRT_MANIFEST.architecture so it does not have to be set there. Change-Id: I009473104875b4add8c0530dc6f51177919e997b Reviewed-by: Andrew Knight <andrew.knight@digia.com>
21 lines
611 B
Plaintext
21 lines
611 B
Plaintext
#
|
|
# qmake configuration for winrt-arm-msvc2012
|
|
#
|
|
# Written for Microsoft Visual C++ 2012
|
|
#
|
|
|
|
include(../common/winrt_winphone/qmake.conf)
|
|
QMAKE_COMPILER_DEFINES += _MSC_VER=1700
|
|
DEFINES += WINAPI_FAMILY=WINAPI_FAMILY_APP ARM __ARM__ __arm__
|
|
|
|
QMAKE_LFLAGS += /MACHINE:ARM
|
|
|
|
QMAKE_LIBS += windowscodecs.lib kernel32.lib ole32.lib
|
|
|
|
VCPROJ_ARCH = ARM
|
|
MSVC_VER = 11.0
|
|
WINSDK_VER = 8.0
|
|
WINTARGET_VER = win8
|
|
WINRT_MANIFEST = $$PWD/../common/winrt_winphone/manifests/8.0/AppxManifest.xml.in
|
|
WINRT_MANIFEST.architecture = arm
|