diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-10-17 13:50:34 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-11-24 19:13:23 (GMT) |
commit | 3dc084ebc1fb261aea69dbd254d50ffd1604dc80 (patch) | |
tree | e6c1a9ced8c14c0be85d57f0ba08f8169b235871 /Source/cmMakefile.h | |
parent | e8360afbf7588cb73c3fed1cfe01595dc221645c (diff) | |
download | CMake-3dc084ebc1fb261aea69dbd254d50ffd1604dc80.zip CMake-3dc084ebc1fb261aea69dbd254d50ffd1604dc80.tar.gz CMake-3dc084ebc1fb261aea69dbd254d50ffd1604dc80.tar.bz2 |
cmMakefile: Explicitly pass backtrace to GetCustomCommandTarget
Allow GetCustomCommandTarget to be called at generate time with correct
backtraces.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 83a99f6..de9578a 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -169,8 +169,9 @@ public: /** * Get the target for PRE_BUILD, PRE_LINK, or POST_BUILD commands. */ - cmTarget* GetCustomCommandTarget( - const std::string& target, cmObjectLibraryCommands objLibCommands) const; + cmTarget* GetCustomCommandTarget(const std::string& target, + cmObjectLibraryCommands objLibCommands, + const cmListFileBacktrace& lfbt) const; /** Add a custom command to the build. */ cmTarget* AddCustomCommandToTarget( |