aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-11 22:55:22 +0100
committerNao Pross <naopross@thearcway.org>2018-02-11 22:55:22 +0100
commite3fd07e606098dd9cdf0b7ed806340d8466b5572 (patch)
treecbf5cc81afcbbc62784f7c6fc02d4418cf03cee7 /build.gradle
parentRemove redundant scenesOffsetX/Y, replaced with panX (diff)
downloadSubconscious-old-e3fd07e606098dd9cdf0b7ed806340d8466b5572.tar.gz
Subconscious-old-e3fd07e606098dd9cdf0b7ed806340d8466b5572.zip
Reimplement in C++ with SFML (mostly)
Diffstat (limited to '')
-rw-r--r--build.gradle14
1 files changed, 14 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index b57ab80..4d16dd1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,3 +10,17 @@ jar {
)
}
}
+
+apply plugin: 'cpp'
+
+
+model {
+ components {
+ main(NativeExecutableSpec) {
+ binaries.all {
+ cppCompiler.args '-std=c++14', '-Wall'
+ linker.args '-lsfml-graphics', '-lsfml-window', '-lsfml-system'
+ }
+ }
+ }
+}