Skip to content

Commit 079b845

Browse files
authored
Update README.md
CMake 3.15 is the actual current release, the git version of CMake is no longer needed. Use `-B` to avoid hardcoding the paths. This makes it possible to build without a reference to the checkout location. Update to build in release mode.
1 parent 3eb1ce8 commit 079b845

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@ This is a thin wrapper over the Win32 APIs for graphics on Windows to make it
44
easier to write Windows applications in Swift.
55

66
This requires the latest (git) version of Swift (alternatively, you can use the
7-
nightlies from https://dev.azure.com/compnerd/windows-swift). Additionally, you
8-
need the latest (git) version of CMake (from http://github.com/KitWare/cmake).
9-
10-
Assuming you are building in `S:`, you can build with:
7+
nightlies from https://dev.azure.com/compnerd/windows-swift).
118

129
```cmd
13-
cmake -G Ninja S:/swift-win32
14-
ninja SwiftWin32
15-
ninja HelloSwift
16-
.\HelloSwift
10+
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release .
11+
ninja -C build SwiftWin32 HelloSwift
12+
.\build\HelloSwift
1713
```
1814

0 commit comments

Comments
 (0)