Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompiled headers #371

Open
boberfly opened this issue Dec 18, 2014 · 1 comment
Open

Precompiled headers #371

boberfly opened this issue Dec 18, 2014 · 1 comment

Comments

@boberfly
Copy link
Contributor

What I've noticed from building Cortex over and over is that it takes way too long! What I propose is having a Precompiled.h (or stdafx.h) and place includes that are commonly used through the library to speed up compile times.
MSVC:
http://msdn.microsoft.com/en-us/library/h552b3ca.aspx
GCC:
https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html

Thoughts? Bringing in the Export.h took awhile and I'm somewhat reluctant to add another include into every file again, but the compile times at least on MSVC on my laptop are quite long.

@boberfly
Copy link
Contributor Author

boberfly commented May 9, 2017

Adding this link commit as it's exactly what Pixar's USD has done for MSVC support:
PixarAnimationStudios/OpenUSD@791bdb6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant