1
# Boost.Signals2 Library
3
# Copyright Frank Mori Hess 2009.
5
# Use, modification and
6
# distribution is subject to the Boost Software License, Version
7
# 1.0. (See accompanying file LICENSE_1_0.txt or copy at
8
# http://www.boost.org/LICENSE_1_0.txt)
10
# For more information, see http://www.boost.org
15
feature.feature extractor-command : : free dependency ;
16
toolset.flags snippet-extractor.extract-snippets EXTRACTOR-COMMAND <extractor-command> ;
18
rule extract-snippets ( target : sources * : properties * )
20
DEPENDS $(target) : [ on $(target) return $(EXTRACTOR-COMMAND) ] ;
22
actions extract-snippets bind EXTRACTOR-COMMAND
24
$(EXTRACTOR-COMMAND[1]) "$(<:D)" $(>)