mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-17 17:21:49 +01:00
Update SDL build to Gradle 2.13
This commit is contained in:
@@ -1,23 +1,12 @@
|
||||
apply plugin: 'c'
|
||||
apply plugin: 'visual-studio'
|
||||
|
||||
sources {
|
||||
main {
|
||||
c {
|
||||
source {
|
||||
// Include just source, avoid including *.swp and other helper files
|
||||
include "**/*.c"
|
||||
}
|
||||
exportedHeaders {
|
||||
srcDir "../build/include"
|
||||
}
|
||||
}
|
||||
model {
|
||||
components {
|
||||
main(NativeExecutableSpec) {}
|
||||
}
|
||||
}
|
||||
|
||||
executables {
|
||||
main {
|
||||
binaries.all {
|
||||
binaries {
|
||||
all {
|
||||
if (toolChain in VisualCpp) {
|
||||
cCompiler.args "/MD"
|
||||
linker.args "/SUBSYSTEM:CONSOLE", "/LIBPATH:../build/lib/",
|
||||
|
||||
Reference in New Issue
Block a user