-
Notifications
You must be signed in to change notification settings - Fork 180
Building MD4C
Martin Mitáš edited this page Mar 19, 2017
·
8 revisions
Building MD4C from the source repository or source package is based on cmake and there should be no surprises.
There are no build dependencies (standard C library suffices).
For example, on Linux:
$ cd md4c
$ mkdir build
$ cd build
$ cmake ..
$ make
This actually builds the md2html. This utility uses MD4C parser to read a Markdown document and converts it into HTML.
Note the md2html is built with the MD4C's UTF-8 support enabled.
Build configuration is determined by the standard cmake's CMAKE_BUILD_TYPE variable. By default (when not specified), MD4C builds a Release build.
Please note that Debug build may result in a binary which is about two times slower then the Release build.