enforce asserts on invariant_check (#1529)
enforce asserts on invariant_check
This commit is contained in:
parent
feaca772d9
commit
230342df00
6
Jamfile
6
Jamfile
|
@ -287,6 +287,12 @@ rule building ( properties * )
|
||||||
{
|
{
|
||||||
local result ;
|
local result ;
|
||||||
|
|
||||||
|
if ( <asserts>off in $(properties) &&
|
||||||
|
! <invariant-checks>off in $(properties) )
|
||||||
|
{
|
||||||
|
EXIT 'invariant-check' requires enabled 'asserts' mode. (e.g. specify build params: invariant-check=on asserts=on) ;
|
||||||
|
}
|
||||||
|
|
||||||
if <toolset>msvc in $(properties)
|
if <toolset>msvc in $(properties)
|
||||||
{
|
{
|
||||||
# allow larger .obj files (with more sections)
|
# allow larger .obj files (with more sections)
|
||||||
|
|
Loading…
Reference in New Issue