|
@@ -12,6 +12,7 @@
|
|
|
|
|
|
|
|
#include <map>
|
|
#include <map>
|
|
|
#include <set>
|
|
#include <set>
|
|
|
|
|
+#include <stddef.h>
|
|
|
#include <string>
|
|
#include <string>
|
|
|
#include <utility>
|
|
#include <utility>
|
|
|
#include <vector>
|
|
#include <vector>
|
|
@@ -107,6 +108,17 @@ public:
|
|
|
/** Get all sources needed for a configuration with kinds assigned. */
|
|
/** Get all sources needed for a configuration with kinds assigned. */
|
|
|
KindedSources const& GetKindedSources(std::string const& config) const;
|
|
KindedSources const& GetKindedSources(std::string const& config) const;
|
|
|
|
|
|
|
|
|
|
+ struct AllConfigSource
|
|
|
|
|
+ {
|
|
|
|
|
+ cmSourceFile const* Source;
|
|
|
|
|
+ cmGeneratorTarget::SourceKind Kind;
|
|
|
|
|
+ std::vector<size_t> Configs;
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
|
|
+ /** Get all sources needed for all configurations with kinds and
|
|
|
|
|
+ per-source configurations assigned. */
|
|
|
|
|
+ std::vector<AllConfigSource> const& GetAllConfigSources() const;
|
|
|
|
|
+
|
|
|
void GetObjectSources(std::vector<cmSourceFile const*>&,
|
|
void GetObjectSources(std::vector<cmSourceFile const*>&,
|
|
|
const std::string& config) const;
|
|
const std::string& config) const;
|
|
|
const std::string& GetObjectName(cmSourceFile const* file);
|
|
const std::string& GetObjectName(cmSourceFile const* file);
|
|
@@ -731,6 +743,9 @@ private:
|
|
|
void ComputeKindedSources(KindedSources& files,
|
|
void ComputeKindedSources(KindedSources& files,
|
|
|
std::string const& config) const;
|
|
std::string const& config) const;
|
|
|
|
|
|
|
|
|
|
+ mutable std::vector<AllConfigSource> AllConfigSources;
|
|
|
|
|
+ void ComputeAllConfigSources() const;
|
|
|
|
|
+
|
|
|
std::vector<TargetPropertyEntry*> IncludeDirectoriesEntries;
|
|
std::vector<TargetPropertyEntry*> IncludeDirectoriesEntries;
|
|
|
std::vector<TargetPropertyEntry*> CompileOptionsEntries;
|
|
std::vector<TargetPropertyEntry*> CompileOptionsEntries;
|
|
|
std::vector<TargetPropertyEntry*> CompileFeaturesEntries;
|
|
std::vector<TargetPropertyEntry*> CompileFeaturesEntries;
|