diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-11 10:52:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-15 15:43:49 (GMT) |
commit | 0aec49132885be07e1d92a4a1db58f4c6c4c2844 (patch) | |
tree | ba5db3057c7431795a8aa9762f0cfbc5f252e406 /Source/CTest/cmCTestScriptHandler.cxx | |
parent | 96f8c5f9a3bd60f553af054b43e06ce4864269e0 (diff) | |
download | CMake-0aec49132885be07e1d92a4a1db58f4c6c4c2844.zip CMake-0aec49132885be07e1d92a4a1db58f4c6c4c2844.tar.gz CMake-0aec49132885be07e1d92a4a1db58f4c6c4c2844.tar.bz2 |
Port cmCommand consumers to cmState.
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestScriptHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx index 3792953..783941b 100644 --- a/Source/CTest/cmCTestScriptHandler.cxx +++ b/Source/CTest/cmCTestScriptHandler.cxx @@ -214,7 +214,7 @@ void cmCTestScriptHandler::AddCTestCommand(cmCTestCommand* command) cmCTestCommand* newCom = command; newCom->CTest = this->CTest; newCom->CTestScriptHandler = this; - this->CMake->AddCommand(newCom); + this->CMake->GetState()->AddCommand(newCom); } int cmCTestScriptHandler::ExecuteScript(const std::string& total_script_arg) @@ -353,7 +353,7 @@ void cmCTestScriptHandler::CreateCMake() // remove all cmake commands which are not scriptable, since they can't be // used in ctest scripts - this->CMake->RemoveUnscriptableCommands(); + this->CMake->GetState()->RemoveUnscriptableCommands(); // add any ctest specific commands, probably should have common superclass // for ctest commands to clean this up. If a couple more commands are |