mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmMakefile: Explicitly pass backtrace to GetCustomCommandTarget
Allow GetCustomCommandTarget to be called at generate time with correct backtraces.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user