我从nmake
致电VS2015 X64 Native Tools
。我得到了这个输出:
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" -f Makefile.Release
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:..\bin\scan3d-capture.exe @C:\Users\HF220~1.HEL\AppData\Local\Temp\nm231F.tmp
在此之后,我收到链接错误,告诉我我正在连接X86和X64库。我想链接到X64,我正在尝试构建X64版本。但似乎从这个链接选项/MANIFESTDEPENDENCY:type='win32'
出现问题。
如何在调用nmake
时更改链接选项?