highlight
highlight copied to clipboard
Question on Compiling Highlight as Library on Windows
I've started issue on AsciiDoctor repo for adding support to Highlight in the Ruby implementation of AsciiDoc:
https://github.com/asciidoctor/asciidoctor/issues/2096#issuecomment-291016191
... it looks like the best solution would be to create a Ruby Gem using Highlight as a library.
In the documentation it mentions that Highlight can be built as a dynamic or static library. Is this an option only for Linux, or it can be done also for Windows? I couldn't workout how to get a makefile for compiling Highlight as a Windows library (I use GCC though, not MSVS).
There is only a Qt based project in the w32-projects directory. But the existing makefile should do a make lib within a MinGW or MSYS environment.
Thanks, I'll try it. If I manage to do it I'll publish some notes on the GH Wiki.