summaryrefslogtreecommitdiff
path: root/tools/build/example/pch/jamroot.jam
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/example/pch/jamroot.jam')
-rw-r--r--tools/build/example/pch/jamroot.jam29
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/build/example/pch/jamroot.jam b/tools/build/example/pch/jamroot.jam
new file mode 100644
index 000000000..115164aae
--- /dev/null
+++ b/tools/build/example/pch/jamroot.jam
@@ -0,0 +1,29 @@
+# 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 ;
+
+cpp-pch pch
+ : # sources
+ include/pch.hpp
+ : # requirements
+ <include>include
+ ;
+explicit pch ;
+
+# exe ##########################################################################
+
+exe hello_world
+ : # sources
+ pch
+ source/hello_world.cpp
+ : # requirements
+ <include>include
+ : # default build
+ : # usage requirements
+ ;