Skip to content

Precompiled headers #371

Description

@boberfly

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.

Activity

  1. boberfly commented on May 9, 2017

    @boberfly
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions