summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/auto_index/build/Jamfile.v2
blob: 2e6227732c99d0c33ae18dc22f61367fd2cbe442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#==============================================================================
#   Copyright (c) 2015 Rene Rivera
#
#   Use, modification and distribution is subject to 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)
#==============================================================================

import quickbook ;
import modules ;
import boostcpp ;
import path ;
import option ;

local DIST_DIR = [ option.get distdir ] ;
DIST_DIR ?= [ option.get build-dir ] ;
DIST_DIR ?= [ path.join $(BOOST_ROOT) dist ] ;
DIST_DIR = [ path.root [ path.make $(DIST_DIR) ] [ path.pwd ] ] ;
local DIST_BIN = [ path.join $(DIST_DIR) bin ] ;

exe auto_index : 
   ../src/auto_index.cpp 
   ../src/file_scanning.cpp 
   ../src/index_generator.cpp 
   ../src/tiny_xml.cpp 
   /boost//regex 
   /boost//filesystem 
   /boost//system 
   /boost//program_options
: <define>BOOST_ALL_NO_LIB=1 <link>static release ;

install aii : auto_index : <location>. ;
explicit aii ;

install i : auto_index : <location>$(DIST_BIN) ;