How to change subsystem for Meson C++ build using MSYS2 UCRT64?
I am trying to compile a little test project using GTK3 inside MSYS2 UCRT64 terminal.
The program compiles fine but it opens a terminal.
meson doens’t generate import library on windows
i’m having an interesting issue arising using meson
-buildsystem on windows
.
i have this simple project setup:
meson windows dll setup
i have a meson project with a an engine [compiled as a shared_library] and a game [compiled as an executable]. the setup i want is the following:
the engine gets compiled into a .dll file which is then linked at runtime by game.exe.
i’ve learned [and this might be wrong] that to do this on windows, you need to compile your library into both a dll file holding the function & class implementations, and a dll-lib which you link into your application during compilation.
i didn’t find a proper way to compile one codebase into a dll and a lib, where the lib isn’t a full version of the library but simply a means to link the dll at runtime.