Created
March 18, 2015 20:18
-
-
Save mackey0908/ca3889a129fee5f4c37c to your computer and use it in GitHub Desktop.
waf-1.8系 wscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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