[CMake] Help using CMake & Expat in Windows

Rolf Eike Beer eike at sf-mail.de
Sat Jul 31 11:18:35 EDT 2010


Am Samstag 31 Juli 2010, 00:59:36 schrieb Stefan Buschmann:

> Am 30.07.2010 22:23, schrieb Clark Taylor:

> > ADD_EXECUTABLE(myApp ${Headers} ${Src})
> 
> You should not need to add ${Headers} here (usually only the sources
> should be compiled).

If you do not include the headers to ADD_EXECUTABLE they will not show up as 
members of the project in MSVC which is quite annoying. So I would strongly 
encourage everyone to add the headers to the targets like Clark did.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100731/4fff523d/attachment.pgp>


More information about the CMake mailing list