Add script to setup full Windows dev environment
Add a reproducible "one-click" alternative available to set up a whole development environment for Inkscape on Windows:
- Set up VSCode
- Set up Inkscape dependencies
- Check out and compile Inkscape
This PR offers a script to run on any Windows PC, and also a VM configuration for Vagrant to set up a complete Win11 development VM from scratch. It also includes some related improvements to the VSCode configuration instructions.
Motivation:
Developers have to follow several manual steps to get started with Inkscape development on Windows or to reproduce problems with the Windows build dependencies. Before this change, only the dependency installation (step 2 from the above list) was automated, the rest was manual. Now, we offer a script that does everything.
Use-Cases:
-
As an experienced developer, I want to triage issues that the build instructions are not working: Just run a one-line command
vagrant destroy; vagrant up. After two hours of waiting I have a fresh VM with the same result as if I had manually followed through all the instructions inwindows.md. -
As a new and unexperienced developer, I want to play around debugging Inkscape on Windows but I am overwhelmed by the long instructions. Now I can just click on
windows-installFullDevEnv-clickHere.bat, do something else for two hours, and come back to a VSCode window with Inkscape source and press F5 to start debugging. -
I don't want to use the new magic stuff but still do it manually. This is still possible.