diff --git a/docs/error_knowledge_base.md b/docs/error_knowledge_base.md index 91452681e1..8eb5119c31 100644 --- a/docs/error_knowledge_base.md +++ b/docs/error_knowledge_base.md @@ -300,6 +300,10 @@ According to PEP [263](https://www.python.org/dev/peps/pep-0263/), Unicode liter The file test_package/CMakeLists.txt should require CMake 3.1 by default: `cmake_minimum_required(VERSION 3.1)`. The CMake wrapper file can require CMake 2.8, because Conan recipe and the test package are totally separated. However, if `CMAKE_CXX_STANDARD` or `CXX_STANDARD` is explicit, CMake 3.1 is mandatory. +#### **#KB-H049: "CMAKE WINDOWS EXPORT ALL SYMBOLS"** + +The CMakeLists.txt definitions [CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS](https://cmake.org/cmake/help/v3.4/variable/CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS.html) and [WINDOWS_EXPORT_ALL_SYMBOLS](https://cmake.org/cmake/help/v3.4/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.html) are available since CMake 3.4 only. Any previous version will ignore it. + #### **#KB-H050: "DEFAULT SHARED OPTION VALUE"** By default, all packages should be built as static library (the option ``shared`` is ``False`` in ``default_options``). However, some projects can be restricted to shared library only, for those cases, open a new [issue](https://github.com/conan-io/hooks/issues) to include the package name in the allowlist.