If you need bash and GNU utilities for the build system (or want an open source toolchain) MSYS2 is more or less that.build the final builds of windows plugins out of portable code I am developing elsewhere. And I want the shell to be zsh or bash.
If your build system is only CMake and you can do without bash, you can just install CMake, Build Tools for Visual Studio, and the "official" LLVM build for Windows. For debugging, you can use the updated WinDbg UI from Windows Store.
With CMake it seems that I can doCode:
-static-libstdc++ -static-libgcc -Wl,--gc-sections,-Bstatic -lwinpthread -Wl,-Bdynamic
Code:
target_link_libraries(<target of the dll> PRIVATE "-static")
Statistics: Posted by Alien Brother — Sun Jul 28, 2024 12:53 pm