1
0
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:
Florian Maushart
2018-06-10 21:39:01 +02:00
committed by Brad King
parent 1a45266cb5
commit cb6c233ecc

View File

@@ -372,6 +372,9 @@ void cmGlobalXCodeGenerator::GenerateBuildCommand(
}
}
if (this->XcodeVersion >= 70) {
makeCommand.add("-hideShellScriptEnvironment");
}
makeCommand.add(makeOptions.begin(), makeOptions.end());
}