aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-03-08 06:56:10 +1000
committerfuzzard <fuzzard@kodi.tv>2022-05-23 15:57:17 +1000
commit0ff12d6cc391a4e48fce554790ba41acbcf5f036 (patch)
tree5a14f4832ece9ba039e1b19c3637997652661ad0 /docs
parentffd5dae3489d7b74e6a42ffddd2280cb705b67a1 (diff)
[cmake] BUILD_DEP_TARGET Provide buildtype for cmake build
Provides build_type to internal build targets that use cmake. Allows a target to override (set <MODULE>_BUILD_TYPE) or to use the projects build type
Diffstat (limited to 'docs')
-rw-r--r--docs/README.Linux.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/README.Linux.md b/docs/README.Linux.md
index 287446acf3..e6257caf6a 100644
--- a/docs/README.Linux.md
+++ b/docs/README.Linux.md
@@ -120,6 +120,7 @@ sudo make -C tools/depends/target/waylandpp PREFIX=/usr/local
### 3.2. Enable internal dependencies
Some dependencies can be configured to build before Kodi. That's the case with `flatbuffers`, `crossguid`, `libfmt`, `libspdlog`, `rapidjson`, `fstrcmp` and `dav1d`. To enable the internal build of a dependency, append `-DENABLE_INTERNAL_<DEPENDENCY_NAME>=ON` to the configure command below. For example, configuring an X11 build with internal `fmt` would become `cmake ../kodi -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_FMT=ON` instead of `cmake ../kodi -DCMAKE_INSTALL_PREFIX=/usr/local`.
+Internal dependencies that are based on cmake upstream (currently crossguid, ffmpeg, fmt, spdlog) can have their build type overridden by defining `-D<DEPENDENCY_NAME>_BUILD_TYPE=<buildtype>`. Build Type can be one of `Release, RelWithDebInfo, Debug, MinSizeRel`. eg `-DFFMPEG_BUILD_TYPE=RelWithDebInfo`. If not provided, the build type will be the same as the core Kodi project.
**Note:** fstrcmp requires libtool