mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Issue a user-friendly warning when no toolsets are configured.
[SVN r18090]
This commit is contained in:
@@ -67,6 +67,16 @@ if [ MATCH (--dump-projects) : [ modules.peek : ARGV ] ]
|
||||
project-root.print ;
|
||||
}
|
||||
|
||||
if ! [ feature.values toolset ]
|
||||
{
|
||||
ECHO "warning: no toolsets are configured." ;
|
||||
ECHO "warning: you won't be able to build C++ programs." ;
|
||||
ECHO "warning: please consult the documentation." ;
|
||||
ECHO ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
build-request = [ build-request.from-command-line [ modules.peek : ARGV ] ] ;
|
||||
|
||||
properties = [ $(build-request).get-at 2 ] ;
|
||||
|
||||
Reference in New Issue
Block a user