Skip to content

Commit 9d09db3

Browse files
committed
readme
1 parent 7751e0e commit 9d09db3

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

README.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -33,38 +33,6 @@ To use rpp with another build system, add `rpp` to your include path, add `rpp/r
3333

3434
Alternatively, to start an rpp project from scratch, you can fork [rpp_example_project](https://github.com/TheNumbat/rpp_example_project).
3535

36-
## Build and Run Tests
37-
38-
To build rpp and run the tests, run the following commands:
39-
40-
### Windows
41-
42-
Assure MSVC 19.37 and cmake 3.17 (or newer) are installed and in your PATH.
43-
44-
```bash
45-
mkdir build
46-
cd build
47-
cmake ..
48-
cmake --build . -DRPP_TEST=ON
49-
ctest -C Debug
50-
```
51-
52-
For faster parallel builds, you can instead generate [ninja](https://ninja-build.org/) build files with `cmake -G Ninja ..`.
53-
54-
### Linux
55-
56-
Assure clang-17 and cmake 3.17 (or newer) are installed.
57-
58-
```bash
59-
mkdir build
60-
cd build
61-
CXX=clang++-17 cmake .. -DRPP_TEST=ON
62-
make -j
63-
ctest -C Debug
64-
```
65-
66-
For faster parallel builds, you can instead generate [ninja](https://ninja-build.org/) build files with `cmake -G Ninja ..`.
67-
6836
## Platform Support
6937

7038
Only the following configurations are supported:
@@ -265,6 +233,38 @@ i32 main() {
265233
}
266234
```
267235

236+
## Build and Run Tests
237+
238+
To build rpp and run the tests, run the following commands:
239+
240+
### Windows
241+
242+
Assure MSVC 19.37 and cmake 3.17 (or newer) are installed and in your PATH.
243+
244+
```bash
245+
mkdir build
246+
cd build
247+
cmake ..
248+
cmake --build . -DRPP_TEST=ON
249+
ctest -C Debug
250+
```
251+
252+
For faster parallel builds, you can instead generate [ninja](https://ninja-build.org/) build files with `cmake -G Ninja ..`.
253+
254+
### Linux
255+
256+
Assure clang-17 and cmake 3.17 (or newer) are installed.
257+
258+
```bash
259+
mkdir build
260+
cd build
261+
CXX=clang++-17 cmake .. -DRPP_TEST=ON
262+
make -j
263+
ctest -C Debug
264+
```
265+
266+
For faster parallel builds, you can instead generate [ninja](https://ninja-build.org/) build files with `cmake -G Ninja ..`.
267+
268268
## To-Dos
269269

270270
- Modules

0 commit comments

Comments
 (0)