[CMake] Listing headers in source lists

Bill Hoffman bill.hoffman at kitware.com
Wed Jun 12 09:33:30 EDT 2013


On 6/12/2013 4:45 AM, Mateusz Loskot wrote:
> It it still necessary if one wants to see headers listed as project files in IDE
> like Visual Studio, isn't it?
>
> Or, has anything changed in recent CMake versoins,
> so it is no longer necessary.
It is needed.   There is one other case where you have to do this for 
things to work.  If you have generated header files with a custom 
command, this is how you let CMake know which target needs them.

-Bill




More information about the CMake mailing list