CMake oddities
None of this is to mean CMake sucks (I certainly don't like it, but that doesn't mean it isn't effective at what it does).
That said, here are some headscratchers I had.
Setting an option to ON doesn't make the option turn ON, with no message indicating otherwise
Setup:
- Compiling SDL3-3.2.28
- Run
cmake --fresh -DSDL_ASAN=ON . - Output indicates:
... -- Options: ... -- SDL_ASAN (Wanted: ON): OFF ...
No idea why. I gave up, but will be interested in figuring this out for the future.
if(), elseif(), else(), endif()
For all the complaints I hear about how autotools looks weird with its m4 language, I don't hear an equal amount of how these look like function calls. 🤷
(go back to home)