On Sat, Jun 6, 2009 at 11:22 PM, John Drescher <[email protected]> wrote:

> Here is what I do for Vs2005 builds and CMake 2.6.4
>
> I put this in the main CMakeLists.txt before any
> add_subdirectory(Libraries)
>
> <snip>
>
> You need to then create
>
> laGUIPCH.h
> laGUIPCH.cxx
>
> the .cxx file contains any headers that will be not changed often.
> This is the same as stdafx.cpp was and the .h file must be included in
> every cpp that is in the ${ProjectName}_SRCS list
>
>
> I hope this makes sense.


Thanks for your help. Do you (or anyone else) know if there are any plans to
make a dedicated function for this so it is cleaner and portable?
_______________________________________________
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

Reply via email to