Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusGuy authored Oct 21, 2024
1 parent 85ca099 commit 9b687a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,10 @@ Once dependencies are installed:
**Make sure to change the path to vcpkg to the actual path to vcpkg on your system!**

Options:
- `-A Win32` tells CMake to produce 32-bit executables. To produce 64-bit executables, you may either replace `Win32` with `x64`, or omit this argument entirely (remove everything, including the `-A`).
- `-DCMAKE_BUILD_TYPE=Release` creates a Release build, which does not contain debug information and runs faster. You may also produce `Debug` builds, but these run significantly slower. Other options may be available, such as `RelWithDebInfo` and `MinSizeRel`, but they are not tested. [More info](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html)
- `-DVCPKG_BUILD=ON` tells SuperTux to use vcpkg to find dependencies.
- `-DCMAKE_TOOLCHAIN_FILE=C:/PATH/TO/vcpkg/scripts/buildsystems/vcpkg.cmake` tells CMake to use the vcpkg toolchain to load dependencies. **Make sure to change the path to the actual path to vcpkg on your system!**
- `-DVCPKG_TARGET_TRIPLET=x86-windows` tells vcpkg to use 32-bit dependencies for Windows. If you are compiling 64-bit executables, replace "x86" with "x64".
- `-DVCPKG_TARGET_TRIPLET=x64-windows` tells vcpkg to use 64-bit dependencies for Windows. If you are compiling 32-bit executables, replace "x64" with "x86".
- Optionally, you may add `-G "Visual Studio 16 2019"` to force a certain version of Visual Studio if multiple are installed on your system.

For more CMake options, look at end of the Linux/UNIX build section.
Expand Down

0 comments on commit 9b687a1

Please sign in to comment.