Skip to content

Commit

Permalink
Fix default/allowed arch
Browse files Browse the repository at this point in the history
  • Loading branch information
qudix committed Dec 1, 2022
1 parent 8866117 commit bc4e885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ To generate a Visual Studio Project, run the following command:
```bat
xmake project -k vsxmake
```
If that command fails due to an "`unsupported windows/x86`" error, try specifying the correct arch:
```bat
xmake project -k vsxmake -a x64
```

> ***Note:*** *This will generate a `vsxmakeXXXX/` directory in the **project's root directory** using the latest version of Visual Studio installed on the system.*
Expand Down
4 changes: 2 additions & 2 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ set_optimize("faster")
set_warnings("allextra", "error")

-- allowed
set_allowedarchs("x64")
set_allowedarchs("windows|x64")
set_allowedmodes("debug", "releasedbg")

-- default
set_defaultarchs("x64")
set_defaultarchs("windows|x64")
set_defaultmode("releasedbg")

-- rules
Expand Down

0 comments on commit bc4e885

Please sign in to comment.