mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
cmMakefile: Explicitly pass backtrace to GetCustomCommandTarget
Allow GetCustomCommandTarget to be called at generate time with correct backtraces.
This commit is contained in:
+3
-2
@@ -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