|
@@ -1625,10 +1625,17 @@ void cmMakefileTargetGenerator::AddIncludeFlags(std::string& flags,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (useResponseFile) {
|
|
if (useResponseFile) {
|
|
|
|
|
+ std::string const responseFlagVar =
|
|
|
|
|
+ "CMAKE_" + lang + "_RESPONSE_FILE_FLAG";
|
|
|
|
|
+ std::string responseFlag =
|
|
|
|
|
+ this->Makefile->GetSafeDefinition(responseFlagVar);
|
|
|
|
|
+ if (responseFlag.empty()) {
|
|
|
|
|
+ responseFlag = "@";
|
|
|
|
|
+ }
|
|
|
std::string name = "includes_";
|
|
std::string name = "includes_";
|
|
|
name += lang;
|
|
name += lang;
|
|
|
name += ".rsp";
|
|
name += ".rsp";
|
|
|
- std::string arg = "@" +
|
|
|
|
|
|
|
+ std::string arg = std::move(responseFlag) +
|
|
|
this->CreateResponseFile(name.c_str(), includeFlags,
|
|
this->CreateResponseFile(name.c_str(), includeFlags,
|
|
|
this->FlagFileDepends[lang]);
|
|
this->FlagFileDepends[lang]);
|
|
|
this->LocalGenerator->AppendFlags(flags, arg);
|
|
this->LocalGenerator->AppendFlags(flags, arg);
|