Skip to content

Commit 0ea9725

Browse files
committed
Adding precompiled header support via Boost.Build.
1 parent e485685 commit 0ea9725

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ CMakeCache.txt
55
CMakeFiles
66
Makefile
77
Testing
8-
build
98
bin
9+
*.gch
1010

Jamroot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use-project /boost : $(BOOST_ROOT) ;
1212

1313
using testing ;
1414

15+
build-project libs/network/build ;
1516
build-project libs/network/test ;
1617
build-project libs/mime/test ;
1718

libs/network/build/Jamfile.v2

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
# Copyright Dean Michael Berris 2007.
3+
# Distributed under the Boost Software License, Version 1.0.
4+
# (See accompanying file LICENSE_1_0.txt or copy at
5+
# http://www.boost.org/LICENSE_1_0.txt)
6+
7+
project cpp-netlib :
8+
requirements
9+
<include>../../../
10+
<include>$BOOST_ROOT
11+
: source-location ../../../
12+
;
13+
14+
cpp-pch client : boost/network/include/http/client.hpp ;
15+
cpp-pch server : boost/network/include/http/server.hpp ;
16+
17+
install headers : client server
18+
: <location>../../../boost/network/include/http ;
19+
20+
alias all : headers ;
21+

libs/network/test/Jamfile.v2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if [ os.name ] = CYGWIN
1515
project network_test :
1616
requirements
1717
<include>../../../
18+
<include>.
1819
<source>/boost//unit_test_framework
1920
<source>/boost//system
2021
<source>/boost//date_time

0 commit comments

Comments
 (0)