Comment #3 on issue 956 by jonesmz: Any instruction how to build it on windows?
https://github.com/include-what-you-use/include-what-you-use/issues/956
I happened to also be looking into how to do this.
Here's a *SUPER* janky script that I whipped together to get clang building on windows without needing to install external dependencies.
```bash
mkdir D:\builds\clang\
mkdir D:\builds\build-clang\
cd D:\builds\clang\
git clone --depth 1 --branch v1.2.11
https://github.com/madler/zlib.git
git clone --depth 1 --branch llvmorg-12.0.1 --config core.autocrlf=false
https://github.com/llvm/llvm-project.git
git clone --depth 1 --branch 0.14
https://github.com/include-what-you-use/include-what-you-use.git
echo<<<EOF > D:\builds\clang\CMakeLists.txt
cmake_minimum_required(VERSION 3.12.0)
project(BuildClang)
add_subdirectory(zlib)
set(LLVM_ENABLE_PROJECTS "")
list(APPEND LLVM_ENABLE_PROJECTS clang)
list(APPEND LLVM_ENABLE_PROJECTS libcxx)
list(APPEND LLVM_ENABLE_PROJECTS libcxxabi)
list(APPEND LLVM_ENABLE_PROJECTS lldb)
list(APPEND LLVM_ENABLE_PROJECTS lld)
list(APPEND LLVM_ENABLE_PROJECTS polly)
set(LLVM_ENABLE_ZLIB ON)
set(LLVM_TARGETS_TO_BUILD "")
list(APPEND LLVM_TARGETS_TO_BUILD ARM)
list(APPEND LLVM_TARGETS_TO_BUILD AArch64)
list(APPEND LLVM_TARGETS_TO_BUILD X86)
list(APPEND LLVM_TARGETS_TO_BUILD BPF)
list(APPEND LLVM_TARGETS_TO_BUILD WebAssembly)
add_library(ZLIB::ZLIB ALIAS zlibstatic)
set(ZLIB_FOUND TRUE CACHE BOOL "")
get_target_property(INTERFACE_INCLUDE_DIRECTORIES zlibstatic ZLIB_INCLUDE_DIRS)
string(TOUPPER ${CMAKE_BUILD_TYPE} build_type)
##
# The last thing that the FindPackage script does is set ZLIB_LIBRARY
# But CMake doesn't make it easy to figure out the destination path
# for the library at configuration time.
# E.G. this'll throw an error.
##
#get_target_property(ZLIB_LIBRARY zlibstatic LOCATION_${build_type})
##
# Alternatively, a replacement for FindZLIB.cmake could be dropped into a folder
# on the CMAKE_MODULE_PATH.
#
# With contents matching the above
##
#set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
add_subdirectory(llvm-project/llvm)
# iwyu's cmake script is all sorts of broken
#add_subdirectory(include-what-you-use)
EOF
cmake.exe -Thost=x64 -DCMAKE_BUILD_TYPE=Release -S D:\builds\clang -B D:\builds\build-clang\
cmake.exe --build D:\builds\build-clang\ --parallel
```bash