Browse Source

Update windows build commands

Supply correct line escape character.
master
TheoryOfNekomata 1 year ago
parent
commit
7ddefa74d3
2 changed files with 18 additions and 18 deletions
  1. +9
    -9
      00-build-cache-debug-x64.bat
  2. +9
    -9
      README.md

+ 9
- 9
00-build-cache-debug-x64.bat View File

@@ -1,10 +1,10 @@
cmake \
-DCMAKE_SIZEOF_VOID_P=8 \
"-DCMAKE_MT=%CMAKE_MT%" \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_MAKE_PROGRAM=ninja \
-DCMAKE_C_COMPILER=clang-cl \
-DCMAKE_C_FLAGS=-m64 \
-G Ninja \
-S . \
cmake^
-DCMAKE_SIZEOF_VOID_P=8^
"-DCMAKE_MT=%CMAKE_MT%"^
-DCMAKE_BUILD_TYPE=Debug^
-DCMAKE_MAKE_PROGRAM=ninja^
-DCMAKE_C_COMPILER=clang-cl^
-DCMAKE_C_FLAGS=-m64^
-G Ninja^
-S .^
-B ./build/Debug

+ 9
- 9
README.md View File

@@ -32,15 +32,15 @@ The following are required for building on all platforms:
5. Generate the CMake cache.

```shell
cmake \
-DCMAKE_SIZEOF_VOID_P=8 \
"-DCMAKE_MT=%CMAKE_MT%" \
"-DCMAKE_BUILD_TYPE=%BUILD_TYPE%" \
-DCMAKE_MAKE_PROGRAM=ninja \
-DCMAKE_C_COMPILER=clang-cl \
-DCMAKE_C_FLAGS=-m64 \
-G Ninja \
-S . \
cmake^
-DCMAKE_SIZEOF_VOID_P=8^
"-DCMAKE_MT=%CMAKE_MT%"^
"-DCMAKE_BUILD_TYPE=%BUILD_TYPE%"^
-DCMAKE_MAKE_PROGRAM=ninja^
-DCMAKE_C_COMPILER=clang-cl^
-DCMAKE_C_FLAGS=-m64^
-G Ninja^
-S .^
-B "./build/%BUILD_TYPE%"
```


Loading…
Cancel
Save