blob: 4d16dd136b1f70ce45e529845aa4060a0143f2fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
apply plugin: 'java'
apply plugin: 'application'
mainClassName = 'Subconscious'
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': 'Subconscious'
)
}
}
apply plugin: 'cpp'
model {
components {
main(NativeExecutableSpec) {
binaries.all {
cppCompiler.args '-std=c++14', '-Wall'
linker.args '-lsfml-graphics', '-lsfml-window', '-lsfml-system'
}
}
}
}
|