diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-11-14 18:06:58 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-11-20 19:05:09 +0100 |
commit | 0159b72dbf048b0aa7d7b9ae85715205cb801e50 (patch) | |
tree | 74c1f613cc768c962a621c377ac1d59e40280a67 /src/rebuild.h | |
parent | 3c29644d3bc8c4daad68ab92003a9e754f39de2a (diff) |
Evaluate externals in configure step end read from config map during compilation.
Diffstat (limited to 'src/rebuild.h')
-rw-r--r-- | src/rebuild.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rebuild.h b/src/rebuild.h index f14236e..0845d30 100644 --- a/src/rebuild.h +++ b/src/rebuild.h @@ -13,13 +13,13 @@ class Settings; struct BuildConfigurationEntry { const char* file; - std::vector<BuildConfiguration> (*cb)(); + BuildConfigurations (*cb)(); }; struct ExternalConfigurationEntry { const char* file; - std::vector<ExternalConfiguration> (*cb)(); + ExternalConfigurations (*cb)(); }; extern std::array<BuildConfigurationEntry, 1024> configFiles; @@ -31,5 +31,6 @@ extern std::size_t numExternalConfigFiles; int reg(const char* location); int unreg(const char* location); -void recompileCheck(const Settings& settings, int argc, char* argv[], +//! Returns true of recompilation was needed. +bool recompileCheck(const Settings& settings, int argc, char* argv[], bool relaunch_allowed = true); |