CMakeLists.txt


Log

Author Commit Date CI Message
Martin Mitas dec252d4 2024-01-21T10:39:06 Bump version 0.5.1 and update CHANGELOG.md.
Martin Mitas 481230f4 2024-01-15T08:34:21 Bump version to 0.5.0.
Dylan Deng ecce1715 2024-01-09T18:30:01 add build option for md2html executable (#184) Fixes build error for iOS, you can set BUILD_MD2HTML_EXECUTABLE as OFF Signed-off-by: Dylan <2894220@gmail.com> Co-authored-by: Martin Mitáš <mity@morous.org>
Martin Mitas bf2e7d30 2024-01-08T18:19:26 Require CMake 3.5 or newer. The recent versions of CMake started to warn about compatibility with older CMake versions than 3.5.
Kai Koehne e8285942 2021-06-14T09:47:17 Fix MSVC compiler level 3 warnings (#162) Fix various C4244 warnings with the MSVC compiler for 64 bit
Martin Mitas c3340b48 2021-05-11T12:33:15 Bump version to 0.4.8.
Martin Mitas aa63198b 2020-12-24T15:04:35 Bump version to 0.4.7.
Martin Mitas db7d1c92 2020-08-16T10:56:19 Bump version to 0.4.5.
Martin Mitas 7021024d 2020-05-29T17:21:21 Bump version to 0.4.4.
Martin Mitas 2728b9eb 2020-04-20T19:37:18 Move md2html utility to a standalone dir.
Martin Mitas 77c2669b 2019-08-09T10:15:05 Update generating pkgconfig .pc files. * Output also package URL. * Output also package description. * Output also package version. * Generate .pc file for the new renderer lib.
Martin Mitas 7f2d880f 2019-08-09T09:50:24 Refactor dir structure. We place all the sources in the single directory in order to not having many dirs with too few sources.
Martin Mitas 9b101afd 2020-02-17T12:15:21 Bump version 0.4.3.
Martin Mitas 4e2b37e4 2019-11-29T12:58:41 Bump version to 0.4.2.
Martin Mitas 78764217 2019-11-04T15:36:51 Bump version to 0.4.1 and fix CHANGELOG.md.
Martin Mitas a6b37216 2019-11-04T15:30:17 Bump version to 0.4.0.
Martin Mitas 410bb419 2019-06-19T17:04:48 Bump version to 0.3.4.
Martin Mitas 04c65c4c 2019-05-13T10:45:38 Build: Improve CMakeLists.txt compatibility with MSVC 2017.
Martin Mitas d7a8ede0 2019-05-10T10:36:45 Bump version to 0.3.3.
Martin Mitas 19504cad 2019-04-29T22:24:23 Revert "Build: With gcc and clang, enforce -std=c90." This reverts commit 716b6ca4448318df900eb22bb7a31499a827d905. Rationale: snprintf() not available in C90, so -std=c90 causes warnings on Linux.
Martin Mitas 716b6ca4 2019-04-17T15:01:03 Build: With gcc and clang, enforce -std=c90. See #71. This forces us to be more conservative in the future code changes, and make us more friendly mainly to some embedded compilers who are often behind the current state of art. Fix also related warnings and errors, as provided by gcc 8.1.0.
Martin Mitas 7a6bf33c 2019-04-08T19:56:23 Bump version to 0.3.2
Martin Mitas 2670043f 2019-03-13T07:50:34 Bump version to 0.3.1
Martin Mitas 00a70fea 2019-02-10T22:59:49 Bump version to 0.3.0
Martin Mitas bfca107d 2019-02-08T09:23:20 Build: Allow again building MD4C as static lib. * On Windows, we build static lib by default, as there is no /usr/lib counterpart. * On other systems the shared lib is the default. * Use option BUILD_SHARED_LIBS to override it: $ cmake -DBUILD_SHARED_LIBS=ON path_to_root # to build shared lib $ cmake -DBUILD_SHARED_LIBS=OFF path_to_root # to build static lib
Lisandro Damián Nicanor Pérez Meyer 5f33d933 2019-02-07T15:54:25 Build md4c as a shared library. (#49) Build md4c as a shared library. - Define the current version in the main CMakeLists.txt, so it can be used within the project. - Define VERSION, SOVERSION and PUBLIC_HEADER as target properties. - Be able to install both libmd4c and md2html. - Create a pkg-config file. Fixes #48
Craig Barnes e6a51bd6 2018-07-12T03:37:09 Add "-Wall" to CFLAGS when using Clang as compiler See also: * https://cmake.org/cmake/help/v3.12/variable/CMAKE_LANG_COMPILER_ID.html * https://cmake.org/cmake/help/v3.12/variable/CMAKE_COMPILER_IS_GNUCC.html
Martin Mitas 17ad25ee 2017-08-03T11:59:25 CMakeLists.txt: Do not force -O2 in the release build. With newer gcc (7.1), -O3 and -O2 makes real difference in the resulted performance. On my Linux machine it makes about 10% when tested with Cmark's `make bench`.
Martin Mitas 96a92808 2016-11-26T14:00:40 CMakeLists.txt: By default, do Release build.
Martin Mitas 818dd387 2016-10-03T20:38:11 Do not change build output dir. It causes filename coflict on Unix systems: Linker cannot output 'md2html' if a subdirectory of the same name exists.
Martin Mitas efed58af 2016-10-03T20:17:15 Initial commit.