diff options
author | Brad King <brad.king@kitware.com> | 2014-02-24 19:09:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-24 19:14:37 (GMT) |
commit | 3737860a383b1020f44a31be9ac5536e9913fc71 (patch) | |
tree | 83f18ce5c31d9d453a1564a54b2dee97bd2c93d3 /Source/cmTarget.h | |
parent | 718a9532c6bfa8c68864dd5dadba9f55e0f1bcf3 (diff) | |
download | CMake-3737860a383b1020f44a31be9ac5536e9913fc71.zip CMake-3737860a383b1020f44a31be9ac5536e9913fc71.tar.gz CMake-3737860a383b1020f44a31be9ac5536e9913fc71.tar.bz2 |
cmTarget: Add per-config compilation info
Add a cmTarget::CompileInfo struct to hold per-configuration information
about the compilation settings in a target. This is different than
cmTarget::OutputInfo because it applies to any targets that can compile
sources even if they do not link or archive.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 7683253..6787706 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -720,6 +720,10 @@ private: void ComputeImportInfo(std::string const& desired_config, ImportInfo& info, cmTarget const* head) const; + // Cache target compile paths for each configuration. + struct CompileInfo; + CompileInfo const* GetCompileInfo(const char* config) const; + mutable cmTargetLinkInformationMap LinkInformation; void CheckPropertyCompatibility(cmComputeLinkInformation *info, const char* config) const; |