aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2023-10-17 13:26:47 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2023-10-17 13:52:56 -0600
commitf39a583b585a405847f0ef6aee31672f75001cd5 (patch)
tree6d52eaacac5c77a434e112741766f67b74918f9d
parent58eb5fd87d6b60e7766ebdb9160662334d0df6b6 (diff)
downloadusermoji-f39a583b585a405847f0ef6aee31672f75001cd5.tar.xz
docs: Fix invalid/confusing documentation
- This repo doesn't use presets - Don't show invalid usage of rm. It works on Linux but not Mac. - Use VulkanHeaders as an example instead of glslang
-rw-r--r--BUILD.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/BUILD.md b/BUILD.md
index d939cad1..1aa2cf33 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -80,8 +80,8 @@ Alternatively you can modify `CMAKE_PREFIX_PATH` as follows.
```sh
# Delete the CMakeCache.txt which will cache find_* results
-rm build/ -rf
-cmake -S . -B build/ ... -D CMAKE_PREFIX_PATH=~/foobar/my_custom_glslang_install/ ...
+rm -rf build/
+cmake -S . -B build/ ... -D CMAKE_PREFIX_PATH=~/foobar/vulkan_headers_install/ ...
```
## Building On Linux
@@ -145,7 +145,7 @@ Run CMake to generate [Visual Studio project files](https://cmake.org/cmake/help
```bash
# NOTE: By default CMake picks the latest version of Visual Studio as the default generator.
-cmake -S . -B build --preset dev
+cmake -S . -B build
# Open the Visual Studio solution
cmake --open build
@@ -169,7 +169,7 @@ To create and open an Xcode project:
```bash
# Create the Xcode project
-cmake -S . -B build -G Xcode --preset dev
+cmake -S . -B build -G Xcode
# Open the Xcode project
cmake --open build