diff options
author | Brad King <brad.king@kitware.com> | 2017-04-28 14:17:13 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-01 10:33:05 -0400 |
commit | b115bc49ff26da9db3e9238a98030fd94847d0d0 (patch) | |
tree | 2de3c200b335c48a9bb8d96e7fa994e7d93943d4 /Source/cmGeneratorTarget.h | |
parent | e80e8eb609cc7dd8c4dca46b9c2819afd2293229 (diff) | |
download | cmake-b115bc49ff26da9db3e9238a98030fd94847d0d0.tar.gz |
Features: Refactor <LANG>_STANDARD update
In order to support generator expressions in target COMPILE_FEATURES
we apply them at generate time. Move this step to the beginning of
generation instead of doing it on demand while collecting flags.
This avoids repeating the process unnecessarily, and will then allow
`cmLocalGenerator::AddCompilerRequirementFlag` to be used any time
during generation.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index 13b6b73e80..134b7c7b11 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -412,6 +412,8 @@ public: /** Add the target output files to the global generator manifest. */ void ComputeTargetManifest(const std::string& config) const; + bool ComputeCompileFeatures(std::string const& config) const; + /** * Trace through the source files in this target and add al source files * that they depend on, used by all generators |