Windows: Ninja generation for shared libraries always re-links
On both MSVC's 3.19 build and the latest 3.20.2 build of CMake, the ninja buildfile generated by CMake always re-links every run, even if there is no change to code. I cannot tell if this is a bug with CMake or ninja, but CMake on linux does not have this issue.
Minimal reproducable example with empty Shared.cpp
cmake_minimum_required(VERSION 3.15)
project(Shared)
add_library(Shared SHARED Shared.cpp)