On 2016 M11 29, Tue 14:42:49 CET Robert Bielik wrote:
> Hmm.. using v3.7 the answer is no, i.e. a function declared in a subfolder
> will be available in parent scope. Seems a bit odd, doesn't it ?
this has been discussed here just recently...
Functions and macros are global.
Once they are define
Hmm.. using v3.7 the answer is no, i.e. a function declared in a subfolder will
be available in parent scope. Seems a bit odd, doesn't it ?
Regards
/R
>-Original Message-
>From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik
>Sent: den 29 november 2016 15:22
>To: Cmake
Question: When declaring a function within a sub CMakeLists.txt file, is that
function "scoped", i.e. non-existing in parent scope ?
Regards
/Robert
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers var