diff options
author | Brad King <brad.king@kitware.com> | 2014-03-10 17:53:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-12 14:44:00 (GMT) |
commit | d45e7f34611cd678bdda29d7d2b2ff4ce1abbce7 (patch) | |
tree | 8ebbe10ac12a7d52520ee22b01c6a4391e2dd319 /Source/cmCustomCommand.cxx | |
parent | cb8f87f6229359790956a6640639bbe6b8c346f7 (diff) | |
download | CMake-d45e7f34611cd678bdda29d7d2b2ff4ce1abbce7.zip CMake-d45e7f34611cd678bdda29d7d2b2ff4ce1abbce7.tar.gz CMake-d45e7f34611cd678bdda29d7d2b2ff4ce1abbce7.tar.bz2 |
cmCustomCommand: Return std::string from GetWorkingDirectory
Diffstat (limited to 'Source/cmCustomCommand.cxx')
-rw-r--r-- | Source/cmCustomCommand.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx index b672148..ac2eef8 100644 --- a/Source/cmCustomCommand.cxx +++ b/Source/cmCustomCommand.cxx @@ -101,16 +101,6 @@ const std::vector<std::string>& cmCustomCommand::GetOutputs() const } //---------------------------------------------------------------------------- -const char* cmCustomCommand::GetWorkingDirectory() const -{ - if(this->WorkingDirectory.size() == 0) - { - return 0; - } - return this->WorkingDirectory.c_str(); -} - -//---------------------------------------------------------------------------- const std::vector<std::string>& cmCustomCommand::GetDepends() const { return this->Depends; |