4
'cxx_compiler'등으로 선택된 특정 도구 waf를 어떻게 확인할 수 있습니까? Exempli gratia에 :waf가 선택한 도구를 결정하는 방법은 무엇입니까?
def configure(ctx):
print('Running ' + ctx.cmd + ' in ' + ctx.path.abspath())
ctx.load('compiler_c')
ctx.load('compiler_cxx')
def build(ctx):
print('Running ' + ctx.cmd + ' in ' + ctx.path.abspath())
# Here print which C++ compiler was chosen
print 'Building cpp files with %s' % WHAT_GOES_HERE