diff options
Diffstat (limited to 'src/rebuild.h')
-rw-r--r-- | src/rebuild.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/rebuild.h b/src/rebuild.h new file mode 100644 index 0000000..bc5d889 --- /dev/null +++ b/src/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, bool relaunch_allowed = true); |