forked from boostorg/predef
Use define requirement instead of direct -D option for check compile, as
obviously not all compilers use "-D".
This commit is contained in:
1 parent
bfac404a0f
commit
6d448857ed
2 files changed
+1299
-1
No files matched your search
+1
-1
@@ -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
Reference in new issue
Block a user