Skip to content

Instantly share code, notes, and snippets.

@nabijaczleweli
Last active September 26, 2015 17:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nabijaczleweli/9342cb08ba396a38e8fc to your computer and use it in GitHub Desktop.
Save nabijaczleweli/9342cb08ba396a38e8fc to your computer and use it in GitHub Desktop.
The base waf build system script
#!/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')
@nabijaczleweli
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment