On Tue, Sep 18, 2012 at 5:37 PM, Leif Walsh <[email protected]> wrote:

>
> On 18 Sep, 2012, at 5:34 PM, Brett Delle Grazie <
> [email protected]> 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
> >
> > Thanks,
> >
> > --
> > 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
>
> --
> Cheers,
> Leif
>
> --
>
> 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
>


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.
--

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