CMakeDependentOption: Document project and script mode This module also works in script mode. This is a sync with the option() command which mentions how the variable behaves in project and script mode.