| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
build: CMake improvements This patch improves and modernizes the CMake build scripts in multiple ways, while also fixing some bugs: - Requirements like include directories, compile definitions, and libraries are now assigned to targets explicitly. This has the benefits of propagating requirements transitively, which is especially helpful when using md4c as a subproject or via the CMake Config files. - The new project() syntax is used, meaning that manually splitting the version number in different MD_VERSION_* variables is no longer needed. I also made use of the HOMEPAGE_URL option, which requires CMake 3.12. This can be reverted in case compatibility with older CMake versions is desired. - Changed ifs to use variables instead of explicitly evaluating them with `${}` syntax. - Dropped the `MD4C_USE_UTF8` compile definition from CMake code, so that users can more easily override the default. UTF-8 is used by default automatically if no relevant definition is found since commit 64bf660aabd3fb1e4f0ae879a7beabd0cbbbefb3. - Changed `DEBUG` to only be defined when compiling md4c in debug mode via a generator expression (documented in <https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#build-configurations>). - Different include directory paths are when building and when installing the md4c and md4c-html targets, thanks to a generator expression (documented in <https://cmake.org/cmake/help/latest/command/target_include_directories.html>). This makes the `INCLUDES DESTINATION` `install()` option redundant, and has been removed. | 2 个月前 | |
Update links to https | 1 个月前 | |
Update links to https | 1 个月前 | |
Add new options to man page and cleanup md2html --help (#362) * Add new options to man page * Cleanup md2html --help | 1 个月前 | |
Add highlight span extension (#357) | 1 个月前 |