mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 21:40:15 +08:00
cmake: Add -hideShellScriptEnvironment xcodebuild option
For CMake's build tool mode add -hideShellScriptEnvironment if version is XCode 7.0 or above
This commit is contained in:

committed by
Brad King

parent
1a45266cb5
commit
cb6c233ecc
@@ -372,6 +372,9 @@ void cmGlobalXCodeGenerator::GenerateBuildCommand(
|
||||
}
|
||||
}
|
||||
|
||||
if (this->XcodeVersion >= 70) {
|
||||
makeCommand.add("-hideShellScriptEnvironment");
|
||||
}
|
||||
makeCommand.add(makeOptions.begin(), makeOptions.end());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user