summaryrefslogtreecommitdiff
path: root/rebuild.h
diff options
context:
space:
mode:
Diffstat (limited to 'rebuild.h')
-rw-r--r--rebuild.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/rebuild.h b/rebuild.h
new file mode 100644
index 0000000..d7720c9
--- /dev/null
+++ b/rebuild.h
@@ -0,0 +1,24 @@
+// -*- c++ -*-
+#pragma once
+
+#include <vector>
+#include <array>
+
+#include "libcppbuild.h"
+
+class Settings;
+
+struct BuildConfigurationEntry
+{
+ const char* file;
+ std::vector<BuildConfiguration> (*cb)();
+};
+
+extern std::array<BuildConfigurationEntry, 1024> configFiles;
+extern std::size_t numConfigFiles;
+
+//int reg(const char* location, std::vector<BuildConfiguration> (*cb)());
+int unreg(const char* location);
+
+void recompileCheck(const Settings& settings, int argc, char* argv[],
+ bool force = false);