# MSVCConfig related
Other than the ones you've already fixed:
- depot_tools produces invalid path when packing WinSDK on a Windows Host, providing invalid SetEnv.json and requires manual intervention
- win_sdk expects WinSDK_DIR/Windows Kit/10 passed-in as winsdk dir, but SetEnv.json expects WinSDK_DIR
- -fms-compatibility-version is wayyyy below what modern LLVM requires
- CMAKE_AR CMAKE_RC_COMPILER CMAKE_ASM_MASM_COMPILER should be set
- CMAKE_ASM_MASM_FLAGS_INIT should be set to -m64 to enable llvm-ml in 64bit mode, otherwise building asm fails
# do_build related
- remove_static_libraries only handles .a, while static libraries on Windows are .lib
- verify_file_exists fails when building with MSVCConfig, due to gnu-variant of clang runtimes are not built
# Darwin extra
CMAKE_IGNORE_PREFIX_PATH and family should be set to avoid accidentally pick up host libraries
Please let me know if these are helpful and NDK team has plan of fixing. We had to internally maintain a 800LoC of python hooks for things to work.
Zhang