Re:An Introduction to Modern CMake
by a-french-anon on Friday March 22, 2024 @10:32AM
(#39791129)
I'll use "modern" and "CMake" in the same sentence once I can have true functions and not just procedures; give me a `set -u` equivalent, while at it.
[ Parent
| on HN ]
Re:An Introduction to Modern CMake
by helloiamsomeone on Friday March 22, 2024 @11:36AM
(#39791746)
> give me a `set -u` equivalent
--warn-uninitialized and -Werror=dev will do just that: https://cmake.org/cmake/help/latest/manual/cmake.1.html