Regarding the compiler flags, I see identical default flags regardless of whether the Ninja generator or VS2017 generator is used:
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc
Regarding the compiler flags, I see identical default flags regardless of whether the Ninja generator or VS2017 generator is used:
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc