mirror of
https://github.com/boostorg/predef.git
synced 2025-07-30 19:57:14 +02:00
Use define requirement instead of direct -D option for check compile, as
obviously not all compilers use "-D".
This commit is contained in:
@ -72,7 +72,7 @@ rule check ( expressions + : language ? : true-properties * : false-properties *
|
|||||||
{
|
{
|
||||||
_checks_ += $(key) ;
|
_checks_ += $(key) ;
|
||||||
_message_(/check/predef//predef_check_cc_$(key)) = $(expression) ;
|
_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) ;
|
terms += /check/predef//predef_check_cc_$(key) ;
|
||||||
|
1298
doc/html/predef/reference/boost_hw_hardware_macros.html
Normal file
1298
doc/html/predef/reference/boost_hw_hardware_macros.html
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user