Skip to content

Commit

Permalink
Explain how to use multi-config generator
Browse files Browse the repository at this point in the history
  • Loading branch information
alef committed Nov 9, 2022
1 parent 20094a2 commit c2980e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/COMPILING/COMPILING-CMAKE-VCPKG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ For the official way to build CataclysmDDA, see:

## vcpkg

If different from `C:\vcpkg`, define the installed path via `VCPKG_ROOT` env or add `-DVCPKG_ROOT=path` to `cmake`.
If different from `C:\vcpkg`, define the installed path via `VCPKG_ROOT` env, add `-DVCPKG_ROOT=path` to `cmake` command, or edit `CMakePresets.json`'s `VCPKG_ROOT` cache variable.

# Presets

Expand All @@ -39,12 +39,12 @@ Run the command
# Build

Run the command
* `cmake --build --preset <preset>`
* `cmake --build --preset <preset> --config RelWithDebInfo`

# Install

Run the command
* `cmake --install out/build/<preset>/`
* `cmake --install out/build/<preset>/ --config RelWithDebInfo`

# Run

Expand Down

0 comments on commit c2980e4

Please sign in to comment.