When using Cmake directly with Visual Studio's Open Folder functionality, it is impossible to use this extension to customize the title bar, because there is no active solution and the Document open and No document or solution open cases do not apply.