set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
cmake --help-module-list
cmake --help-command find_file
cmake --help-module <name-of-module>
cmake --system-information information.txt
cmake --build . -- VERBOSE=1
cmake --help-variable-list
cmake --help-variable-list | grep CMAKE_CURRENT_SOURCE_DIR
https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/README.md