Skip to content

Instantly share code, notes, and snippets.

@mackey0908
Created March 18, 2015 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mackey0908/ca3889a129fee5f4c37c to your computer and use it in GitHub Desktop.
Save mackey0908/ca3889a129fee5f4c37c to your computer and use it in GitHub Desktop.
waf-1.8系 wscript
def set_options(opt):
#opt.tool_options('compiler_cxx') //これが古い
opt.load('compiler_cxx')
def configure(conf):
#conf.check_tool('compiler_cxx') //これが古い
conf.load('compiler_cxx')
def build(bld):
#bld(features = 'cxx cprogram', //これが古い
bld.program (
source = 'main.cpp',
target = 'main')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment