I need to combine several static libraries (built from C++ code) for windows on an Azure (Microsoft-hosted) build agent. Locally, I can do this with lib.exe
(part of the MSVC build tools).
I'm trying to run lib.exe
in a script task, but the executable is not found. I've thought about manually adding the path for MSVC in the script and try like this, but that seems like a very fragile solution.
Can anybody give me a hint as to how to achieve this?