1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
this.include_dirs = [Path('.').resolve()] this.objects = [] this.deps = [] this('chisel') this.objects += this.cpp.cc( 'main.cpp', include_dirs = this.include_dirs, dependencies = this.deps ) chisel = this.cpp.exe('chtest', this.objects, dependencies = this.deps )