summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-14 00:16:10 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-14 00:16:10 -0400
commitefcea3a80da7c4479d5fe168435ecc9fd06bdc72 (patch)
tree5cb0177e17b1b00a177f2e830e809f606334571b /build
downloadsqlite-kv-bench-efcea3a80da7c4479d5fe168435ecc9fd06bdc72.tar.gz
Squashed 'subprojects/boost-sqlite/' content from commit 3378e35
git-subtree-dir: subprojects/boost-sqlite git-subtree-split: 3378e353705271e569cf4ba15c467b840a39798c
Diffstat (limited to 'build')
-rw-r--r--build/Jamfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/build/Jamfile b/build/Jamfile
new file mode 100644
index 0000000..3fae7e4
--- /dev/null
+++ b/build/Jamfile
@@ -0,0 +1,36 @@
+
+project boost/sqlite
+ : requirements
+ <define>BOOST_FILESYSTEM_NO_DEPRECATED=1
+ <define>BOOST_SQLITE_SEPARATE_COMPILATION=1
+ <link>shared:<define>BOOST_SQLITE_DYN_LINK=1
+ <link>static:<define>BOOST_SQLITE_STATIC_LINK=1
+ <define>BOOST_SQLITE_SOURCE=1
+ : usage-requirements
+ <link>shared:<define>BOOST_SQLITE_DYN_LINK=1
+ <link>static:<define>BOOST_SQLITE_STATIC_LINK=1
+ : source-location ../src
+ ;
+
+lib sqlite3 ;
+
+local SOURCES =
+ detail/exception.cpp
+ backup.cpp
+ blob.cpp
+ connection.cpp
+ error.cpp
+ ext.cpp
+ field.cpp
+ meta_data.cpp
+ resultset.cpp
+ row.cpp
+ value.cpp ;
+
+
+lib boost_sqlite : $(SOURCES) sqlite3 /boost//json ;
+lib boost_sqlite_ext : $(SOURCES) ext.cpp sqlite3 /boost//json : <define>BOOST_SQLITE_COMPILE_EXTENSION=1 ;
+alias extension : boost_sqlite_ext ;
+
+boost-install boost_sqlite boost_sqlite_ext ;
+