Ninja Multi-Config: CMake doesn't generate build-MinSizeRel
CMake doesn't generate build-MinSizeRel for Ninja Multi-Config.
My CMakeLists.txt:
cmake_minimum_required(VERSION 3.19)
project(new_project VERSION 0.0.1 LANGUAGES CXX)
add_library(${PROJECT_NAME} SHARED a.cpp)
Steps to reproduce:
cmake -G "Ninja Multi-Config"
cmake --build . --config MinSizeRel
And we got error "ninja: error: loading 'build-MinSizeRel.ninja': No such file or directory."
Edited by Brad King