RFE: Allow enable/disable in CMakeLists.txt for `--warn-uninitialized`
This is a feature request wish.
I really like using the --warn-uninitialized
command line option to help me find bugs in our complex buildsystems.
but it becomes painful when 3rdparty submodules are integrated into your project.
I wonder if it would be possible to have a way to enable/disable the warning messages inside a CMakeLists.txt:
like:
set(CMAKE_WARN_UNINITIALIZED False)
add_subdirectory(3rdparty)
set(CMAKE_WARN_UNINITIALIZED True)
add_subdirectory(src)
...