Looking for community support for the Windows build

I followed the CMAKE instructions but I’m having an issue with Ninja not recognizing the VS 2019 C# compiler. Even hacking the EnableCsharp file to force mono detection, makes it fail later on (does not find a valid linker for projects written in C#)

I had to switch to a different generator by running cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release -DUSE_WERROR=ON ..

CMAKE runs until the end, and the builds fails with compiler is out of heap space like you probably encountered.

I had an issue building xxhash.h: it was trying to include <stdalign.h> instead of declaring the macro for MSVC: I manually commented everything except line 640 to work around that.

I’m not sure what I must now do to switch to LLVM/clang to test things out?

Here are the steps I used:

- Installed CMAKE 3.19.3 from https://cmake.org/download/
- Installed Mono 6.12.0 from https://www.mono-project.com/download/stable/, added to PATH
- Downloaded Ninja 1.10.2 from https://github.com/ninja-build/ninja/releases
  - note: was lazy and copied ninja.exe to System32, you should follow these instructions instead => https://github.com/rwols/CMakeBuilder/wiki/Ninja-for-Windows-Installation-Instructions
- Installed Open JDK 15, added to PATH and JAVA_HOME

Using VS 2019 Developper Prompt (imporant!)
- cd into fdb repo
- mkdir distrib
- cd distrib
- cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release -DUSE_WERROR=ON ..
- msbuild /p:Configuration=Release /p:PreferredToolArchitecture=x64 foundationdb.sln
  > fails with 'compiler is out of heap space' when building flow