CMAKE_CONFIGURATION_TYPES isn't set properly
I have installed Visual Studio 2017 and when I run cmake from the command line with
md build
cd build
cmake .. -G "Visual Studio 15 2017 Win64"
it produces the following output:
-- Building for: Visual Studio 15 2017
CMAKE_BUILD_TYPE=
CMAKE_CONFIGURATION_TYPES=
-- The C compiler identification is MSVC 19.13.26128.0
-- The CXX compiler identification is MSVC 19.13.26128.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
...
I suppose CMAKE_CONFIGURATION_TYPES should be "Debug;Release;MinSizeRel;RelWithDebInfo", not empty.
Edited by Craig Scott