summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-11 15:51:12 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-11 17:38:34 -0700
commit476f083fc0d4ac31da918f7e1110cabc10acf02f (patch)
tree0b3b43da0769e783f2234e2d9cb632ec357955a7 /src/CMakeLists.txt
parent4e3b2cf8af9872fb1bfc29bfa6b9d24b5c063ff1 (diff)
Factored out common bits of rendering into separate render module.
* Added render.c, render.h. * Moved common functions and definitions from latex.c and commonmark.c to render.c, render.h. * Added a wrapper, cmark_render, that creates a renderer given a character-escaper and a node renderer. Closes #63.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d8e57af..eee9316 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,6 +15,7 @@ set(HEADERS
inlines.h
houdini.h
cmark_ctype.h
+ render.h
)
set(LIBRARY_SOURCES
cmark.c
@@ -27,6 +28,7 @@ set(LIBRARY_SOURCES
utf8.c
buffer.c
references.c
+ render.c
man.c
xml.c
html.c