arrbee / diff-match-patch-c

C language port of google-diff-match-patch library
MIT License
41 stars 13 forks source link

Build process improvements for windows #3

Open Varriount opened 11 years ago

Varriount commented 11 years ago

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.

arrbee commented 11 years ago

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.

Varriount commented 11 years ago

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