-
Notifications
You must be signed in to change notification settings - Fork 0
/
dub.json
46 lines (45 loc) · 1.46 KB
/
dub.json
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
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "derbot-engine",
"description": "The Derbot Game Engine",
"authors": ["Derbdale"],
"license": "GPL-2.0",
"targetType": "executable",
"configurations": [
{
"name": "Debug",
"targetType": "executable",
"targetPath":"build/debug",
"preBuildCommands":["rm -r build/debug", "mkdir build\\debug", "CLS"],
"postBuildCommands":["cp dlls/* build/debug", "cp assets build/debug/assets -R", "rm -r .dub"]
},
{
"name": "Release",
"targetType": "executable",
"lflags": ["-L/exet:nt/su:windows"],
"targetPath": "build/release",
"preBuildCommands":["rm -r build/release", "mkdir build\\release", "CLS"],
"postBuildCommands":["cp dlls/* build/release", "cp assets build/release/assets -R", "rm -r .dub"]
},
{
"name": "Debug-Windows",
"targetType": "executable",
"targetPath":"build\\debug",
"preBuildCommands":["rd /s /q build\\debug", "md build\\debug", "CLS"],
"postBuildCommands":["copy dlls\\* build\\debug", "xcopy assets build\\debug\\assets\\ /s /e", "rd /s /q .dub"]
},
{
"name": "Release-Windows",
"targetType": "executable",
"lflags": ["-L/exet:nt/su:windows"],
"targetPath": "build\\release",
"preBuildCommands":["rd /s /q build\\release", "md build\\release", "CLS"],
"postBuildCommands":["copy dlls\\* build\\release", "xcopy assets build\\release\\assets\\ /s /e", "rd /s /q .dub"]
}
],
"buildOptions": [
],
"dependencies": {
"derelict-sdl2":"~master",
"derelict-gl3":"~master",
},
}