summaryrefslogtreecommitdiff
path: root/.build
diff options
context:
space:
mode:
authorAlejandro W. Sior <aho@sior.be>2023-02-02 11:05:01 +0100
committerAlejandro W. Sior <aho@sior.be>2023-02-02 11:05:01 +0100
commit532df0ac7ffaaee037dbb22985e29aeca605d088 (patch)
tree46a18028c0586f5f504a8701746adae066704079 /.build
chisel: initial commit
Diffstat (limited to '.build')
-rw-r--r--.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/.build b/.build
new file mode 100644
index 0000000..4c3789e
--- /dev/null
+++ b/.build
@@ -0,0 +1,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
+)