Automatically detect if target architecture is x64 in .vc file
This allows a successful build even if the user omits specifying CPU=X64. See #18640
This commit is contained in:
parent
3c53fbb94b
commit
284b25ce02
2 changed files with 22 additions and 0 deletions
|
|
@ -138,6 +138,12 @@ Accepted values: IA64, X64, ARM64
|
|||
Visual Studio version set by the VS command prompt.
|
||||
</description>
|
||||
</option>
|
||||
<option name="VISUALSTUDIOPLATFORM">
|
||||
<default-value>$(DOLLAR)(PLATFORM)</default-value>
|
||||
<description>
|
||||
Platform architecture set by the VS command prompt.
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
<if cond="FORMAT!='msvc'">
|
||||
<set var="TARGET_CPU"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue