cmake: ensure directory holding pch.pch file is created#3141
cmake: ensure directory holding pch.pch file is created#3141pmolodo wants to merge 1 commit intoPixarAnimationStudios:devfrom
Conversation
When specifying a precompiled header output via `cl /Fp<folder>/<filename>`, cl won't automatically create <folder>. Ensure we do this, or it will error.
|
Filed as internal issue #USD-9803 |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
For anyone else having this issue: add |
Heh, I was wondering if I was the only one hitting this. Would be nice to get it merged - it's a small / easy fix (as opposed to some other PRs that somebody made recently |
|
Oh, I just fixed the same as well in #3204 ... didn't see this PR here. |
|
Closing in favor of #3204 |
|
Oh - and @mistafunk - hope you didn't think this comment was referring to you:
I also didn't realize there was another PR for the same stuff. The comment above was just trying to poke fun at myself, since I just made a big drop of a large chain of PRs... |
Description of Change(s)
When specifying a precompiled header output via
cl /Fp${folder}/${filename}, cl won't automatically create${folder}. Ensure we do this, orclwill error.This may be an issue only with VS2022 or Windows 11, as I've never encountered this before, and I those are the main new variables. (Note that I was also build with Ninja, though I've been doing that for a while, and haven't changed the version in a while.)
Versions
Fixes Issue(s)