[CMake] Query regarding header files in CMakeLists.txt

Leif Walsh leif.walsh at gmail.com
Tue Sep 18 17:37:11 EDT 2012


On 18 Sep, 2012, at 5:34 PM, Brett Delle Grazie <brett.dellegrazie at 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
> 
> 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



More information about the CMake mailing list