diff options
author | Brad King <brad.king@kitware.com> | 2019-06-12 16:48:04 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-06-12 16:48:13 (GMT) |
commit | f07200fe163640f708c62de3cbdc0fb49a7e0471 (patch) | |
tree | 785ba40885c82aa0fa62de210b92ea30a027c7ea /Source/cmTest.cxx | |
parent | c1580ecc13cf2dea3f047d1018e705bd34cecc53 (diff) | |
parent | e791ffac61912f6540742aabaf4cb78a4d475a16 (diff) | |
download | CMake-f07200fe163640f708c62de3cbdc0fb49a7e0471.zip CMake-f07200fe163640f708c62de3cbdc0fb49a7e0471.tar.gz CMake-f07200fe163640f708c62de3cbdc0fb49a7e0471.tar.bz2 |
Merge topic 'add-test-command-expand-lists'
e791ffac61 add_test: Add COMMAND_EXPAND_LISTS option
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3422
Diffstat (limited to 'Source/cmTest.cxx')
-rw-r--r-- | Source/cmTest.cxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx index 7d45cf5..01f2b96 100644 --- a/Source/cmTest.cxx +++ b/Source/cmTest.cxx @@ -8,7 +8,8 @@ #include "cmSystemTools.h" cmTest::cmTest(cmMakefile* mf) - : Backtrace(mf->GetBacktrace()) + : CommandExpandLists(false) + , Backtrace(mf->GetBacktrace()) { this->Makefile = mf; this->OldStyle = true; @@ -59,3 +60,13 @@ void cmTest::AppendProperty(const std::string& prop, const char* value, { this->Properties.AppendProperty(prop, value, asString); } + +bool cmTest::GetCommandExpandLists() const +{ + return this->CommandExpandLists; +} + +void cmTest::SetCommandExpandLists(bool b) +{ + this->CommandExpandLists = b; +} |