summaryrefslogtreecommitdiff
path: root/Source/cmCustomCommandGenerator.h
diff options
context:
space:
mode:
authorJon Chronopoulos <patches@crondog.com>2018-09-22 17:00:28 +1000
committerBrad King <brad.king@kitware.com>2018-09-28 11:15:33 -0400
commitf158ac19e1e52362b04ff08c309ac3cf8e429bb7 (patch)
tree38b224fd9717f4ac18a2e82088fb9461cbbbab00 /Source/cmCustomCommandGenerator.h
parent2d119e53093c9489c80ce9bc3f21eadc254b6e10 (diff)
downloadcmake-f158ac19e1e52362b04ff08c309ac3cf8e429bb7.tar.gz
add_custom_{command,target}: WORKING_DIRECTORY generator expressions
This teaches add_custom_command and add_custom_target WORKING_DIRECTORY about generator expressions Fixes: #14089
Diffstat (limited to 'Source/cmCustomCommandGenerator.h')
-rw-r--r--Source/cmCustomCommandGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCustomCommandGenerator.h b/Source/cmCustomCommandGenerator.h
index 34fd653a59..b7e2a39248 100644
--- a/Source/cmCustomCommandGenerator.h
+++ b/Source/cmCustomCommandGenerator.h
@@ -23,6 +23,7 @@ class cmCustomCommandGenerator
cmGeneratorExpression* GE;
cmCustomCommandLines CommandLines;
std::vector<std::string> Depends;
+ std::string WorkingDirectory;
const char* GetCrossCompilingEmulator(unsigned int c) const;
const char* GetArgv0Location(unsigned int c) const;