#!/usr/bin/python Import("Test", "CONFIG") out = open("print.good", 'w') if CONFIG.DEBUG == True: out.write("%s-debug\n" % CONFIG.VERSION) out.write("%s-debug\n" % CONFIG.VERSION) else: out.write("%s\n" % CONFIG.VERSION) out.write("%s\n" % CONFIG.VERSION) out.close() Test("basic", "print.cpp")