released vkdt 0.5.0

heya, nice to see you trying this roel :slight_smile: unfortunately i don’t know pretty much anything about windows.

there has been this thread and there is a fork trying to build with mingw (but i can’t even tell how that relates to msys2). probably something relating to posix dirent is relevant for both cases.

i don’t know about ninja, i haven’t been using it. maybe that’s a default/fallback now? this here seems to indicate you should be able to somehow supply -G or set the CMAKE_GENERATOR environment variable and maybe just set it to make?

the build process aside, i expect some compatibility issues on windows, off the top of my head:

  • src/core/fs.h needs platform specific implementations for standard things like path handling. in particular detecting the full path of the executable is necessary so vkdt can pick up the data and modules directories
  • in a few places i’m depending on a gnu extension to realpath which also fills in the expanded real path (replacing symlink to directories by the real name) even if the resulting filename does not point to an existing file. probably realpath should have a fs_realpath platform specific implementation too.
  • vkdt uses symlinks to create collections of tags. probably there’s no such thing on windows.