# This will link correctly only if symbol MACROS is not defined when # compiling b.cpp. This tests if direct build request # 'release MACROS' to 'b' does not add 'MACROS' when 'b' # is compiled with 'debug' -- the version needed by 'a'. exe a : a.cpp b : debug ; lib b : b.cpp ;