mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
Merge topic 'configurefile-stdstring'
0281f9a4ca cmMakefile::ConfigureFile: Accept `std::string` parameters
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2982
This commit is contained in:
@@ -1976,7 +1976,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
|
||||
// so let it replace the framework name. This avoids creating
|
||||
// a per-configuration Info.plist file.
|
||||
this->CurrentLocalGenerator->GenerateFrameworkInfoPList(
|
||||
gtgt, "$(EXECUTABLE_NAME)", plist.c_str());
|
||||
gtgt, "$(EXECUTABLE_NAME)", plist);
|
||||
buildSettings->AddAttribute("INFOPLIST_FILE",
|
||||
this->CreateString(plist));
|
||||
buildSettings->AddAttribute("MACH_O_TYPE",
|
||||
@@ -2017,7 +2017,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
|
||||
// a per-configuration Info.plist file. The cfbundle plist
|
||||
// is very similar to the application bundle plist
|
||||
this->CurrentLocalGenerator->GenerateAppleInfoPList(
|
||||
gtgt, "$(EXECUTABLE_NAME)", plist.c_str());
|
||||
gtgt, "$(EXECUTABLE_NAME)", plist);
|
||||
buildSettings->AddAttribute("INFOPLIST_FILE",
|
||||
this->CreateString(plist));
|
||||
} else {
|
||||
@@ -2051,7 +2051,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
|
||||
// so let it replace the framework name. This avoids creating
|
||||
// a per-configuration Info.plist file.
|
||||
this->CurrentLocalGenerator->GenerateFrameworkInfoPList(
|
||||
gtgt, "$(EXECUTABLE_NAME)", plist.c_str());
|
||||
gtgt, "$(EXECUTABLE_NAME)", plist);
|
||||
buildSettings->AddAttribute("INFOPLIST_FILE",
|
||||
this->CreateString(plist));
|
||||
} else {
|
||||
@@ -2089,7 +2089,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
|
||||
// so let it replace the executable name. This avoids creating
|
||||
// a per-configuration Info.plist file.
|
||||
this->CurrentLocalGenerator->GenerateAppleInfoPList(
|
||||
gtgt, "$(EXECUTABLE_NAME)", plist.c_str());
|
||||
gtgt, "$(EXECUTABLE_NAME)", plist);
|
||||
buildSettings->AddAttribute("INFOPLIST_FILE",
|
||||
this->CreateString(plist));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user