mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
ENH: use better names for files
This commit is contained in:
parent
aa69a14495
commit
6baf2119ca
@ -392,6 +392,15 @@ cmGlobalXCodeGenerator::CreateXCodeSourceFile(cmLocalGenerator* lg,
|
||||
this->CreateString(sourcecode.c_str()));
|
||||
std::string path =
|
||||
this->ConvertToRelativeForXCode(sf->GetFullPath().c_str());
|
||||
std::string file =
|
||||
cmSystemTools::RelativePath(m_CurrentMakefile->GetHomeDirectory(),
|
||||
sf->GetFullPath().c_str());
|
||||
// std::string dir;
|
||||
// std::string file;
|
||||
// cmSystemTools::SplitProgramPath(sf->GetFullPath().c_str(),
|
||||
// dir, file);
|
||||
|
||||
fileRef->AddAttribute("name", this->CreateString(file.c_str()));
|
||||
fileRef->AddAttribute("path", this->CreateString(path.c_str()));
|
||||
fileRef->AddAttribute("refType", this->CreateString("4"));
|
||||
if(path.size() > 1 && path[0] == '.' && path[1] == '.')
|
||||
|
Loading…
Reference in New Issue
Block a user