diff options
author | Brad King <brad.king@kitware.com> | 2018-07-19 11:54:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-19 17:20:28 (GMT) |
commit | 30e27b4110072c1e3ad0492f8115a52ff33f1c37 (patch) | |
tree | 98be54bc1d82ce734edb7a001dca808dc6f3f9fa /Source/cmGlobalXCodeGenerator.h | |
parent | e3469a5920b9b4c3175a3acec179492d4387890f (diff) | |
download | CMake-30e27b4110072c1e3ad0492f8115a52ff33f1c37.zip CMake-30e27b4110072c1e3ad0492f8115a52ff33f1c37.tar.gz CMake-30e27b4110072c1e3ad0492f8115a52ff33f1c37.tar.bz2 |
Xcode: Compute global order index for targets
Compute an index for each target in a global ordering such that no
target comes before its dependencies.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index ccef6e2..54e19d8 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -109,6 +109,8 @@ public: protected: void AddExtraIDETargets() override; + void ComputeTargetOrder(); + void ComputeTargetOrder(cmGeneratorTarget const* gt, size_t& index); void Generate() override; private: @@ -286,6 +288,7 @@ private: std::string ObjectDirArchDefault; std::string ObjectDirArch; std::string GeneratorToolset; + std::map<cmGeneratorTarget const*, size_t> TargetOrderIndex; }; #endif |