mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
ENH: fix source extensions fror txt on xcode
This commit is contained in:
parent
06027d1d2b
commit
d5cb0f48b7
@ -515,11 +515,16 @@ cmGlobalXCodeGenerator::CreateXCodeSourceFile(cmLocalGenerator* lg,
|
||||
{
|
||||
sourcecode += ".c.c";
|
||||
}
|
||||
else
|
||||
else if(strcmp(lang, "CXX") == 0)
|
||||
{
|
||||
sourcecode += ".cpp.cpp";
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
sourcecode += ext;
|
||||
sourcecode += ".";
|
||||
sourcecode += ext;
|
||||
}
|
||||
fileRef->AddAttribute("lastKnownFileType",
|
||||
this->CreateString(sourcecode.c_str()));
|
||||
std::string path =
|
||||
|
Loading…
Reference in New Issue
Block a user