summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)Author
2015-01-28Added Profile build type, 'make prof' target.John MacFarlane
2015-01-23Add version information to shared libraryNick Wellnhofer
2015-01-23Let cmake update versionNick Wellnhofer
Add a new template cmark_version.h.in to generate cmark_version.h containing version information.
2015-01-12Reduce size of gperf entity tableNick Wellnhofer
Don't store length of UTF-8 string. It can be computed by NULL-terminating strings shorter than 4 bytes and using strnlen. Use gperf's string pool option. This allows to use an 'int' index into the string pool instead of a pointer and is helpful on 64-bit systems. Shaves about 75 KB off the 32-bit binaries on Linux and 128 KB off the 64-bit binaries on OS X.
2014-12-31Recreate scanners.c only on demandNick Wellnhofer
2014-12-31Feature test for va_copyNick Wellnhofer
MSVC doesn't support va_copy.
2014-12-29Added cmark_ctype.h with locale-independent isspace, ispunct, etc.John MacFarlane
Otherwise cmark's behavior varies unpredictably with the locale. `is_punctuation` in utf8.h has also been adjusted so that everything that counts all ASCII symbol characters count as punctuation, even though some are not in P* character classes.
2014-12-28Removed old 'ast' format, now that we have 'xml'.John MacFarlane
The xml representation of the AST is not quite as pretty, but it contains the same information and is not in an ad hoc format. See #53.
2014-12-28Added xml writer, to dump the AST in XML.John MacFarlane
This is a work-in-progress. CommonMark.dtd gives the DTD for the generated XML. Closes #53.
2014-12-14Added GNU profiler flags to debug build.John MacFarlane
2014-12-13Added cmark_render_man (man page writer).John MacFarlane
cmark: Replaced `--man` and `--ast` with generic `--to` option.
2014-12-13Added iterator interface to API, removed cmark_walk.John MacFarlane
* Added `iterator.c`, `iterator.h`. * Removed `cmark_walk`. * Replaced `cmark_walk` with iterator in HTML renderer. * Replaced API test for `cmark_walk` with simple iterator test.
2014-12-08Compile with -WextraNick Wellnhofer
2014-12-04Moved source files from src/html into src.John MacFarlane
The separate directory presents problems for some simple extension building systems, like luarocks.
2014-12-04Create pkg-config file as part of build procedure.John MacFarlane
Closes #234.
2014-12-01Use `--no-generation-date` with `re2c`.John MacFarlane
2014-12-01Changed build procedure so that an empty scanners.c is not createdJohn MacFarlane
if `re2c` is missing. Closes #231.
2014-11-24Fix MSVC optionsNick Wellnhofer
Also disable some warnings.
2014-11-22Fix debug flagsNick Wellnhofer
2014-11-17Set CMARK_DEBUG_NODES for debug builds.John MacFarlane
2014-11-17Rename ast.h to parser.hNick Wellnhofer
2014-11-17Start with unified nodesNick Wellnhofer
2014-11-16Move inline function definitions to header filesNick Wellnhofer
Inline functions must be defined in header files in order to be inlined in other compilation units. This also fixes the MSVC build where out-of-line versions weren't created and allows to remove the -fgnu89-inline flag.
2014-11-16Feature test for GCC attributesNick Wellnhofer
2014-11-16Look for re2c in path when compiling with MSVCNick Wellnhofer
2014-11-16Feature test for __builtin_expectNick Wellnhofer
2014-11-16Compile as C++ under MSVCNick Wellnhofer
2014-11-16Probe for stdbool.hNick Wellnhofer
Let cmake create a cmark_config.h file to deal with platforms missing stdbool.h.
2014-11-16Moved inline/block-making functions to ast.h.John MacFarlane
Now we no longer depend on buffer.h or chunk.h in the public API. Install cmark.h and cmark_export.h into PREFIX/include instead of PREFIX/include/cmark.
2014-11-16cmark_render_html now just returns a regular C string.John MacFarlane
This way, we don't have to expose buffer.h; it is just used internally.
2014-11-16Moved AST details from public header cmark.h to private ast.h.John MacFarlane
2014-11-15Workaround to add -fvisibility=hidden for older versions of cmake.John MacFarlane
2014-11-15Fixed install target in src/CMakeLists.John MacFarlane
Use proper include directory, include needed headers chunk.h and references.h.
2014-11-14Disable warnings about inline with mingw.John MacFarlane
2014-11-14Disable PUBLIC declarations when we're compiling the executable.John MacFarlane
2014-11-14Changed internal library name to something without a hyphen.John MacFarlane
This caused problems with macros.
2014-11-14Use cmake's generate_export_header.John MacFarlane
2014-11-13Removed ast modules, moved these defs back to cmark.h.John MacFarlane
2014-11-13Compile with -fvisibility=hidden.John MacFarlane
We'll mark public functions as "default".
2014-11-13Added bench.h and inserted timing macros in main.John MacFarlane
`make TIMER=1` to build with timings.
2014-11-13Added ast.[c,h] for AST definitions and AST-manipulating functions.John MacFarlane
2014-11-12Moved man install target to main CMakeLists.txt.John MacFarlane
2014-11-11Added cmark_markdown_to_html with a simple interface.John MacFarlane
See #70.
2014-11-10html_unescape: Made find_entity staticJohn MacFarlane
2014-11-07Shared library is again libcmark.John MacFarlane
2014-11-07More cmake cleanup.John MacFarlane
2014-11-07Fixed compiler warnings in cmake.John MacFarlane
2014-11-07Moved include file check to src/CMakeLists.txt.John MacFarlane
2014-11-07Removed old man/CMakeLists.txt.John MacFarlane
2014-11-07Added cmake_minimum_version to src/CMakeLists.txt.John MacFarlane