2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Add "--dump-project" command line option.

[SVN r14340]
This commit is contained in:
Vladimir Prus
2002-07-08 09:50:43 +00:00
parent eeeb69680e
commit 5c02cc13dc

View File

@@ -14,6 +14,11 @@ import site-config ;
import user-config ;
current-project = [ project.load "." ] ;
if [ MATCH (--dump-projects) : [ modules.peek : ARGV ] ]
{
project-root.print ;
}
build-request = [ build-request.from-command-line [ modules.peek : ARGV ] ] ;
targets = [ $(build-request).get-at 1 ] ;