Use define requirement instead of direct -D option for check compile, as

obviously not all compilers use "-D".
This commit is contained in:
Rene Rivera
2015-08-06 21:05:26 -05:00
parent bfac404a0f
commit 6d448857ed
2 changed files with 1299 additions and 1 deletions

View File

@ -72,7 +72,7 @@ rule check ( expressions + : language ? : true-properties * : false-properties *
{
_checks_ += $(key) ;
_message_(/check/predef//predef_check_cc_$(key)) = $(expression) ;
check_target $(language) $(key) : <flags>"\"-DCHECK=$(expression)\"" ;
check_target $(language) $(key) : <define>\"CHECK=$(expression)\" ;
}
terms += /check/predef//predef_check_cc_$(key) ;

File diff suppressed because it is too large Load Diff