-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
dub.json
29 lines (27 loc) · 935 Bytes
/
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
{
"name": "stdcpp",
"description": "Bindings for the C++ standard library.",
"license": "BSD-2",
"authors": [ "The D Language Foundation" ],
"copyright": "Copyright © 2023, The D Language Foundation",
"configurations": [
{
"name": "library",
"excludedSourceFiles": [ "source/stdcpp/test/*" ]
},
{
"name": "unittest",
"lflags-posix": [ "-lstdc++" ],
"lflags-linux": [ "--export-dynamic" ],
"lflags-osx": [ "-export_dynamic" ],
"preGenerateCommands-posix": [
"$PACKAGE_DIR/extras/cxx-wrapper.sh test",
],
"preGenerateCommands-windows": [
"cl /c /Fo: $PACKAGE_DIR/extras/ $PACKAGE_DIR/extras/test.cpp",
],
"sourceFiles-posix": [ "extras/test.o" ],
"sourceFiles-windows": [ "extras/test.obj" ]
}
]
}