Skip to content

Visual Studio: Support building from GIT checkout

Chun-wei Fan requested to merge git-msvc into main

Hi,

As in #830 (closed), this adds rules and scripts in win32/generate-msvc.mak and win32 for GIT checkouts (not released tarballs) to:

  • Generate win32/config.h.win32, win32/config-msvc.mak and include/librsvg/rsvg-version.h so that we can then run nmake /f Makefile.vc CFG=... ... in $(srcroot)/win32 to build librsvg like what we normally do in release tarballs.

  • Remove the generated files mentioned above, and the build directories, to clean things up.

This will pave the steps for allowing CI for Visual Studio builds for librsvg itself--this is currently strictly for GIT checkouts only. Sorry, I am a CI novice here.

With blessings, thank you!

Merge request reports