]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/example/pch-multi/jamroot.jam
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / build / example / pch-multi / jamroot.jam
diff --git a/ceph/src/boost/tools/build/example/pch-multi/jamroot.jam b/ceph/src/boost/tools/build/example/pch-multi/jamroot.jam
new file mode 100644 (file)
index 0000000..fd15285
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 2006 Ilya Sokolov
+#
+# 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)
+
+# pch ##########################################################################
+
+import pch ;
+
+local pchs ;
+for local hpp in [ glob-tree *.hpp ]
+{
+    cpp-pch $(hpp:B) : $(hpp) : <include>include ;
+    explicit $(hpp:B) ;
+    pchs += $(hpp:B) ;
+}
+alias headers : $(pchs) ;
+
+# exe ##########################################################################
+
+exe hello_world
+  : # sources
+    headers
+    source/hello_world.cpp
+  : # requirements
+    <include>include
+  : # default build
+  : # usage requirements
+  ;