Visual Studio Generator Inability to support 'empty' configuration type
When the VS generator is asked to generate a project with an empty configuration type it produces an invalid project file that fails with the following error when loaded into Visual Studio:
ALL_BUILD.vcxproj : error : Project "" does not contain any configuration.
ZERO_CHECK.vcxproj : error : Project "" does not contain any configuration.
How to reproduce:
- Basic CMakeLists
cmake_minimum_required(VERSION 3.18)
project(VSEmptyConfig)
add_executable(test main.cpp)
- Configure with an 'empty' config ( either of the following )
cmake.exe -S <src> -B <build> -DCMAKE_CONFIGURATION_TYPES=\;Debug
cmake.exe -S <src> -B <build> -DCMAKE_CONFIGURATION_TYPES=