commonmarker 0.6.0 → 0.7.0
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 +2 -2
- data/ext/commonmarker/cmark/api_test/main.c +98 -90
- data/ext/commonmarker/cmark/build/CMakeCache.txt +82 -59
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeCCompiler.cmake +6 -6
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeCXXCompiler.cmake +6 -6
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeSystem.cmake +4 -4
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdC/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdCXX/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log +6 -7
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +216 -381
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +69 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin +0 -0
- data/ext/commonmarker/cmark/build/Makefile +1 -1
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +10 -10
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.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 +1 -1
- data/ext/commonmarker/cmark/build/man/Makefile +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make +60 -60
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/link.txt +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make +80 -80
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make +1 -1
- 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 +4 -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 +57 -57
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/commonmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/flags.make +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/html.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/iterator.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/CMakeFiles/libcmark_static.dir/link.txt +2 -2
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/man.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/node.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/render.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/scanners.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/xml.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/Makefile +1 -1
- data/ext/commonmarker/cmark/build/src/cmake_install.cmake +5 -5
- data/ext/commonmarker/cmark/build/src/cmark_version.h +2 -2
- data/ext/commonmarker/cmark/build/src/config.h +51 -0
- data/ext/commonmarker/cmark/build/src/libcmark.a +0 -0
- data/ext/commonmarker/cmark/build/src/libcmark.pc +1 -1
- data/ext/commonmarker/cmark/build/testdir/Makefile +1 -1
- data/ext/commonmarker/cmark/changelog.txt +54 -0
- data/ext/commonmarker/cmark/man/make_man_page.py +3 -1
- data/ext/commonmarker/cmark/man/man3/cmark.3 +114 -15
- data/ext/commonmarker/cmark/src/blocks.c +1 -5
- data/ext/commonmarker/cmark/src/chunk.h +4 -4
- data/ext/commonmarker/cmark/src/cmark.h +13 -7
- data/ext/commonmarker/cmark/src/commonmark.c +45 -27
- data/ext/commonmarker/cmark/src/config.h.in +51 -0
- data/ext/commonmarker/cmark/src/html.c +9 -7
- data/ext/commonmarker/cmark/src/iterator.c +3 -0
- data/ext/commonmarker/cmark/src/latex.c +4 -2
- data/ext/commonmarker/cmark/src/man.c +3 -2
- data/ext/commonmarker/cmark/src/node.c +10 -2
- data/ext/commonmarker/cmark/src/render.c +17 -5
- data/ext/commonmarker/cmark/src/scanners.c +10457 -16407
- data/ext/commonmarker/cmark/src/scanners.re +3 -3
- data/ext/commonmarker/cmark/src/xml.c +10 -7
- data/ext/commonmarker/cmark/test/smart_punct.txt +30 -30
- data/ext/commonmarker/cmark/test/spec.txt +2152 -1440
- data/ext/commonmarker/cmark/test/spec_tests.py +21 -17
- data/ext/commonmarker/cmark/wrappers/wrapper.py +1 -1
- data/lib/commonmarker/version.rb +1 -1
- data/test/test_helper.rb +23 -21
- data/test/test_smartpunct.rb +1 -1
- data/test/test_spec.rb +1 -1
- metadata +2 -11
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeCCompiler.cmake +0 -55
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeCXXCompiler.cmake +0 -56
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeSystem.cmake +0 -15
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CompilerIdC/CMakeCCompilerId.c +0 -393
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CompilerIdC/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -375
- data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CompilerIdCXX/a.out +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc90358a7166e52c25102f13da23d7aea9325ed3
|
4
|
+
data.tar.gz: 0104a8a0553e6b2e1221ffe5115cb96805165f3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc11c4127a04fdd568caf2317aa30301fb4902c29f43d48a1992a5a73406bd1a56c100640959183fab12fb50149f543ac816502c9ec90645e1343006bb9458b5
|
7
|
+
data.tar.gz: 4aab548d4defa14aff6a8344f48bb2e82624fb8f83a775c2e61e82c4d1812297c3d412cd375a99778dec4619aaaea44116082bdc98c29249b45b9122d20703af
|
@@ -9,8 +9,8 @@ endif()
|
|
9
9
|
set(PROJECT_NAME "cmark")
|
10
10
|
|
11
11
|
set(PROJECT_VERSION_MAJOR 0)
|
12
|
-
set(PROJECT_VERSION_MINOR
|
13
|
-
set(PROJECT_VERSION_PATCH
|
12
|
+
set(PROJECT_VERSION_MINOR 24)
|
13
|
+
set(PROJECT_VERSION_PATCH 1)
|
14
14
|
set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} )
|
15
15
|
|
16
16
|
option(CMARK_TESTS "Build cmark tests and enable testing" ON)
|
@@ -359,10 +359,17 @@ static void create_tree(test_batch_runner *runner) {
|
|
359
359
|
// 1e3
|
360
360
|
OK(runner, cmark_node_previous(emph) == str1, "ins after2 works");
|
361
361
|
|
362
|
+
cmark_node *str4 = cmark_node_new(CMARK_NODE_TEXT);
|
363
|
+
cmark_node_set_literal(str4, "brzz");
|
364
|
+
OK(runner, cmark_node_replace(str1, str4), "replace");
|
365
|
+
INT_EQ(runner, cmark_node_check(doc, NULL), 0, "replace consistent");
|
366
|
+
OK(runner, cmark_node_previous(emph) == str4, "replace works");
|
367
|
+
INT_EQ(runner, cmark_node_replace(p, str4), 0, "replace str for p fails");
|
368
|
+
|
362
369
|
cmark_node_unlink(emph);
|
363
370
|
|
364
371
|
html = cmark_render_html(doc, CMARK_OPT_DEFAULT);
|
365
|
-
STR_EQ(runner, html, "<p>
|
372
|
+
STR_EQ(runner, html, "<p>brzz!</p>\n", "render_html after shuffling");
|
366
373
|
free(html);
|
367
374
|
|
368
375
|
cmark_node_free(doc);
|
@@ -518,33 +525,31 @@ static void render_xml(test_batch_runner *runner) {
|
|
518
525
|
cmark_parse_document(markdown, sizeof(markdown) - 1, CMARK_OPT_DEFAULT);
|
519
526
|
|
520
527
|
xml = cmark_render_xml(doc, CMARK_OPT_DEFAULT);
|
521
|
-
STR_EQ(runner, xml,
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
"</document>\n",
|
528
|
+
STR_EQ(runner, xml, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
529
|
+
"<!DOCTYPE document SYSTEM \"CommonMark.dtd\">\n"
|
530
|
+
"<document xmlns=\"http://commonmark.org/xml/1.0\">\n"
|
531
|
+
" <paragraph>\n"
|
532
|
+
" <text>foo </text>\n"
|
533
|
+
" <emph>\n"
|
534
|
+
" <text>bar</text>\n"
|
535
|
+
" </emph>\n"
|
536
|
+
" </paragraph>\n"
|
537
|
+
" <paragraph>\n"
|
538
|
+
" <text>paragraph 2</text>\n"
|
539
|
+
" </paragraph>\n"
|
540
|
+
"</document>\n",
|
535
541
|
"render document");
|
536
542
|
free(xml);
|
537
543
|
cmark_node *paragraph = cmark_node_first_child(doc);
|
538
544
|
xml = cmark_render_xml(paragraph, CMARK_OPT_DEFAULT | CMARK_OPT_SOURCEPOS);
|
539
|
-
STR_EQ(runner, xml,
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
"</paragraph>\n",
|
545
|
+
STR_EQ(runner, xml, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
546
|
+
"<!DOCTYPE document SYSTEM \"CommonMark.dtd\">\n"
|
547
|
+
"<paragraph sourcepos=\"1:1-1:9\">\n"
|
548
|
+
" <text>foo </text>\n"
|
549
|
+
" <emph>\n"
|
550
|
+
" <text>bar</text>\n"
|
551
|
+
" </emph>\n"
|
552
|
+
"</paragraph>\n",
|
548
553
|
"render first paragraph with source pos");
|
549
554
|
free(xml);
|
550
555
|
cmark_node_free(doc);
|
@@ -560,34 +565,32 @@ static void render_man(test_batch_runner *runner) {
|
|
560
565
|
"- sed do eiusmod tempor incididunt\n"
|
561
566
|
" ut labore et dolore magna aliqua.\n";
|
562
567
|
cmark_node *doc =
|
563
|
-
|
568
|
+
cmark_parse_document(markdown, sizeof(markdown) - 1, CMARK_OPT_DEFAULT);
|
564
569
|
|
565
570
|
man = cmark_render_man(doc, CMARK_OPT_DEFAULT, 20);
|
566
|
-
STR_EQ(runner, man,
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
"magna aliqua.\n",
|
571
|
+
STR_EQ(runner, man, ".PP\n"
|
572
|
+
"foo \\f[I]bar\\f[]\n"
|
573
|
+
".IP \\[bu] 2\n"
|
574
|
+
"Lorem ipsum dolor\n"
|
575
|
+
"sit amet,\n"
|
576
|
+
"consectetur\n"
|
577
|
+
"adipiscing elit,\n"
|
578
|
+
".IP \\[bu] 2\n"
|
579
|
+
"sed do eiusmod\n"
|
580
|
+
"tempor incididunt ut\n"
|
581
|
+
"labore et dolore\n"
|
582
|
+
"magna aliqua.\n",
|
579
583
|
"render document with wrapping");
|
580
584
|
free(man);
|
581
585
|
man = cmark_render_man(doc, CMARK_OPT_DEFAULT, 0);
|
582
|
-
STR_EQ(runner, man,
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
"ut labore et dolore magna aliqua.\n",
|
586
|
+
STR_EQ(runner, man, ".PP\n"
|
587
|
+
"foo \\f[I]bar\\f[]\n"
|
588
|
+
".IP \\[bu] 2\n"
|
589
|
+
"Lorem ipsum dolor sit amet,\n"
|
590
|
+
"consectetur adipiscing elit,\n"
|
591
|
+
".IP \\[bu] 2\n"
|
592
|
+
"sed do eiusmod tempor incididunt\n"
|
593
|
+
"ut labore et dolore magna aliqua.\n",
|
591
594
|
"render document without wrapping");
|
592
595
|
free(man);
|
593
596
|
cmark_node_free(doc);
|
@@ -603,38 +606,36 @@ static void render_latex(test_batch_runner *runner) {
|
|
603
606
|
"- sed do eiusmod tempor incididunt\n"
|
604
607
|
" ut labore et dolore magna aliqua.\n";
|
605
608
|
cmark_node *doc =
|
606
|
-
|
609
|
+
cmark_parse_document(markdown, sizeof(markdown) - 1, CMARK_OPT_DEFAULT);
|
607
610
|
|
608
611
|
latex = cmark_render_latex(doc, CMARK_OPT_DEFAULT, 20);
|
609
|
-
STR_EQ(runner, latex,
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
"\\end{itemize}\n",
|
612
|
+
STR_EQ(runner, latex, "foo \\emph{bar} \\$\\%\n"
|
613
|
+
"\n"
|
614
|
+
"\\begin{itemize}\n"
|
615
|
+
"\\item Lorem ipsum\n"
|
616
|
+
"dolor sit amet,\n"
|
617
|
+
"consectetur\n"
|
618
|
+
"adipiscing elit,\n"
|
619
|
+
"\n"
|
620
|
+
"\\item sed do eiusmod\n"
|
621
|
+
"tempor incididunt ut\n"
|
622
|
+
"labore et dolore\n"
|
623
|
+
"magna aliqua.\n"
|
624
|
+
"\n"
|
625
|
+
"\\end{itemize}\n",
|
624
626
|
"render document with wrapping");
|
625
627
|
free(latex);
|
626
628
|
latex = cmark_render_latex(doc, CMARK_OPT_DEFAULT, 0);
|
627
|
-
STR_EQ(runner, latex,
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
"\\end{itemize}\n",
|
629
|
+
STR_EQ(runner, latex, "foo \\emph{bar} \\$\\%\n"
|
630
|
+
"\n"
|
631
|
+
"\\begin{itemize}\n"
|
632
|
+
"\\item Lorem ipsum dolor sit amet,\n"
|
633
|
+
"consectetur adipiscing elit,\n"
|
634
|
+
"\n"
|
635
|
+
"\\item sed do eiusmod tempor incididunt\n"
|
636
|
+
"ut labore et dolore magna aliqua.\n"
|
637
|
+
"\n"
|
638
|
+
"\\end{itemize}\n",
|
638
639
|
"render document without wrapping");
|
639
640
|
free(latex);
|
640
641
|
cmark_node_free(doc);
|
@@ -650,30 +651,37 @@ static void render_commonmark(test_batch_runner *runner) {
|
|
650
651
|
"- sed do eiusmod tempor incididunt\n"
|
651
652
|
" ut labore et dolore magna aliqua.\n";
|
652
653
|
cmark_node *doc =
|
653
|
-
|
654
|
+
cmark_parse_document(markdown, sizeof(markdown) - 1, CMARK_OPT_DEFAULT);
|
654
655
|
|
655
|
-
commonmark = cmark_render_commonmark(doc, CMARK_OPT_DEFAULT,
|
656
|
-
STR_EQ(runner, commonmark,
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
" aliqua.\n",
|
656
|
+
commonmark = cmark_render_commonmark(doc, CMARK_OPT_DEFAULT, 26);
|
657
|
+
STR_EQ(runner, commonmark, "> \\- foo *bar* \\*bar\\*\n"
|
658
|
+
"\n"
|
659
|
+
" - Lorem ipsum dolor sit\n"
|
660
|
+
" amet, consectetur\n"
|
661
|
+
" adipiscing elit,\n"
|
662
|
+
" - sed do eiusmod tempor\n"
|
663
|
+
" incididunt ut labore\n"
|
664
|
+
" et dolore magna\n"
|
665
|
+
" aliqua.\n",
|
666
666
|
"render document with wrapping");
|
667
667
|
free(commonmark);
|
668
668
|
commonmark = cmark_render_commonmark(doc, CMARK_OPT_DEFAULT, 0);
|
669
669
|
STR_EQ(runner, commonmark, "> \\- foo *bar* \\*bar\\*\n"
|
670
670
|
"\n"
|
671
|
-
"
|
672
|
-
"
|
673
|
-
"
|
674
|
-
"
|
671
|
+
" - Lorem ipsum dolor sit amet,\n"
|
672
|
+
" consectetur adipiscing elit,\n"
|
673
|
+
" - sed do eiusmod tempor incididunt\n"
|
674
|
+
" ut labore et dolore magna aliqua.\n",
|
675
675
|
"render document without wrapping");
|
676
676
|
free(commonmark);
|
677
|
+
|
678
|
+
cmark_node *text = cmark_node_new(CMARK_NODE_TEXT);
|
679
|
+
cmark_node_set_literal(text, "Hi");
|
680
|
+
commonmark = cmark_render_commonmark(text, CMARK_OPT_DEFAULT, 0);
|
681
|
+
STR_EQ(runner, commonmark, "Hi\n", "render single inline node");
|
682
|
+
free(commonmark);
|
683
|
+
|
684
|
+
cmark_node_free(text);
|
677
685
|
cmark_node_free(doc);
|
678
686
|
}
|
679
687
|
|
@@ -14,38 +14,40 @@
|
|
14
14
|
# EXTERNAL cache entries
|
15
15
|
########################
|
16
16
|
|
17
|
-
//
|
18
|
-
CMAKE_AR:FILEPATH=/usr/bin/ar
|
17
|
+
//Path to a program.
|
18
|
+
CMAKE_AR:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
|
19
19
|
|
20
|
-
//
|
20
|
+
//Choose the type of build, options are: Debug Profile Release
|
21
|
+
// Asan Ubsan.
|
21
22
|
CMAKE_BUILD_TYPE:STRING=Release
|
22
23
|
|
23
|
-
//
|
24
|
+
//Enable/Disable color output during build.
|
24
25
|
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
25
26
|
|
26
|
-
//
|
27
|
-
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
|
27
|
+
//CXX compiler
|
28
|
+
CMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
|
28
29
|
|
29
|
-
//
|
30
|
+
//Flags used by the compiler during all build types.
|
30
31
|
CMAKE_CXX_FLAGS:STRING=
|
31
32
|
|
32
33
|
//Flags used by the C++ compiler during ASan builds.
|
33
34
|
CMAKE_CXX_FLAGS_ASAN:STRING=-O1 -g -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
34
35
|
|
35
|
-
//
|
36
|
+
//Flags used by the compiler during debug builds.
|
36
37
|
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
37
38
|
|
38
|
-
//
|
39
|
+
//Flags used by the compiler during release builds for minimum
|
40
|
+
// size.
|
39
41
|
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
40
42
|
|
41
|
-
//
|
43
|
+
//Flags used by the compiler during release builds.
|
42
44
|
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
43
45
|
|
44
|
-
//
|
46
|
+
//Flags used by the compiler during release builds with debug info.
|
45
47
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
46
48
|
|
47
|
-
//
|
48
|
-
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
49
|
+
//C compiler
|
50
|
+
CMAKE_C_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
|
49
51
|
|
50
52
|
//Flags used by the compiler during all build types.
|
51
53
|
CMAKE_C_FLAGS:STRING=-fPIC
|
@@ -53,112 +55,116 @@ CMAKE_C_FLAGS:STRING=-fPIC
|
|
53
55
|
//Flags used by the C compiler during ASan builds.
|
54
56
|
CMAKE_C_FLAGS_ASAN:STRING=-O1 -g -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
55
57
|
|
56
|
-
//
|
58
|
+
//Flags used by the compiler during debug builds.
|
57
59
|
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
58
60
|
|
59
|
-
//
|
61
|
+
//Flags used by the compiler during release builds for minimum
|
62
|
+
// size.
|
60
63
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
61
64
|
|
62
|
-
//
|
65
|
+
//Flags used by the compiler during release builds.
|
63
66
|
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
64
67
|
|
65
|
-
//
|
68
|
+
//Flags used by the compiler during release builds with debug info.
|
66
69
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
67
70
|
|
68
|
-
//
|
69
|
-
CMAKE_EXE_LINKER_FLAGS:STRING=
|
71
|
+
//Flags used by the linker.
|
72
|
+
CMAKE_EXE_LINKER_FLAGS:STRING=
|
70
73
|
|
71
74
|
//Flags used for linking binaries during ASan builds.
|
72
75
|
CMAKE_EXE_LINKER_FLAGS_ASAN:STRING=-fsanitize=address
|
73
76
|
|
74
|
-
//
|
77
|
+
//Flags used by the linker during debug builds.
|
75
78
|
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
76
79
|
|
77
|
-
//
|
80
|
+
//Flags used by the linker during release minsize builds.
|
78
81
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
79
82
|
|
80
|
-
//
|
83
|
+
//Flags used by the linker during release builds.
|
81
84
|
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
82
85
|
|
83
|
-
//
|
86
|
+
//Flags used by the linker during Release with Debug Info builds.
|
84
87
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
85
88
|
|
86
|
-
//
|
89
|
+
//Enable/Disable output of compile commands during generation.
|
87
90
|
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
88
91
|
|
89
|
-
//
|
92
|
+
//Path to a program.
|
90
93
|
CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool
|
91
94
|
|
92
|
-
//
|
95
|
+
//Install path prefix, prepended onto install directories.
|
93
96
|
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
94
97
|
|
95
|
-
//
|
96
|
-
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
98
|
+
//Path to a program.
|
99
|
+
CMAKE_LINKER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
97
100
|
|
98
|
-
//
|
101
|
+
//Path to a program.
|
99
102
|
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
|
100
103
|
|
101
|
-
//
|
102
|
-
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
104
|
+
//Flags used by the linker during the creation of modules.
|
105
|
+
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
103
106
|
|
104
|
-
//
|
107
|
+
//Flags used by the linker during debug builds.
|
105
108
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
106
109
|
|
107
|
-
//
|
110
|
+
//Flags used by the linker during release minsize builds.
|
108
111
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
109
112
|
|
110
|
-
//
|
113
|
+
//Flags used by the linker during release builds.
|
111
114
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
112
115
|
|
113
|
-
//
|
116
|
+
//Flags used by the linker during Release with Debug Info builds.
|
114
117
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
115
118
|
|
116
|
-
//
|
117
|
-
CMAKE_NM:FILEPATH=/usr/bin/nm
|
119
|
+
//Path to a program.
|
120
|
+
CMAKE_NM:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm
|
118
121
|
|
119
|
-
//
|
122
|
+
//Path to a program.
|
120
123
|
CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND
|
121
124
|
|
122
|
-
//
|
125
|
+
//Path to a program.
|
123
126
|
CMAKE_OBJDUMP:FILEPATH=CMAKE_OBJDUMP-NOTFOUND
|
124
127
|
|
125
|
-
//
|
128
|
+
//Build architectures for OSX
|
126
129
|
CMAKE_OSX_ARCHITECTURES:STRING=
|
127
130
|
|
128
|
-
//
|
131
|
+
//Minimum OS X version to target for deployment (at runtime); newer
|
132
|
+
// APIs weak linked. Set to empty string for default value.
|
129
133
|
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=
|
130
134
|
|
131
|
-
//
|
135
|
+
//The product will be built against the headers and libraries located
|
136
|
+
// inside the indicated SDK.
|
132
137
|
CMAKE_OSX_SYSROOT:STRING=
|
133
138
|
|
134
139
|
//Value Computed by CMake
|
135
140
|
CMAKE_PROJECT_NAME:STATIC=cmark
|
136
141
|
|
137
|
-
//
|
138
|
-
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
142
|
+
//Path to a program.
|
143
|
+
CMAKE_RANLIB:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib
|
139
144
|
|
140
|
-
//
|
141
|
-
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
145
|
+
//Flags used by the linker during the creation of dll's.
|
146
|
+
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
142
147
|
|
143
148
|
//Flags used by the shared libraries linker during ASan builds.
|
144
149
|
CMAKE_SHARED_LINKER_FLAGS_ASAN:STRING=-fsanitize=address
|
145
150
|
|
146
|
-
//
|
151
|
+
//Flags used by the linker during debug builds.
|
147
152
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
148
153
|
|
149
|
-
//
|
154
|
+
//Flags used by the linker during release minsize builds.
|
150
155
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
151
156
|
|
152
|
-
//
|
157
|
+
//Flags used by the linker during release builds.
|
153
158
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
154
159
|
|
155
|
-
//
|
160
|
+
//Flags used by the linker during Release with Debug Info builds.
|
156
161
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
157
162
|
|
158
|
-
//
|
163
|
+
//If set, runtime paths are not added when installing shared libraries,
|
164
|
+
// but are added when building.
|
159
165
|
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
160
166
|
|
161
|
-
//
|
167
|
+
//If set, runtime paths are not added when using shared libraries.
|
162
168
|
CMAKE_SKIP_RPATH:BOOL=NO
|
163
169
|
|
164
170
|
//Flags used by the linker during the creation of static libraries.
|
@@ -176,13 +182,16 @@ CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
|
176
182
|
//Flags used by the linker during Release with Debug Info builds.
|
177
183
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
178
184
|
|
179
|
-
//
|
180
|
-
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
185
|
+
//Path to a program.
|
186
|
+
CMAKE_STRIP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
|
181
187
|
|
182
|
-
//
|
188
|
+
//If true, cmake will use relative paths in makefiles and projects.
|
183
189
|
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
|
184
190
|
|
185
|
-
//
|
191
|
+
//If this value is on, makefiles will be generated without the
|
192
|
+
// .SILENT directive, and all commands will be echoed to the console
|
193
|
+
// during the make. This is useful for debugging only. With Visual
|
194
|
+
// Studio IDE projects all commands are done without /nologo.
|
186
195
|
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
187
196
|
|
188
197
|
//Build cmark tests and enable testing
|
@@ -191,7 +200,7 @@ CMARK_TESTS:BOOL=ON
|
|
191
200
|
//Set the installation directory for libraries.
|
192
201
|
LIB_INSTALL_DIR:STRING=lib
|
193
202
|
|
194
|
-
//
|
203
|
+
//Path to a program.
|
195
204
|
PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python3
|
196
205
|
|
197
206
|
//Use HIDDEN visibility support if available.
|
@@ -216,7 +225,6 @@ libcmark_static_LIB_DEPENDS:STATIC=
|
|
216
225
|
|
217
226
|
//ADVANCED property for variable: CMAKE_AR
|
218
227
|
CMAKE_AR-ADVANCED:INTERNAL=1
|
219
|
-
CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/make
|
220
228
|
//This is the directory where this CMakeCache.txt was created
|
221
229
|
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build
|
222
230
|
//Major version of cmake used to create the current loaded cache
|
@@ -261,7 +269,9 @@ CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
261
269
|
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
262
270
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
263
271
|
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
264
|
-
|
272
|
+
//Path to cache edit program executable.
|
273
|
+
CMAKE_EDIT_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.3.2/bin/ccmake
|
274
|
+
//Executable file format
|
265
275
|
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
|
266
276
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
267
277
|
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
@@ -277,11 +287,16 @@ CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
277
287
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
278
288
|
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
279
289
|
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
290
|
+
//Name of external makefile project generator.
|
291
|
+
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
292
|
+
//Name of generator.
|
280
293
|
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
281
294
|
//Name of generator platform.
|
282
295
|
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
283
296
|
//Name of generator toolset.
|
284
297
|
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
298
|
+
//Source directory with the top level CMakeLists.txt file for this
|
299
|
+
// project
|
285
300
|
CMAKE_HOME_DIRECTORY:INTERNAL=/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark
|
286
301
|
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
|
287
302
|
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
|
@@ -347,15 +362,23 @@ CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
|
|
347
362
|
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
348
363
|
//Compiler support for a deprecated attribute
|
349
364
|
COMPILER_HAS_DEPRECATED:INTERNAL=1
|
365
|
+
//Test COMPILER_HAS_DEPRECATED_ATTR
|
350
366
|
COMPILER_HAS_DEPRECATED_ATTR:INTERNAL=1
|
367
|
+
//Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
|
351
368
|
COMPILER_HAS_HIDDEN_INLINE_VISIBILITY:INTERNAL=1
|
369
|
+
//Test COMPILER_HAS_HIDDEN_VISIBILITY
|
352
370
|
COMPILER_HAS_HIDDEN_VISIBILITY:INTERNAL=1
|
353
371
|
//Details about finding PythonInterp
|
354
372
|
FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/local/bin/python3][v3.5(3)]
|
373
|
+
//Test HAVE_FLAG_ADDRESS_SANITIZER
|
355
374
|
HAVE_FLAG_ADDRESS_SANITIZER:INTERNAL=
|
375
|
+
//Test HAVE_FLAG_SANITIZE_ADDRESS
|
356
376
|
HAVE_FLAG_SANITIZE_ADDRESS:INTERNAL=1
|
377
|
+
//Have include stdbool.h
|
357
378
|
HAVE_STDBOOL_H:INTERNAL=1
|
379
|
+
//Test HAVE___ATTRIBUTE__
|
358
380
|
HAVE___ATTRIBUTE__:INTERNAL=1
|
381
|
+
//Test HAVE___BUILTIN_EXPECT
|
359
382
|
HAVE___BUILTIN_EXPECT:INTERNAL=1
|
360
383
|
//ADVANCED property for variable: PYTHON_EXECUTABLE
|
361
384
|
PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
|