Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A cmake option only has two values: ON or OFF. There is no unset. Because it is a boolean.

See: https://cmake.org/cmake/help/latest/command/option.html




This is not actually true, you can check if variables have been defined in CMake.


Right, but the boolean is set by an autoconf script, is it not?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: