forked from dayllenger/beamui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdub.sdl
88 lines (77 loc) · 3.28 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
name "beamui"
description "Web-inspired desktop UI library"
homepage "https://github.com/dayllenger/beamui"
license "BSL-1.0"
authors "dayllenger" "Vadim Lopatin"
targetName "beamui"
targetPath "lib"
targetType "staticLibrary"
importPaths "3rdparty" "src"
sourcePaths "3rdparty" "src"
stringImportPaths "res" "res/shaders"
excludedSourceFiles "3rdparty/fontconfig.d" platform="windows"
libs "z" platform="linux"
//lflags "/SUBSYSTEM:WINDOWS" platform="windows"
lflags "/ENTRY:mainCRTStartup" platform="windows-dmd" // LDC in startup.d
lflags "/SAFESEH:NO" platform="windows-x86"
toolchainRequirements frontend=">=2.086"
x:ddoxFilterArgs "--min-protection=Protected" "--in" "beamui" "--ex" ""
subPackage "platforms"
subPackage "tools"
subPackage "ext"
subPackage "examples/basic"
subPackage "examples/canvas"
subPackage "examples/css"
subPackage "examples/opengl"
subPackage "examples/overview"
versions "FT_28" "GL_31"
dependency "mofile" version="~>0.2.1"
dependency "icontheme" version="~>1.2.2" // Posix only
dependency "inilike" version="~>1.1.0" // Posix only
dependency "xdgpaths" version="~>0.2.5" // Posix only
configuration "library" {
versions "FREETYPE" platform="posix"
dependency "bindbc-loader" version="~>0.2.1"
dependency "bindbc-freetype" version="~>0.8.0" // Posix only
dependency "bindbc-opengl" version="~>0.12.0"
copyFiles "libs/windows-x86_64/libpixman-1-0.dll" platform="windows-x86_64"
copyFiles "libs/windows-x86/libpixman-1-0.dll" platform="windows-x86"
lflags "$PACKAGE_DIR/libs/windows-x86_64/pixman-1.lib" platform="windows-x86_64"
lflags "$PACKAGE_DIR/libs/windows-x86/pixman-1.lib" platform="windows-x86"
libs "pixman-1" platform="posix"
}
configuration "freetype" {
versions "FREETYPE"
dependency "bindbc-loader" version="~>0.2.1"
dependency "bindbc-freetype" version="~>0.8.0"
dependency "bindbc-opengl" version="~>0.12.0"
copyFiles "libs/windows-x86_64/freetype.dll" platform="windows-x86_64"
copyFiles "libs/windows-x86/freetype.dll" platform="windows-x86"
copyFiles "libs/windows-x86_64/libpixman-1-0.dll" platform="windows-x86_64"
copyFiles "libs/windows-x86/libpixman-1-0.dll" platform="windows-x86"
lflags "$PACKAGE_DIR/libs/windows-x86_64/pixman-1.lib" platform="windows-x86_64"
lflags "$PACKAGE_DIR/libs/windows-x86/pixman-1.lib" platform="windows-x86"
libs "pixman-1" platform="posix"
}
configuration "minimal" {
versions "NO_OPENGL"
versions "FREETYPE" platform="posix"
dependency "bindbc-loader" version="~>0.2.1"
dependency "bindbc-freetype" version="~>0.8.0" // Posix only
copyFiles "libs/windows-x86_64/libpixman-1-0.dll" platform="windows-x86_64"
copyFiles "libs/windows-x86/libpixman-1-0.dll" platform="windows-x86"
lflags "$PACKAGE_DIR/libs/windows-x86_64/pixman-1.lib" platform="windows-x86_64"
lflags "$PACKAGE_DIR/libs/windows-x86/pixman-1.lib" platform="windows-x86"
libs "pixman-1" platform="posix"
}
configuration "console" {
versions "CONSOLE"
excludedSourceFiles "3rdparty/dimage/*" "3rdparty/fontconfig.d"
}
configuration "ddox" {
versions "FREETYPE"
sourcePaths "ext/src" "tools/src"
dependency "bindbc-loader" version="~>0.2.1"
dependency "bindbc-freetype" version="~>0.8.0" // Posix only
dependency "bindbc-opengl" version="~>0.12.0"
}