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:
@@ -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 ] ;
|
||||
|
||||
Reference in New Issue
Block a user