Skip to content

Commit 90a2e4c

Browse files
Update README with compilation instructions
Added compilation instructions for SemiEuler using CMake and g++ on Windows.
1 parent ae7ceff commit 90a2e4c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11
# SemiEuler
22
Semi implicit Euler implementation in C++ to simulate interaction of N-Body objects
3+
4+
How to compile SemiEuler (CMake Windows)
5+
6+
```bash
7+
mkdir build
8+
cd build
9+
cmake ..
10+
cmake --build .
11+
```
12+
How to compile SemiEuler G++ (Windows)
13+
14+
```bash
15+
g++ -std=c++11 -O2 -Iinclude src/main.cpp -Llib -lraylib -lopengl32 -lgdi32 -lwinmm -lws2_32 -o SemiEuler.exe
16+
```

0 commit comments

Comments
 (0)