Last active
September 26, 2015 17:45
-
-
Save nabijaczleweli/9342cb08ba396a38e8fc to your computer and use it in GitHub Desktop.
The base waf build system script
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
#!/usr/bin/env python3 | |
def options(opts): | |
opts.load('compiler_cxx') | |
def configure(conf): | |
conf.load('compiler_cxx') | |
conf.check(features='cxx cxxprogram', cxxflags=['-std=c++14', '-Wall', '-Wextra', '-O3', '-pedantic', '-pipe'], uselib_store='M') | |
def build(buld): | |
buld(features='cxx cxxstlib', source=buld.path.ant_glob('src/**/*.cpp'), target='cpponfig', use='M') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
waf
: https://github.com/waf-project/waf