mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 15:18:26 -05:00
Ninja Multi-Config: Add support for cross-config custom commands
Co-Author: Brad King <brad.king@kitware.com>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmLocalCommonGenerator.h"
|
||||
#include "cmNinjaTypes.h"
|
||||
#include "cmOutputConverter.h"
|
||||
@@ -70,6 +71,10 @@ public:
|
||||
const std::string& fileConfig,
|
||||
cmNinjaTargetDepends depends);
|
||||
|
||||
std::string CreateUtilityOutput(std::string const& targetName,
|
||||
std::vector<std::string> const& byproducts,
|
||||
cmListFileBacktrace const& bt) override;
|
||||
|
||||
std::vector<cmCustomCommandGenerator> MakeCustomCommandGenerators(
|
||||
cmCustomCommand const& cc, std::string const& config) override;
|
||||
|
||||
@@ -102,9 +107,9 @@ private:
|
||||
void WriteProcessedMakefile(std::ostream& os);
|
||||
void WritePools(std::ostream& os);
|
||||
|
||||
void WriteCustomCommandBuildStatement(cmCustomCommand const* cc,
|
||||
const cmNinjaDeps& orderOnlyDeps,
|
||||
const std::string& config);
|
||||
void WriteCustomCommandBuildStatement(
|
||||
cmCustomCommand const* cc, const std::set<cmGeneratorTarget*>& targets,
|
||||
const std::string& config);
|
||||
|
||||
void WriteCustomCommandBuildStatements(const std::string& config);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user