summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.h
diff options
context:
space:
mode:
authorEd Branch <brance@mail.utexas.edu>2017-01-14 02:01:17 (GMT)
committerEd Branch <brance@mail.utexas.edu>2017-01-14 02:02:16 (GMT)
commit7c8ab7ddc8944152a1344c43acbb8c57fa2d398a (patch)
treee74c16ab04cd0961e5ca032ba99c45087dbd0dec /Source/cmCustomCommand.h
parenteee51e24d2290771ad3dded566ef897243f21331 (diff)
downloadCMake-7c8ab7ddc8944152a1344c43acbb8c57fa2d398a.zip
CMake-7c8ab7ddc8944152a1344c43acbb8c57fa2d398a.tar.gz
CMake-7c8ab7ddc8944152a1344c43acbb8c57fa2d398a.tar.bz2
add_custom_{command,target}: Add COMMAND_EXPAND_LISTS option
This option allows lists generated by generator expressions to be expanded. Closes: #15935
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r--Source/cmCustomCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h
index 66f8fa9..73d53ff 100644
--- a/Source/cmCustomCommand.h
+++ b/Source/cmCustomCommand.h
@@ -85,6 +85,10 @@ public:
bool GetUsesTerminal() const;
void SetUsesTerminal(bool b);
+ /** Set/Get whether lists in command lines should be expanded. */
+ bool GetCommandExpandLists() const;
+ void SetCommandExpandLists(bool b);
+
/** Set/Get the depfile (used by the Ninja generator) */
const std::string& GetDepfile() const;
void SetDepfile(const std::string& depfile);
@@ -103,6 +107,7 @@ private:
bool EscapeAllowMakeVars;
bool EscapeOldStyle;
bool UsesTerminal;
+ bool CommandExpandLists;
};
#endif