CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS doesn't work in Ninja Multi-Config
Minimal example:
cmake_minimum_required(VERSION 3.17)
project(test C)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_library(testlib SHARED empty.c)
Error message when running cmake --build . --config Release
:
Couldn't open file 'CMakeFiles\testlib.dir\RelWithDebInfo\empty.c.obj' with CreateFile()