Include instructions for "standalone" build (e.g. using cmake)
xchilphilx opened this issue · comments
Would love to be able to modify and re-build this, but I am having trouble doing so.
Can you provide instructions on how to build as a part of and outside of OBS?
Thank you.
I was able to build on Windows with MSYS2 mingw (installation instructions here and here, and cmake (pacman -S mingw-w64-x86_64-cmake
in MSYS UCRT64 shell)). The executables must also be accessible via your PATH.
Visual Studio Build Tools 2022 must be installed, via C++ core desktop features
in the installer along with the following features:
- MSVC v143
- C++ ATL for the above version
- Windows 10 or 11 SDK (min version Win 10 10.0.20348.0 at time of writing)
With all of this in place, you can build the plugin by changing dir to CI/http
and executing python win_install_script.py
, and the artifacts will be in CI/http/CI_build/release
upon completion.
I was able to build on Windows with MSYS2 mingw (installation instructions here and here, and cmake (
pacman -S mingw-w64-x86_64-cmake
in MSYS UCRT64 shell)). The executables must also be accessible via your PATH. Visual Studio Build Tools 2022 must be installed, viaC++ core desktop features
in the installer along with the following features:
- MSVC v143
- C++ ATL for the above version
- Windows 10 or 11 SDK (min version Win 10 10.0.20348.0 at time of writing)
With all of this in place, you can build the plugin by changing dir to
CI/http
and executingpython win_install_script.py
, and the artifacts will be inCI/http/CI_build/release
upon completion.
Thanks for this. What about the API key? Did you have to build using a custom one and how did you go about providing it?