diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-07 16:20:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-20 13:21:56 (GMT) |
commit | bbffccca42d4f209220e833e1a86e735a5c83339 (patch) | |
tree | 2c59eda71ee2691eab3a5b922b17d91586b019c5 /Source/cmCustomCommandGenerator.h | |
parent | fb4aff058d2595078300b682dc477f0ccba6d31b (diff) | |
download | CMake-bbffccca42d4f209220e833e1a86e735a5c83339.zip CMake-bbffccca42d4f209220e833e1a86e735a5c83339.tar.gz CMake-bbffccca42d4f209220e833e1a86e735a5c83339.tar.bz2 |
add_custom_command: Evaluate generator expressions in DEPENDS
Rely on evaluation in cmCustomCommandGenerator for the generators.
When tracing target dependencies, depend on the union of dependencies
for all configurations.
Diffstat (limited to 'Source/cmCustomCommandGenerator.h')
-rw-r--r-- | Source/cmCustomCommandGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCustomCommandGenerator.h b/Source/cmCustomCommandGenerator.h index cbcdb41..0d8a0a4 100644 --- a/Source/cmCustomCommandGenerator.h +++ b/Source/cmCustomCommandGenerator.h @@ -28,6 +28,8 @@ class cmCustomCommandGenerator bool OldStyle; bool MakeVars; cmGeneratorExpression* GE; + mutable bool DependsDone; + mutable std::vector<std::string> Depends; public: cmCustomCommandGenerator(cmCustomCommand const& cc, const std::string& config, |