aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/d2sqlite3/dub.sdl
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-02-19 17:10:51 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2021-02-24 16:46:47 -0500
commit02ca32ae0a5bc290918d2b2a3288e385b9cc6b11 (patch)
tree06379785e8a0165a7deb981c2eba362894820634 /src/ext_depends/d2sqlite3/dub.sdl
parentbuild from static source-tree pre fetch depends (diff)
external & build dependences in src tree
- external & build dependences boost licensed - ext_depends (external depends) - D-YAML - tinyendian - d2sqlite3 - imageformats - build_depends - dub2nix
Diffstat (limited to 'src/ext_depends/d2sqlite3/dub.sdl')
-rw-r--r--src/ext_depends/d2sqlite3/dub.sdl35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/ext_depends/d2sqlite3/dub.sdl b/src/ext_depends/d2sqlite3/dub.sdl
new file mode 100644
index 0000000..40c1f9e
--- /dev/null
+++ b/src/ext_depends/d2sqlite3/dub.sdl
@@ -0,0 +1,35 @@
+name "d2sqlite3"
+description "A thin wrapper around SQLite 3"
+homepage "https://github.com/dlang-community/d2sqlite3"
+authors "Nicolas Sicard" "Other contributors: see Github repo"
+copyright "Copyright 2011-18 Nicolas Sicard"
+license "BSL-1.0"
+targetType "library"
+configuration "with-lib" {
+ systemDependencies "SQLite version >= 3.8.7"
+ libs "sqlite3"
+ excludedSourceFiles "source/tests.d"
+}
+configuration "without-lib" {
+ excludedSourceFiles "source/tests.d"
+}
+configuration "all-included" {
+ libs "sqlite3" platform="windows"
+ copyFiles "lib/win32/sqlite3.dll" "lib/win32/sqlite3.lib" platform="windows-x86"
+ copyFiles "lib/win64/sqlite3.dll" "lib/win64/sqlite3.lib" platform="windows-x86_64"
+ preBuildCommands "make -C $PACKAGE_DIR -f sqlite3.mak" platform="posix"
+ sourceFiles "sqlite3.o" platform="posix"
+ libs "dl" platform="linux-gdc"
+ excludedSourceFiles "source/tests.d"
+}
+configuration "ci" {
+ preBuildCommands "make -C $PACKAGE_DIR -f sqlite3.mak" platform="posix"
+ sourceFiles "sqlite3.o" platform="posix"
+ versions "SqliteEnableColumnMetadata" "SqliteEnableUnlockNotify"
+}
+
+configuration "unittest" {
+ // Make sure source/tests.d is included
+ systemDependencies "SQLite version >= 3.8.7"
+ libs "sqlite3"
+}