commonmarker 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of commonmarker might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ext/commonmarker/cmark/CMakeLists.txt +3 -1
- data/ext/commonmarker/cmark/build/CMakeCache.txt +14 -8
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CMakeCCompiler.cmake +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CMakeCXXCompiler.cmake +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CMakeSystem.cmake +4 -4
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CompilerIdC/CMakeCCompilerId.c +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CompilerIdC/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/{3.7.1 → 3.7.2}/CompilerIdCXX/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log +6 -6
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +150 -150
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +107 -107
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +2 -2
- data/ext/commonmarker/cmark/build/Makefile +9 -9
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +2 -2
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +1 -1
- data/ext/commonmarker/cmark/build/api_test/Makefile +9 -9
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmarkextensions_static.dir/C.includecache +2 -0
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmarkextensions_static.dir/build.make +2 -2
- data/ext/commonmarker/cmark/build/extensions/Makefile +9 -9
- data/ext/commonmarker/cmark/build/extensions/libcmarkextensions.a +0 -0
- data/ext/commonmarker/cmark/build/man/Makefile +9 -9
- data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark-release.cmake +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make +2 -2
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/link.txt +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make +2 -2
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/C.includecache +2 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/blocks.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/build.make +2 -2
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/inlines.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/latex.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/Makefile +9 -9
- data/ext/commonmarker/cmark/build/src/cmake_install.cmake +9 -6
- data/ext/commonmarker/cmark/build/src/libcmark.a +0 -0
- data/ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake +2 -2
- data/ext/commonmarker/cmark/build/testdir/Makefile +9 -9
- data/ext/commonmarker/cmark/src/CMakeLists.txt +39 -26
- data/ext/commonmarker/cmark/src/blocks.c +1 -1
- data/ext/commonmarker/cmark/src/cmark_extension_api.h +2 -0
- data/ext/commonmarker/cmark/src/inlines.c +30 -49
- data/ext/commonmarker/cmark/src/latex.c +3 -2
- data/ext/commonmarker/cmark/test/CMakeLists.txt +26 -21
- data/ext/commonmarker/cmark/test/extensions.txt +6 -6
- data/ext/commonmarker/cmark/test/pathological_tests.py +3 -0
- data/ext/commonmarker/cmark/test/regression.txt +8 -0
- data/ext/commonmarker/cmark/test/spec.txt +4 -4
- data/lib/commonmarker/version.rb +1 -1
- metadata +11 -11
Binary file
|
@@ -39,10 +39,10 @@ cmake_force:
|
|
39
39
|
SHELL = /bin/sh
|
40
40
|
|
41
41
|
# The CMake executable.
|
42
|
-
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.
|
42
|
+
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.2/bin/cmake
|
43
43
|
|
44
44
|
# The command to remove a file.
|
45
|
-
RM = /usr/local/Cellar/cmake/3.7.
|
45
|
+
RM = /usr/local/Cellar/cmake/3.7.2/bin/cmake -E remove -f
|
46
46
|
|
47
47
|
# Escaping for special characters.
|
48
48
|
EQUALS = =
|
@@ -59,7 +59,7 @@ CMAKE_BINARY_DIR = /Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker
|
|
59
59
|
# Special rule for the target install/strip
|
60
60
|
install/strip: preinstall
|
61
61
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
62
|
-
/usr/local/Cellar/cmake/3.7.
|
62
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
63
63
|
.PHONY : install/strip
|
64
64
|
|
65
65
|
# Special rule for the target install/strip
|
@@ -70,13 +70,13 @@ install/strip/fast: install/strip
|
|
70
70
|
# Special rule for the target install
|
71
71
|
install: preinstall
|
72
72
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
73
|
-
/usr/local/Cellar/cmake/3.7.
|
73
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -P cmake_install.cmake
|
74
74
|
.PHONY : install
|
75
75
|
|
76
76
|
# Special rule for the target install
|
77
77
|
install/fast: preinstall/fast
|
78
78
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
79
|
-
/usr/local/Cellar/cmake/3.7.
|
79
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -P cmake_install.cmake
|
80
80
|
.PHONY : install/fast
|
81
81
|
|
82
82
|
# Special rule for the target list_install_components
|
@@ -92,7 +92,7 @@ list_install_components/fast: list_install_components
|
|
92
92
|
# Special rule for the target rebuild_cache
|
93
93
|
rebuild_cache:
|
94
94
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
95
|
-
/usr/local/Cellar/cmake/3.7.
|
95
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
96
96
|
.PHONY : rebuild_cache
|
97
97
|
|
98
98
|
# Special rule for the target rebuild_cache
|
@@ -103,7 +103,7 @@ rebuild_cache/fast: rebuild_cache
|
|
103
103
|
# Special rule for the target edit_cache
|
104
104
|
edit_cache:
|
105
105
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
106
|
-
/usr/local/Cellar/cmake/3.7.
|
106
|
+
/usr/local/Cellar/cmake/3.7.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
107
107
|
.PHONY : edit_cache
|
108
108
|
|
109
109
|
# Special rule for the target edit_cache
|
@@ -114,7 +114,7 @@ edit_cache/fast: edit_cache
|
|
114
114
|
# Special rule for the target install/local
|
115
115
|
install/local: preinstall
|
116
116
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
117
|
-
/usr/local/Cellar/cmake/3.7.
|
117
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
118
118
|
.PHONY : install/local
|
119
119
|
|
120
120
|
# Special rule for the target install/local
|
@@ -125,7 +125,7 @@ install/local/fast: install/local
|
|
125
125
|
# Special rule for the target test
|
126
126
|
test:
|
127
127
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
|
128
|
-
/usr/local/Cellar/cmake/3.7.
|
128
|
+
/usr/local/Cellar/cmake/3.7.2/bin/ctest --force-new-ctest-process $(ARGS)
|
129
129
|
.PHONY : test
|
130
130
|
|
131
131
|
# Special rule for the target test
|
@@ -18,7 +18,7 @@ list(APPEND _IMPORT_CHECK_FILES_FOR_cmark "${_IMPORT_PREFIX}/bin/cmark" )
|
|
18
18
|
set_property(TARGET libcmark APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
19
19
|
set_target_properties(libcmark PROPERTIES
|
20
20
|
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libcmark.0.27.1.dylib"
|
21
|
-
IMPORTED_SONAME_RELEASE "
|
21
|
+
IMPORTED_SONAME_RELEASE "libcmark.0.27.1.dylib"
|
22
22
|
)
|
23
23
|
|
24
24
|
list(APPEND _IMPORT_CHECK_TARGETS libcmark )
|
@@ -34,10 +34,10 @@ cmake_force:
|
|
34
34
|
SHELL = /bin/sh
|
35
35
|
|
36
36
|
# The CMake executable.
|
37
|
-
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.
|
37
|
+
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.2/bin/cmake
|
38
38
|
|
39
39
|
# The command to remove a file.
|
40
|
-
RM = /usr/local/Cellar/cmake/3.7.
|
40
|
+
RM = /usr/local/Cellar/cmake/3.7.2/bin/cmake -E remove -f
|
41
41
|
|
42
42
|
# Escaping for special characters.
|
43
43
|
EQUALS = =
|
@@ -1 +1 @@
|
|
1
|
-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -O3 -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmark.dir/main.c.o -o cmark
|
1
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -O3 -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmark.dir/main.c.o -o cmark libcmark.0.27.1.dylib ../extensions/libcmarkextensions.a
|
@@ -34,10 +34,10 @@ cmake_force:
|
|
34
34
|
SHELL = /bin/sh
|
35
35
|
|
36
36
|
# The CMake executable.
|
37
|
-
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.
|
37
|
+
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.2/bin/cmake
|
38
38
|
|
39
39
|
# The command to remove a file.
|
40
|
-
RM = /usr/local/Cellar/cmake/3.7.
|
40
|
+
RM = /usr/local/Cellar/cmake/3.7.2/bin/cmake -E remove -f
|
41
41
|
|
42
42
|
# Escaping for special characters.
|
43
43
|
EQUALS = =
|
@@ -1 +1 @@
|
|
1
|
-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -O3 -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 0.27.1 -current_version 0.27.1 -o libcmark.0.27.1.dylib -install_name
|
1
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -O3 -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 0.27.1 -current_version 0.27.1 -o libcmark.0.27.1.dylib -install_name /Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/src/libcmark.0.27.1.dylib CMakeFiles/libcmark.dir/cmark.c.o CMakeFiles/libcmark.dir/node.c.o CMakeFiles/libcmark.dir/iterator.c.o CMakeFiles/libcmark.dir/blocks.c.o CMakeFiles/libcmark.dir/inlines.c.o CMakeFiles/libcmark.dir/scanners.c.o CMakeFiles/libcmark.dir/utf8.c.o CMakeFiles/libcmark.dir/buffer.c.o CMakeFiles/libcmark.dir/references.c.o CMakeFiles/libcmark.dir/render.c.o CMakeFiles/libcmark.dir/man.c.o CMakeFiles/libcmark.dir/xml.c.o CMakeFiles/libcmark.dir/html.c.o CMakeFiles/libcmark.dir/commonmark.c.o CMakeFiles/libcmark.dir/latex.c.o CMakeFiles/libcmark.dir/houdini_href_e.c.o CMakeFiles/libcmark.dir/houdini_html_e.c.o CMakeFiles/libcmark.dir/houdini_html_u.c.o CMakeFiles/libcmark.dir/cmark_ctype.c.o CMakeFiles/libcmark.dir/arena.c.o CMakeFiles/libcmark.dir/linked_list.c.o CMakeFiles/libcmark.dir/syntax_extension.c.o CMakeFiles/libcmark.dir/registry.c.o CMakeFiles/libcmark.dir/plugin.c.o
|
Binary file
|
@@ -34,10 +34,10 @@ cmake_force:
|
|
34
34
|
SHELL = /bin/sh
|
35
35
|
|
36
36
|
# The CMake executable.
|
37
|
-
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.
|
37
|
+
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.2/bin/cmake
|
38
38
|
|
39
39
|
# The command to remove a file.
|
40
|
-
RM = /usr/local/Cellar/cmake/3.7.
|
40
|
+
RM = /usr/local/Cellar/cmake/3.7.2/bin/cmake -E remove -f
|
41
41
|
|
42
42
|
# Escaping for special characters.
|
43
43
|
EQUALS = =
|
Binary file
|
Binary file
|
@@ -39,10 +39,10 @@ cmake_force:
|
|
39
39
|
SHELL = /bin/sh
|
40
40
|
|
41
41
|
# The CMake executable.
|
42
|
-
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.
|
42
|
+
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.2/bin/cmake
|
43
43
|
|
44
44
|
# The command to remove a file.
|
45
|
-
RM = /usr/local/Cellar/cmake/3.7.
|
45
|
+
RM = /usr/local/Cellar/cmake/3.7.2/bin/cmake -E remove -f
|
46
46
|
|
47
47
|
# Escaping for special characters.
|
48
48
|
EQUALS = =
|
@@ -59,7 +59,7 @@ CMAKE_BINARY_DIR = /Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker
|
|
59
59
|
# Special rule for the target install/strip
|
60
60
|
install/strip: preinstall
|
61
61
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
62
|
-
/usr/local/Cellar/cmake/3.7.
|
62
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
63
63
|
.PHONY : install/strip
|
64
64
|
|
65
65
|
# Special rule for the target install/strip
|
@@ -70,13 +70,13 @@ install/strip/fast: install/strip
|
|
70
70
|
# Special rule for the target install
|
71
71
|
install: preinstall
|
72
72
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
73
|
-
/usr/local/Cellar/cmake/3.7.
|
73
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -P cmake_install.cmake
|
74
74
|
.PHONY : install
|
75
75
|
|
76
76
|
# Special rule for the target install
|
77
77
|
install/fast: preinstall/fast
|
78
78
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
79
|
-
/usr/local/Cellar/cmake/3.7.
|
79
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -P cmake_install.cmake
|
80
80
|
.PHONY : install/fast
|
81
81
|
|
82
82
|
# Special rule for the target list_install_components
|
@@ -92,7 +92,7 @@ list_install_components/fast: list_install_components
|
|
92
92
|
# Special rule for the target edit_cache
|
93
93
|
edit_cache:
|
94
94
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
95
|
-
/usr/local/Cellar/cmake/3.7.
|
95
|
+
/usr/local/Cellar/cmake/3.7.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
96
96
|
.PHONY : edit_cache
|
97
97
|
|
98
98
|
# Special rule for the target edit_cache
|
@@ -103,7 +103,7 @@ edit_cache/fast: edit_cache
|
|
103
103
|
# Special rule for the target install/local
|
104
104
|
install/local: preinstall
|
105
105
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
106
|
-
/usr/local/Cellar/cmake/3.7.
|
106
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
107
107
|
.PHONY : install/local
|
108
108
|
|
109
109
|
# Special rule for the target install/local
|
@@ -114,7 +114,7 @@ install/local/fast: install/local
|
|
114
114
|
# Special rule for the target test
|
115
115
|
test:
|
116
116
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
|
117
|
-
/usr/local/Cellar/cmake/3.7.
|
117
|
+
/usr/local/Cellar/cmake/3.7.2/bin/ctest --force-new-ctest-process $(ARGS)
|
118
118
|
.PHONY : test
|
119
119
|
|
120
120
|
# Special rule for the target test
|
@@ -125,7 +125,7 @@ test/fast: test
|
|
125
125
|
# Special rule for the target rebuild_cache
|
126
126
|
rebuild_cache:
|
127
127
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
128
|
-
/usr/local/Cellar/cmake/3.7.
|
128
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
129
129
|
.PHONY : rebuild_cache
|
130
130
|
|
131
131
|
# Special rule for the target rebuild_cache
|
@@ -27,16 +27,12 @@ if(NOT CMAKE_INSTALL_COMPONENT)
|
|
27
27
|
endif()
|
28
28
|
endif()
|
29
29
|
|
30
|
-
if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
31
|
-
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/src/libcmark.pc")
|
32
|
-
endif()
|
33
|
-
|
34
30
|
if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
35
31
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/src/cmark")
|
36
32
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark" AND
|
37
33
|
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark")
|
38
|
-
execute_process(COMMAND /usr/bin/install_name_tool
|
39
|
-
-
|
34
|
+
execute_process(COMMAND "/usr/bin/install_name_tool"
|
35
|
+
-change "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/src/libcmark.0.27.1.dylib" "libcmark.0.27.1.dylib"
|
40
36
|
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark")
|
41
37
|
if(CMAKE_INSTALL_DO_STRIP)
|
42
38
|
execute_process(COMMAND "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/cmark")
|
@@ -55,6 +51,9 @@ if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMP
|
|
55
51
|
)
|
56
52
|
if(EXISTS "${file}" AND
|
57
53
|
NOT IS_SYMLINK "${file}")
|
54
|
+
execute_process(COMMAND "/usr/bin/install_name_tool"
|
55
|
+
-id "libcmark.0.27.1.dylib"
|
56
|
+
"${file}")
|
58
57
|
if(CMAKE_INSTALL_DO_STRIP)
|
59
58
|
execute_process(COMMAND "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" "${file}")
|
60
59
|
endif()
|
@@ -70,6 +69,10 @@ if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMP
|
|
70
69
|
endif()
|
71
70
|
endif()
|
72
71
|
|
72
|
+
if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
73
|
+
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/src/libcmark.pc")
|
74
|
+
endif()
|
75
|
+
|
73
76
|
if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
74
77
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE FILE FILES
|
75
78
|
"/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/src/cmark.h"
|
Binary file
|
@@ -8,10 +8,10 @@ add_test(api_test "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker
|
|
8
8
|
add_test(html_normalization "/usr/local/bin/python3" "-m" "doctest" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/normalize.py")
|
9
9
|
add_test(spectest_library "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec.txt" "--library-dir" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
|
10
10
|
add_test(pathological_tests_library "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/pathological_tests.py" "--library-dir" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
|
11
|
+
add_test(roundtriptest_library "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/roundtrip_tests.py" "--spec" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec.txt" "--library-dir" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
|
12
|
+
add_test(entity_library "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/entity_tests.py" "--library-dir" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
|
11
13
|
add_test(spectest_executable "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec.txt" "--program" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark")
|
12
14
|
add_test(smartpuncttest_executable "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/smart_punct.txt" "--program" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark --smart")
|
13
15
|
add_test(extensions_executable "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/extensions.txt" "--program" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark -e table -e strikethrough -e autolink -e tagfilter")
|
14
|
-
add_test(roundtriptest_library "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/roundtrip_tests.py" "--spec" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec.txt" "--library-dir" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
|
15
16
|
add_test(roundtrip_extensions_executable "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/roundtrip_tests.py" "--spec" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/extensions.txt" "--program" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark -e table -e strikethrough -e autolink -e tagfilter")
|
16
17
|
add_test(regressiontest_executable "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/spec_tests.py" "--no-normalize" "--spec" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/regression.txt" "--program" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src/cmark")
|
17
|
-
add_test(entity_executable "/usr/local/bin/python3" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/test/entity_tests.py" "--library-dir" "/Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker/cmark/build/testdir/../src")
|
@@ -39,10 +39,10 @@ cmake_force:
|
|
39
39
|
SHELL = /bin/sh
|
40
40
|
|
41
41
|
# The CMake executable.
|
42
|
-
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.
|
42
|
+
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.7.2/bin/cmake
|
43
43
|
|
44
44
|
# The command to remove a file.
|
45
|
-
RM = /usr/local/Cellar/cmake/3.7.
|
45
|
+
RM = /usr/local/Cellar/cmake/3.7.2/bin/cmake -E remove -f
|
46
46
|
|
47
47
|
# Escaping for special characters.
|
48
48
|
EQUALS = =
|
@@ -59,7 +59,7 @@ CMAKE_BINARY_DIR = /Users/kivikakk/Code/gjtorikian/commonmarker/ext/commonmarker
|
|
59
59
|
# Special rule for the target install/strip
|
60
60
|
install/strip: preinstall
|
61
61
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
62
|
-
/usr/local/Cellar/cmake/3.7.
|
62
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
63
63
|
.PHONY : install/strip
|
64
64
|
|
65
65
|
# Special rule for the target install/strip
|
@@ -70,13 +70,13 @@ install/strip/fast: install/strip
|
|
70
70
|
# Special rule for the target install
|
71
71
|
install: preinstall
|
72
72
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
73
|
-
/usr/local/Cellar/cmake/3.7.
|
73
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -P cmake_install.cmake
|
74
74
|
.PHONY : install
|
75
75
|
|
76
76
|
# Special rule for the target install
|
77
77
|
install/fast: preinstall/fast
|
78
78
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
79
|
-
/usr/local/Cellar/cmake/3.7.
|
79
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -P cmake_install.cmake
|
80
80
|
.PHONY : install/fast
|
81
81
|
|
82
82
|
# Special rule for the target list_install_components
|
@@ -92,7 +92,7 @@ list_install_components/fast: list_install_components
|
|
92
92
|
# Special rule for the target rebuild_cache
|
93
93
|
rebuild_cache:
|
94
94
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
95
|
-
/usr/local/Cellar/cmake/3.7.
|
95
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
96
96
|
.PHONY : rebuild_cache
|
97
97
|
|
98
98
|
# Special rule for the target rebuild_cache
|
@@ -103,7 +103,7 @@ rebuild_cache/fast: rebuild_cache
|
|
103
103
|
# Special rule for the target edit_cache
|
104
104
|
edit_cache:
|
105
105
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
106
|
-
/usr/local/Cellar/cmake/3.7.
|
106
|
+
/usr/local/Cellar/cmake/3.7.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
107
107
|
.PHONY : edit_cache
|
108
108
|
|
109
109
|
# Special rule for the target edit_cache
|
@@ -114,7 +114,7 @@ edit_cache/fast: edit_cache
|
|
114
114
|
# Special rule for the target install/local
|
115
115
|
install/local: preinstall
|
116
116
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
117
|
-
/usr/local/Cellar/cmake/3.7.
|
117
|
+
/usr/local/Cellar/cmake/3.7.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
118
118
|
.PHONY : install/local
|
119
119
|
|
120
120
|
# Special rule for the target install/local
|
@@ -125,7 +125,7 @@ install/local/fast: install/local
|
|
125
125
|
# Special rule for the target test
|
126
126
|
test:
|
127
127
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
|
128
|
-
/usr/local/Cellar/cmake/3.7.
|
128
|
+
/usr/local/Cellar/cmake/3.7.2/bin/ctest --force-new-ctest-process $(ARGS)
|
129
129
|
.PHONY : test
|
130
130
|
|
131
131
|
# Special rule for the target test
|
@@ -57,25 +57,11 @@ set(PROGRAM_SOURCES
|
|
57
57
|
main.c
|
58
58
|
)
|
59
59
|
|
60
|
-
# We make LIB_INSTALL_DIR configurable rather than
|
61
|
-
# hard-coding lib, because on some OSes different locations
|
62
|
-
# are used for different architectures (e.g. /usr/lib64 on
|
63
|
-
# 64-bit Fedora).
|
64
|
-
if(NOT LIB_INSTALL_DIR)
|
65
|
-
set(LIB_INSTALL_DIR "lib" CACHE STRING
|
66
|
-
"Set the installation directory for libraries." FORCE)
|
67
|
-
endif(NOT LIB_INSTALL_DIR)
|
68
|
-
|
69
60
|
include_directories(. ${CMAKE_CURRENT_BINARY_DIR})
|
70
61
|
|
71
62
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmark_version.h.in
|
72
63
|
${CMAKE_CURRENT_BINARY_DIR}/cmark_version.h)
|
73
64
|
|
74
|
-
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libcmark.pc.in
|
75
|
-
${CMAKE_CURRENT_BINARY_DIR}/libcmark.pc @ONLY)
|
76
|
-
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libcmark.pc
|
77
|
-
DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
|
78
|
-
|
79
65
|
include (GenerateExportHeader)
|
80
66
|
|
81
67
|
add_executable(${PROGRAM} ${PROGRAM_SOURCES})
|
@@ -106,27 +92,46 @@ elseif(CMAKE_COMPILER_IS_GNUCC OR ${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
|
|
106
92
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
|
107
93
|
endif ()
|
108
94
|
|
109
|
-
|
110
|
-
add_library(${
|
111
|
-
# Include minor version and patch level in soname for now.
|
112
|
-
set_target_properties(${LIBRARY} PROPERTIES
|
95
|
+
if (CMARK_SHARED)
|
96
|
+
add_library(${LIBRARY} SHARED ${LIBRARY_SOURCES})
|
97
|
+
# Include minor version and patch level in soname for now.
|
98
|
+
set_target_properties(${LIBRARY} PROPERTIES
|
113
99
|
OUTPUT_NAME "cmark"
|
114
100
|
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
|
115
101
|
VERSION ${PROJECT_VERSION})
|
116
|
-
|
102
|
+
|
103
|
+
set_property(TARGET ${LIBRARY}
|
104
|
+
APPEND PROPERTY MACOSX_RPATH true)
|
105
|
+
|
106
|
+
# Avoid name clash between PROGRAM and LIBRARY pdb files.
|
107
|
+
set_target_properties(${LIBRARY} PROPERTIES PDB_NAME cmark_dll)
|
108
|
+
|
109
|
+
generate_export_header(${LIBRARY}
|
110
|
+
BASE_NAME ${PROJECT_NAME})
|
111
|
+
|
112
|
+
list(APPEND CMARK_INSTALL ${LIBRARY})
|
113
|
+
endif()
|
114
|
+
|
115
|
+
if (CMARK_STATIC)
|
116
|
+
add_library(${STATICLIBRARY} STATIC ${LIBRARY_SOURCES})
|
117
|
+
set_target_properties(${STATICLIBRARY} PROPERTIES
|
117
118
|
COMPILE_FLAGS -DCMARK_STATIC_DEFINE
|
118
119
|
POSITION_INDEPENDENT_CODE ON)
|
119
120
|
|
120
|
-
if (MSVC)
|
121
|
+
if (MSVC)
|
121
122
|
set_target_properties(${STATICLIBRARY} PROPERTIES
|
122
123
|
OUTPUT_NAME "cmark_static"
|
123
124
|
VERSION ${PROJECT_VERSION})
|
124
|
-
else()
|
125
|
+
else()
|
125
126
|
set_target_properties(${STATICLIBRARY} PROPERTIES
|
126
127
|
OUTPUT_NAME "cmark"
|
127
128
|
VERSION ${PROJECT_VERSION})
|
128
129
|
endif(MSVC)
|
129
130
|
|
131
|
+
target_link_libraries(cmark ${CMAKE_DL_LIBS})
|
132
|
+
|
133
|
+
list(APPEND CMARK_INSTALL ${STATICLIBRARY})
|
134
|
+
endif()
|
130
135
|
set_property(TARGET ${LIBRARY}
|
131
136
|
APPEND PROPERTY MACOSX_RPATH true)
|
132
137
|
|
@@ -142,15 +147,22 @@ if (MSVC)
|
|
142
147
|
endif(MSVC)
|
143
148
|
|
144
149
|
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
|
150
|
+
|
145
151
|
include (InstallRequiredSystemLibraries)
|
146
|
-
install(TARGETS ${PROGRAM} ${
|
152
|
+
install(TARGETS ${PROGRAM} ${CMARK_INSTALL}
|
147
153
|
EXPORT cmark
|
148
154
|
RUNTIME DESTINATION bin
|
149
|
-
LIBRARY DESTINATION ${
|
150
|
-
ARCHIVE DESTINATION ${
|
155
|
+
LIBRARY DESTINATION lib${LIB_SUFFIX}
|
156
|
+
ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
151
157
|
)
|
152
158
|
|
153
|
-
|
159
|
+
if(CMARK_SHARED OR CMARK_STATIC)
|
160
|
+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libcmark.pc.in
|
161
|
+
${CMAKE_CURRENT_BINARY_DIR}/libcmark.pc @ONLY)
|
162
|
+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libcmark.pc
|
163
|
+
DESTINATION lib${LIB_SUFFIX}/pkgconfig)
|
164
|
+
|
165
|
+
install(FILES
|
154
166
|
cmark.h
|
155
167
|
cmark_extension_api.h
|
156
168
|
${CMAKE_CURRENT_BINARY_DIR}/cmark_export.h
|
@@ -158,7 +170,8 @@ install(FILES
|
|
158
170
|
DESTINATION include
|
159
171
|
)
|
160
172
|
|
161
|
-
install(EXPORT cmark DESTINATION ${
|
173
|
+
install(EXPORT cmark DESTINATION lib${LIB_SUFFIX}/cmake)
|
174
|
+
endif()
|
162
175
|
|
163
176
|
# Feature tests
|
164
177
|
include(CheckIncludeFile)
|