This improves find_darwin_sdk_dir to cache the results of executing xcodebuild to find the SDK. Should significantly reduce the CMake re-configure time.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| cmake/Modules/CompilerRTDarwinUtils.cmake | ||
|---|---|---|
| 3–4 | Actually, this doesn't work, as ${sdk_name} isn't available. I'm afraid I'll have to keep this declaration inside the function... | |
Actually, this doesn't work, as ${sdk_name} isn't available. I'm afraid I'll have to keep this declaration inside the function...