aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-11-25 15:24:08 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:28:02 +0200
commitf3f053984698845828f169b1bcc09065bf9fe848 (patch)
tree81b7c119087c2b53f535533a9266e49422b1edac /include
parent640c0a8d3470c1276fa8c600760cfc3c75731bf9 (diff)
Add option to always run build
Diffstat (limited to 'include')
-rw-r--r--include/ninja/Ninja.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ninja/Ninja.hpp b/include/ninja/Ninja.hpp
index 3fed138..095c959 100644
--- a/include/ninja/Ninja.hpp
+++ b/include/ninja/Ninja.hpp
@@ -69,7 +69,7 @@ namespace ninja
const std::string value;
};
- class NinjaBuild;
+ struct NinjaBuild;
// Functions throw NinjaException on failure
class NinjaRule
@@ -94,6 +94,7 @@ namespace ninja
const std::string out;
const std::vector<ninja::NinjaArgValue> additionalArgs;
const std::vector<NinjaBuild*> dependsOnBuilds;
+ bool alwaysRun;
};
// Functions throw NinjaException on failure