blob: b04ee052304b037a9b8121f9c1eb6faf34a8c798 (
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
27
28
29
30
31
32
33
34
|
apply plugin: 'c'
apply plugin: 'sdk-files'
apply plugin: 'windows-setup'
model {
components {
sdkLauncher(NativeExecutableSpec) {
sources {
c {
source {
srcDir "src/source"
include "**/*.c"
}
}
}
targetPlatform "windows32"
}
}
}
sdk {
windows {
item( { getExeName("sdkLauncherExecutable") } ) {
into 'lib'
name 'SDK Manager.exe'
builtBy 'sdkLauncherExecutable'
}
}
}
def getExeName(String name) {
return binaries.getByName(name).executableFile
}
|