summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.h
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-10-17 14:15:44 (GMT)
committerDaniel Eiband <daniel.eiband@brainlab.com>2019-11-24 19:13:23 (GMT)
commit96e5042e468c5551b9b6ca01f8671295b2fda1a6 (patch)
tree7f6f4d9d37d1567a564c38cfba1b4e0853db53da /Source/cmCustomCommand.h
parent3dc084ebc1fb261aea69dbd254d50ffd1604dc80 (diff)
downloadCMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.zip
CMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.tar.gz
CMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.tar.bz2
cmCustomCommand: Explicitly pass backtrace on construction
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r--Source/cmCustomCommand.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h
index 4689ace..d300fa5 100644
--- a/Source/cmCustomCommand.h
+++ b/Source/cmCustomCommand.h
@@ -12,8 +12,6 @@
#include "cmCustomCommandLines.h"
#include "cmListFileCache.h"
-class cmMakefile;
-
class cmImplicitDependsList
: public std::vector<std::pair<std::string, std::string>>
{
@@ -28,11 +26,11 @@ class cmCustomCommand
{
public:
/** Main constructor specifies all information for the command. */
- cmCustomCommand(cmMakefile const* mf, std::vector<std::string> outputs,
+ cmCustomCommand(std::vector<std::string> outputs,
std::vector<std::string> byproducts,
std::vector<std::string> depends,
- cmCustomCommandLines commandLines, const char* comment,
- const char* workingDirectory);
+ cmCustomCommandLines commandLines, cmListFileBacktrace lfbt,
+ const char* comment, const char* workingDirectory);
/** Get the output file produced by the command. */
const std::vector<std::string>& GetOutputs() const;