aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-16 21:55:10 +0100
committerNao Pross <naopross@thearcway.org>2018-02-16 21:55:10 +0100
commitbdf602f48194058d998909a233556cc57bac303e (patch)
tree20827387e7c7785329783b1168b0214fc7fc0f52 /README.md
parentMerge branch 'dev' of ssh://git.thearcway.org:2222/naopross/subconscious into... (diff)
downloadSubconscious-old-bdf602f48194058d998909a233556cc57bac303e.tar.gz
Subconscious-old-bdf602f48194058d998909a233556cc57bac303e.zip
Add cpack directive and update README
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
+```