diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-07-10 20:25:01 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-07-10 20:25:01 +0300 |
commit | 183084a9e854ff627467279384330750016bad92 (patch) | |
tree | ba40a940aee6b036b34d0ca01da222a95a26e98b /docs/markdown/snippets/cmake_build_type.md | |
parent | 07777c725cf82a5ef4bb5c6d33fdcdbe3d688464 (diff) | |
download | meson-183084a9e854ff627467279384330750016bad92.zip meson-183084a9e854ff627467279384330750016bad92.tar.gz meson-183084a9e854ff627467279384330750016bad92.tar.bz2 |
Release 1.5.0 time.1.5.0
Diffstat (limited to 'docs/markdown/snippets/cmake_build_type.md')
-rw-r--r-- | docs/markdown/snippets/cmake_build_type.md | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/docs/markdown/snippets/cmake_build_type.md b/docs/markdown/snippets/cmake_build_type.md deleted file mode 100644 index af9e84d..0000000 --- a/docs/markdown/snippets/cmake_build_type.md +++ /dev/null @@ -1,15 +0,0 @@ -## Meson now propagates its build type to CMake - -When the CMake build type variable, `CMAKE_BUILD_TYPE`, is not set via the -`add_cmake_defines` method of the [`cmake options` object](CMake-module.md#cmake-options-object), -it is inferred from the [Meson build type](Builtin-options.md#details-for-buildtype). -Build types of the two build systems do not match perfectly. The mapping from -Meson build type to CMake build type is as follows: - -- `debug` -> `Debug` -- `debugoptimized` -> `RelWithDebInfo` -- `release` -> `Release` -- `minsize` -> `MinSizeRel` - -No CMake build type is set for the `plain` Meson build type. The inferred CMake -build type overrides any `CMAKE_BUILD_TYPE` environment variable. |