-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
dub.sdl
122 lines (93 loc) · 3.12 KB
/
dub.sdl
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
name "inochi-session"
description "App that allows you to stream with Inochi2D puppets"
authors "Inochi2D Project"
copyright "Copyright © 2021, Inochi2D Project"
license "BSD 2-clause"
dependency "tinyfiledialogs" version="~>0.10.1"
dependency "facetrack-d" version="~>0.8.0"
dependency "i2d-imgui" version="~>0.8.0"
dependency "inui" version="~>1.2.2"
dependency "lumars" version="~>1.6.1"
dependency "bindbc-sdl" version="~>1.1.2"
dependency "i18n-d" version="~>1.0.2"
dependency "inochi2d" version="~>0.8.7"
dependency "inmath" version="~>1.3.0"
targetPath "out/"
workingDirectory "out/"
copyFiles "res/licenses/*"
dflags "-mscrtlib=msvcrt" platform="windows-ldc"
lflags "-rpath=$$ORIGIN" platform="linux"
versions "GL_32" "USE_SDL2" "USE_GL" "SDL_2020" "USE_OpenGL3"
stringImportPaths "res"
// Uncomment following lines to enable JINS MEME Logger module.
//versions "JML"
//subConfiguration "facetrack-d" "jml"
//
// CONFIGURATIONS
//
configuration "barebones" {
platforms "linux"
targetType "executable"
dependency "dportals" version="~>0.1.0"
}
// Official build configurations.
// Do not package your compilation of Inochi Creator with these configurations
// unless you have prior permission from the Inochi2D project.
configuration "linux-full" {
platforms "linux"
targetType "executable"
versions "InBranding"
dependency "dportals" version="~>0.1.0"
}
configuration "osx-full" {
platform "osx"
targetType "executable"
targetPath "out/Inochi Session.app/Contents/MacOS"
versions "InBranding"
subConfiguration "i2d-imgui" "dynamic_dynamicCRT"
lflags "-rpath" "@executable_path/../Frameworks" "-rpath" "@executable_path/."
}
configuration "win32-full" {
platforms "windows"
targetType "executable"
versions "InBranding"
dependency "bindbc-spout2" version="~>0.1.1"
lflags "/SUBSYSTEM:windows" "/ENTRY:mainCRTStartup" platform="window-dmd"
sourceFiles "build-aux\\windows\\inochi-session.res"
}
// Linux nightly build
configuration "linux-nightly" {
platforms "linux"
targetType "executable"
subConfiguration "i2d-imgui" "static_dynamicCRT"
versions "InNightly"
dependency "dportals" version="~>0.1.0"
}
// macOS nightly build
configuration "osx-nightly" {
platforms "osx"
targetType "executable"
targetPath "out/Inochi Session.app/Contents/MacOS"
subConfiguration "i2d-imgui" "dynamic_dynamicCRT"
dflags "-force-dwarf-frame-section=false"
lflags "-rpath" "@executable_path/../Frameworks" "-rpath" "@executable_path/."
versions "InNightly"
}
// Windows nightly build
configuration "win32-nightly" {
platforms "windows"
targetType "executable"
versions "InBranding" "InNightly"
dependency "bindbc-spout2" version="~>0.1.1"
lflags "/SUBSYSTEM:windows" "/ENTRY:mainCRTStartup" platform="window-dmd"
sourceFiles "build-aux\\windows\\inochi-session.res"
}
// Meta configurations
configuration "update-version" {
targetType "none"
preGenerateCommands "dub run gitver -- --prefix INS --file source/session/ver.d --mod session.ver --appname \"Inochi Session\" --itchfile version.txt"
}
configuration "meta" {
targetType "none"
preGenerateCommands "rc.exe /v build-aux\\windows\\inochi-session.rc" platform="windows"
}