add initial waf build script and source

This commit is contained in:
Josh Holtrop 2016-03-06 22:07:55 -05:00
parent b9a43efaa0
commit a2fa5a1677
2 changed files with 19 additions and 0 deletions

8
src/svi.cc Normal file
View File

@ -0,0 +1,8 @@
#include <iostream>
using namespace std;
int main(int argc, char * argv[])
{
cout << "Hello there." << endl;
}

11
wscript Normal file
View File

@ -0,0 +1,11 @@
def options(opt):
opt.load("compiler_cxx")
def configure(cnf):
cnf.load("compiler_cxx")
def build(bld):
bld(features = "cxx cxxprogram",
target = "svi",
source = bld.path.ant_glob("src/**/*.cc"),
cflags = ["-Wall"])