Skip to content
This repository was archived by the owner on Jul 21, 2018. It is now read-only.

Question on Compiling Highlight as Library on Windows #6

Open
tajmone opened this issue Apr 3, 2017 · 2 comments
Open

Question on Compiling Highlight as Library on Windows #6

tajmone opened this issue Apr 3, 2017 · 2 comments

Comments

@tajmone
Copy link
Contributor

tajmone commented Apr 3, 2017

I've started issue on AsciiDoctor repo for adding support to Highlight in the Ruby implementation of AsciiDoc:

asciidoctor/asciidoctor#2096 (comment)

... 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).

@andre-simon
Copy link
Owner

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.

@tajmone
Copy link
Contributor Author

tajmone commented Apr 3, 2017

Thanks, I'll try it. If I manage to do it I'll publish some notes on the GH Wiki.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants