diff-match-patch-c icon indicating copy to clipboard operation
diff-match-patch-c copied to clipboard

Build process improvements for windows

Open Varriount opened this issue 11 years ago • 2 comments

Currently, the library can only be built on Windows if one uses Mingw (and presumably Cygwin). It would be nice to have other build options utilizing Visual Studio (if possible).

This may not be possible, as Visual Studio still lacks full support for C99, not to mention C11 .

I'd be willing to take this on, since I use windows as my primary operating system.

Varriount avatar Oct 06 '13 17:10 Varriount

That sounds great. How do you want to tackle it? I'm open to using CMake or Gyp if you want a cross-platform build system. Or we can just keep it simple and add in whatever files you'd want to have for Visual Studio support.

For reference, I don't think there are any strange C things that would prevent this code from building with Visual Studio. There may be some extra warnings, but otherwise I would expect it to work.

arrbee avatar Oct 07 '13 20:10 arrbee

I'm thinking CMake. It can be used from both the command line and with a GUI, and supports both Mingw32 and VS.

Varriount avatar Oct 10 '13 19:10 Varriount