summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/auto_index/build/Jamfile.v2
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/tools/auto_index/build/Jamfile.v2')
-rw-r--r--src/boost/tools/auto_index/build/Jamfile.v235
1 files changed, 35 insertions, 0 deletions
diff --git a/src/boost/tools/auto_index/build/Jamfile.v2 b/src/boost/tools/auto_index/build/Jamfile.v2
new file mode 100644
index 000000000..2e6227732
--- /dev/null
+++ b/src/boost/tools/auto_index/build/Jamfile.v2
@@ -0,0 +1,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) ;