mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmCustomCommand: Return std::string from GetWorkingDirectory
This commit is contained in:
@@ -100,16 +100,6 @@ const std::vector<std::string>& cmCustomCommand::GetOutputs() const
|
||||
return this->Outputs;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user