diff options
Diffstat (limited to '')
-rw-r--r-- | build.gradle | 14 |
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' + } + } + } +} |