Building Defold Engine on Windows

Godot is pretty straightforward - install our build tool scons and visual studio and the rest would work by issuing scons platform=windows compiledb=yes vsproj=yes ...

On some places where I worked it was a practice to have a script that does all the setup for you if there were more dependencies - kind of like what you have for the WSL.

Generally I find that it is bad that:

  • I have to install java, python, visual studio, clang and a lot more
  • I am forced to use clang
  • I am forced to use a simple text editor. I love CLion or Rider. I would be content with Visual Studio. But I didn’t saw a way to get intellisense in any of these tools. Generating compile_commands.json from the build would be enough for me to be able to use CLion. Intellisense is almost always a must for an open-source project for me since I am going to do this on the side and I don’t have time to memorize every file and structure.
  • I am forced to use git-bash or otherwise nothing builds.

And even when I double and triple checked that I am having all the tools, I managed to compile and the tests started running there is still some error with the build process that I cannot solve.