Merge remote-tracking branch 'conan/master' into docs/toc

This commit is contained in:
jgsogo
2020-08-11 14:22:20 +02:00
23 changed files with 836 additions and 6 deletions

View File

@@ -294,4 +294,8 @@ The CMake definition CMAKE_VERBOSE_MAKEFILE helps for debugging when developing,
#### **<a name="KB-H047">#KB-H047</a>: "NO ASCII CHARACTERS"**
According to PEP [263](https://www.python.org/dev/peps/pep-0263/), Unicode literals should only appear in Python code if the encoding is declared on one of the first two lines of the source file. Without such a declaration, any Unicode literal will cause a syntax error for Python 2 interpreters.
According to PEP [263](https://www.python.org/dev/peps/pep-0263/), Unicode literals should only appear in Python code if the encoding is declared on one of the first two lines of the source file. Without such a declaration, any Unicode literal will cause a syntax error for Python 2 interpreters.
#### **<a name="KB-H048">#KB-H048</a>: "CMAKE VERSION REQUIRED"**
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.