summaryrefslogtreecommitdiff
path: root/cppbuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-19 11:58:12 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-19 11:58:12 +0200
commit9fe6626a63718635cca6ce8920e1669d099d46a7 (patch)
treea63b415b0f8a9c2a97ab703234214b6fa7d61eb8 /cppbuild.cc
parenta2be8eba3aaf11a9a73092793d27d6d46b4270cd (diff)
Make self-aware (and recompile/re-launch as needed)
Diffstat (limited to 'cppbuild.cc')
-rw-r--r--cppbuild.cc30
1 files changed, 30 insertions, 0 deletions
diff --git a/cppbuild.cc b/cppbuild.cc
index 882fe63..b1b31ed 100644
--- a/cppbuild.cc
+++ b/cppbuild.cc
@@ -18,8 +18,38 @@ exit $?
#include "libcppbuild.h"
+/*
+Nested build configurations for for example unit-tests in a test folder
+#include "test/cppbuild.cc"
+*/
+
std::vector<BuildConfiguration> configs()
{
+ reg(__FILE__);
+/*
+Glob convenience methods
+std::string glob = getFilesInDir(...);
+*/
+
+/*
+Compilation database
+https://clang.llvm.org/docs/JSONCompilationDatabase.html
+*/
+
+/*
+En feature mere kunne være: pre-post build hooks
+De vil kunne udtrykkes som intra-build dependencies
+Og så selvfølgelig med conditions
+*/
+
+/*
+Target som er "shell script" eller sådan noget
+så kan man kalde f.eks. imageconvert
+*/
+
+/*
+Compiler selection per-target (for arm cross-compilation)
+*/
return
{
{