Vcpkg support (Windows package manager)
Hi, I was wondering if vcpkg integration could be fixed. Someone posted the issue more than a year ago in vcpkg's repo around a year ago: https://github.com/Microsoft/vcpkg/issues/5843.
According to the post, the problems preventing inclusion are:
- libfswatch_config.h are not found in source.
- This port only supports Linux.
- Without build documentation.
- Some macro such as PACKAGE_STRING PACKAGE_NAME PACKAGE_BUGREPORT PACKAGE PACKAGE_URL are not found.
- It seems like that the port has code bug in source. eg: optarg and getopt not found.
There is currently a pull request on fixing CMAKE, but I haven't looked into it: https://github.com/emcrisostomo/fswatch/pull/250#issue-465250042
Related: https://github.com/emcrisostomo/fswatch/issues/176.
Thanks.
why not use MSYS2 with MINGW-W64 (that one also supports 32-bit btw, the name just implies it's an evolution of the old MINGW) with GNU tooling instead of having to fix CMAKE for building on Windows?
The only requirement I ask on a PR that supports CMake is that
- It builds correctly and with the same behaviour on all the currently supported operating systems (not just, let's say, Windows)
- it does not break the Autotools build.
For this reason #250 has been closed.
There's a newer PR (#282) which is quite elaborated, but it has the same problems, and I've asked the author whether he's willing to help converge to a situation in which the previously mentioned requirements are met.