From 77e0008a1fede82851fdf13438619cb62e61c297 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Wed, 18 Dec 2019 15:32:13 +0100 Subject: cmake: Fix obeject libraries This fixes an issue with generated sources and object libraries, as well as an issue on windows with the `link` linker and the vs backend. The last issue is resolved by building the source files multiple times to avoid extracting object files in meson. --- docs/markdown/snippets/cmake_improvements.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/markdown/snippets/cmake_improvements.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/cmake_improvements.md b/docs/markdown/snippets/cmake_improvements.md new file mode 100644 index 0000000..95f30cc --- /dev/null +++ b/docs/markdown/snippets/cmake_improvements.md @@ -0,0 +1,11 @@ +## Improved CMake subprojects support + +With this release even more CMake projects are supported via +[CMake subprojects](CMake-module.md#cmake-subprojects) due to these internal +improvements: + +- Use the CMake file API for CMake >=3.14 +- Handle the explicit dependencies via `add_dependency` +- Basic support for `add_custom_target` +- Improved `add_custom_command` support +- Object library support on Windows -- cgit v1.1