aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8223af0..27a8e08 100644
--- a/README.md
+++ b/README.md
@@ -5,3 +5,23 @@
```
gradle libsfml-dev
```
+
+# Build
+### With Gradle
+```
+gradle mainExecutable
+```
+
+### With CMake
+On Debian the `libfsml-dev` package does not installs itself in
+`/usr/share/cmake-x.x/Modules` and so it must be done manually.
+```
+sudo cp /usr/share/SFML/cmake/Modules/FindSFML.cmake \
+ /usr/share/cmake-3.7/Modules
+```
+
+```
+cd build
+cmake ..
+make
+```