Correct flags for libclang-cpp and libLLVM from source on windows + msvc 19

This is my first post here, so please be nice. :slight_smile:
I’v searched other topics on the forum, but I have failed - My question is sligthly simple:

I need to use libclang-cpp and libllvm on a project, and because the pre-build binaries for windows don’t contain the cmake magic, and the libraries, I’m trying to compile it by hand.

But I’m a linux developer with zero experience on windows: The builds for mac and linux from scratch are working, the windows one isn’t.

This is my cmake configuration: package

    cmake -G"Visual Studio 16 2019" ^
            -DBUILD_SHARED_LIBS=Off ^
            -DLLVM_INCLUDE_TESTS=Off ^
            -DLLVM_ENABLE_DIA_SDK=1 ^
            -DLLVM_TARGETS_TO_BUILD="X86" ^
            -DCMAKE_BUILD_TYPE=Release ^
            -DLLVM_ENABLE_EH=ON ^
            -DLLVM_ENABLE_FFI=OFF ^
            -DLLVM_ENABLE_RTTI=ON ^
            -DLLVM_TARGETS_TO_BUILD=all ^
            -DLLDB_ENABLE_LUA=OFF ^
            -DLLDB_ENABLE_LZMA=ON ^
            -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;mlir;polly" ^
            -DLLVM_ENABLE_RUNTIMES="compiler-rt" ^
            -Thost=x64 ^
            -B %BUILD_FOLDER%\llvm ^
            -S %SOURCE_FOLDER%\llvm-project-llvmorg-12.0.1\llvm

cmake --build
cmake --install

What I expected:
a libclang-cpp.lib and a libLLVM.lib on the %install_folder%/lib and a cmake file for Clang in %install_folder%/lib/cmake/clang.

but unfortunately I did not had those.