[CMake] --warn-uninitialized works in only first configuration

Ramold, Felix Felix.Ramold at kuka.com
Mon Feb 4 10:09:21 EST 2019


Hi,

I configure a project with --warn-uninitialized and get a lot of warnings. I successfully run the build.
Then I change any CMakeLists.txt file. I run the build again. CMake checks its dependencies and reconfigures before the actual build.
Those warnings (or at least those in the edited file) don't appear again.
Is this the standard behavior?

Thanks,
Felix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190204/394a3e62/attachment.html>


More information about the CMake mailing list