• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2006 Ilya Sokolov
2#
3# Distributed under the Boost Software License, Version 1.0. (See
4# accompanying file LICENSE_1_0.txt or copy at
5# http://www.boost.org/LICENSE_1_0.txt)
6
7# pch ##########################################################################
8
9import pch ;
10
11local pchs ;
12for local hpp in [ glob-tree *.hpp ]
13{
14    cpp-pch $(hpp:B) : $(hpp) : <include>include ;
15    explicit $(hpp:B) ;
16    pchs += $(hpp:B) ;
17}
18alias headers : $(pchs) ;
19
20# exe ##########################################################################
21
22exe hello_world
23  : # sources
24    headers
25    source/hello_world.cpp
26  : # requirements
27    <include>include
28  : # default build
29  : # usage requirements
30  ;
31