diff options
author | Ralph Amissah <ralph@amissah.com> | 2020-02-07 10:52:16 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2020-03-06 15:13:53 -0500 |
commit | 503412b02356cd0dd92f0fc0900f48eab3afce24 (patch) | |
tree | 0e8ee05bcb814db5d414386c42fd9cd64804d892 /subprojects/d2sqlite3/dub.sdl | |
parent | latex outputs (various paper sizes & orientation) (diff) |
meson build
Diffstat (limited to 'subprojects/d2sqlite3/dub.sdl')
-rw-r--r-- | subprojects/d2sqlite3/dub.sdl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/subprojects/d2sqlite3/dub.sdl b/subprojects/d2sqlite3/dub.sdl new file mode 100644 index 0000000..f2bd29f --- /dev/null +++ b/subprojects/d2sqlite3/dub.sdl @@ -0,0 +1,29 @@ +name "d2sqlite3" +description "A thin wrapper around SQLite 3" +homepage "https://github.com/biozic/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 "travis" { + preBuildCommands "make -C $PACKAGE_DIR -f sqlite3.mak" platform="posix" + sourceFiles "sqlite3.o" platform="posix" + versions "SqliteEnableColumnMetadata" "SqliteEnableUnlockNotify" +} |