Understand the <arch> parameter and architecture switching
masterThe batch files Build.bat, Rebuild.bat, Clean.bat, WRKEnv.bat, and WRKDebug.bat all accept a single parameter for the target architecture: x86 or amd64.
Important Constraints:
- Default: If no parameter is provided, the default architecture is
x86. - Persistence: Once the target architecture is defined in a console window, it cannot be changed within that same session. The
<arch>parameter will be ignored in subsequent calls in that window. - Switching Architectures: To work with a different architecture (e.g., switching from
x86toamd64), you must open a new console window. - Verification: The title of the console window will change to
WRK x86orWRK amd64once the environment is set.