When running CMakeSettings for the first time after launching nvim, the generate_options field (usually set to "-DCMAKE_EXPORT_COMPILE_COMMANDS=1") is missing. Any other arguments added there remain with keys 2 upwards, but because the first element in the array is lost they are not applied to the configure command. If that parameter is readded at index 1 in CMakeSettings, it seems to last until the end of the nvim session.
When running CMakeSettings for the first time after launching nvim, the generate_options field (usually set to "-DCMAKE_EXPORT_COMPILE_COMMANDS=1") is missing. Any other arguments added there remain with keys 2 upwards, but because the first element in the array is lost they are not applied to the configure command. If that parameter is readded at index 1 in CMakeSettings, it seems to last until the end of the nvim session.