]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/json/bench/Jamfile
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / json / bench / Jamfile
diff --git a/ceph/src/boost/libs/json/bench/Jamfile b/ceph/src/boost/libs/json/bench/Jamfile
new file mode 100644 (file)
index 0000000..8b7c44e
--- /dev/null
@@ -0,0 +1,33 @@
+#
+# Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
+#
+# Distributed under the Boost Software License, Version 1.0. (See accompanying
+# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#
+# Official repository: https://github.com/boostorg/json
+#
+
+import os ;
+
+STANDALONE = [ os.environ STANDALONE ] ;
+if $(STANDALONE)
+{
+    LIB =
+        <define>BOOST_JSON_STANDALONE=1
+        <source>../src/src.cpp
+        ;
+}
+else
+{
+    LIB = <library>/boost/json//boost_json ;
+}
+
+project : requirements $(c11-requires) ;
+
+exe bench :
+    bench.cpp
+    :
+    <include>../test
+    :
+    $(LIB)
+    ;