[CMake] Pre-Compiled Headers

John Drescher drescherjm at gmail.com
Thu Aug 20 17:35:10 EDT 2009


On Thu, Aug 20, 2009 at 5:25 PM, ML<mailinglists at mailnewsrss.com> wrote:
> Hi All,
>
> I need to use a pre-compiled header.
>
> I think that I recall that CMake is not yet equipped to handle this.
>
> I found thought a Google search that SET_SOURCE_FILES_PROPERTIES might be
> the way to go.
>
> Has anyone implemented PCH and have an example, advice, etc?
>
> Thanks!
> -Jason
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>

I gave you my Visual Studio solution.

There is also

http://www.vtk.org/Bug/view.php?id=1260

I actually do not bother on linux because using ccache reduces the
compile times enough not to have to worry about this.

John


More information about the CMake mailing list