Ninja: Add multi-config variant

Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
This commit is contained in:
Kyle Edwards
2019-11-15 13:01:36 -05:00
parent 3bc63e99e4
commit 5a8a9f7229
54 changed files with 1264 additions and 416 deletions
+6
View File
@@ -479,6 +479,11 @@ public:
int RecursionDepth;
virtual void GetQtAutoGenConfigs(std::vector<std::string>& configs) const
{
configs.emplace_back("$<CONFIG>");
}
protected:
// for a project collect all its targets by following depend
// information, and also collect all the targets
@@ -527,6 +532,7 @@ protected:
std::vector<std::string> Depends;
std::string WorkingDir;
bool UsesTerminal = false;
bool PerConfig = true;
};
void CreateDefaultGlobalTargets(std::vector<GlobalTargetInfo>& targets);