diff --git a/new/build-system.jam b/new/build-system.jam index 5435573ca..1f9b8dde9 100644 --- a/new/build-system.jam +++ b/new/build-system.jam @@ -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 ] ;