[CMake] CMP0071
Konstantin Tokarev
annulen at yandex.ru
Sat Oct 7 10:13:20 EDT 2017
07.10.2017, 14:18, "Konstantin Tokarev" <annulen at yandex.ru>:
> Hello,
>
> I've just learned about CMP0071 introduced in upcoming 3.10 release.
>
> Is it possible to replace new policy with new global variable/per-target property to avoid need setting of SKIP_AUTOMOC OFF on each generated file separately?
>
> Thanks.
Also, I've found following issue: setting CMP0071 to OLD in the top-level project does not suppress warnings, unless I set CMP0071 to OLD in each subdirectory. cmake_policy(GET CMP0071 var) in subdir's CMakeLists.txt returns OLD, but warning is suppressed only if I set it to OLD once again.
>
> --
> Regards,
> Konstantin
> --
>
> 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 various services to support the CMake community. For more information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
--
Regards,
Konstantin
More information about the CMake
mailing list