On 18 September 2012 22:38, David Cole <david.c...@kitware.com> wrote:
> On Tue, Sep 18, 2012 at 5:37 PM, Leif Walsh <leif.wa...@gmail.com> wrote:
>>
>>
>> On 18 Sep, 2012, at 5:34 PM, Brett Delle Grazie
>> <brett.dellegra...@gmail.com> wrote:
>>
>> > Hi,
>> >
>> > Is it necessary to specify header files in add_executable /
>> > add_library entries in CMakeLists.txt?
>>
>> nope
>> >
>> > i.e. does CMake automatically do dependency analysis making this
>> > unnecessary?
>>
>> yup
>> >
>> --
>> Cheers,
>> Leif
>>
>> --
>
> Listing them in add_executable or add_library makes them show up in GUI's
> like Visual Studio or Xcode. Without adding them, they won't be added as
> "files you can double-click on" in the generated project files.
>

Thanks everyone for the clarification.
I'm using MinGW32 Makefiles + Eclipse.

-- 
Best Regards,

Brett Delle Grazie
--

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