[Cmake] headers in project files?

Klaas Holwerda kholwerd at xs4all.nl
Thu Jan 23 17:33:48 EST 2003


Yes that is what i wanted.

Just in case someone else was interested.
It is even better it is going into a seperate folder called "header Files"!

I am really starting to like cmake,

Thanks!

Klaas

Bill Hoffman wrote:

>Actually, I think what Klaas wants is the visual studio project to have
>the header files in it.   This is very simple, you just add them as
>source files for the library or executable that you are building.
>
>Something like this:
>ADD_LIBRARY(foobar foobar.h foobar.cxx)
>
>The makefile generators will ignore the .h files, and the visual studio
>generators will add the headers to the project workspace.
>
>-Bill
>





More information about the CMake mailing list