summaryrefslogtreecommitdiff
path: root/subprojects/boost-sqlite/build/Jamfile
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/boost-sqlite/build/Jamfile')
-rw-r--r--subprojects/boost-sqlite/build/Jamfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/subprojects/boost-sqlite/build/Jamfile b/subprojects/boost-sqlite/build/Jamfile
new file mode 100644
index 0000000..3fae7e4
--- /dev/null
+++ b/subprojects/boost-sqlite/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 ;
+