summaryrefslogtreecommitdiff
path: root/cppbuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-11 19:07:09 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-11 19:07:16 +0200
commit474ce1322f3c13fe414b5e2201d82a4136a947da (patch)
tree841d4771e451d646c7a83384a148a7b791f1ff44 /cppbuild.cc
Simple build config with dependency tracking.
Diffstat (limited to 'cppbuild.cc')
-rw-r--r--cppbuild.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/cppbuild.cc b/cppbuild.cc
new file mode 100644
index 0000000..b06b082
--- /dev/null
+++ b/cppbuild.cc
@@ -0,0 +1,19 @@
+#include <vector>
+#include <string>
+#include <utility>
+
+#include "libcppbuild.h"
+
+BuildConfiguration configs()
+{
+ return
+ {
+ // target
+ "bas",
+ {
+ // source files
+ "src/foo.cc",
+ "src/bar.cc",
+ }
+ };
+}