Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ $ pacman -S --needed base-devel cmake qt6
> **Please note**: You can choose other build profiles if you want. See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html for more information.

```sh
$ mkdir -p .dist/build .dist/install
$ cmake --preset=vcpkg -S . -B .dist/build -DCMAKE_INSTALL_PREFIX=.dist/install -DCMAKE_BUILD_TYPE=Debug
$ cmake --build .dist/build --config Debug
$ mkdir build install
$ cmake -S . -B build -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Debug
$ cmake --build build --config Debug
Comment on lines +94 to +96
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preferring .build and .install as paths as they would be automatically ignored by our .gitignore

Suggested change
$ mkdir build install
$ cmake -S . -B build -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Debug
$ cmake --build build --config Debug
$ mkdir .build .install
$ cmake -B .build --preset=Debug -DCMAKE_INSTALL_PREFIX=.install
# Add the following params if you're building for macOS: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DVCPKG_TARGET_TRIPLET="universal-osx"
$ cmake --build .build

```

## How to contribute
Expand Down