summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)Author
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
2014-11-07Reformatted src/CMakeLists.txt.John MacFarlane
2014-11-06More cmake improvements.John MacFarlane
2014-11-06cmake: Create and install shared library.John MacFarlane
2014-10-25CMakeLists tweaks.John MacFarlane
Use compiler optimizations, -Wall, -Werror.
2014-10-25Removed obsolete src/getopt.c; modified CMake build accordingly.John MacFarlane
2014-10-25Merge branch 'cmake-build' of https://github.com/gittiver/stmd into ↵John MacFarlane
gittiver-cmake-build Conflicts: .gitignore
2014-09-22using only includes from systemGulliver
2014-09-11fixed using variable ${PROGRAM_stmd}Gulliver