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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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