Link Against Existing `.lib` File in Meson Build on Windows
I'm building a simple project in Meson Build . While it is well documented how to create a dependency in Meson Build Documentation (With implicit assumption of UNIX / LINUX system) it is not clear how to link against arbitrary not on path library. Let's I have the following project on Windows: - ProjectFolder - SrcFiles - SrcFile1.c - SrcFile2.c - Lib - MyLib1.lib - MyLib2.lib I want to create an executable based on SrcFile1.c and SrcFile2.c which is linked against pre built MyLib1.lib and MyLib2.lib . What is the correct way to do so? OK, I found solution on MesonBuild: How to define