This is branch of https://github.com/conan-io/cmake-conan/tree/develop2
- This branch does not require CMake 3.24 - it can run older cmake versions
- Usage does not require setting
CMAKE_PROJECT_TOP_LEVEL_INCLUDESvariable - Script
conan-provider.cmakecan be included after firstprojectcall - All conan arguments can be set with
CONAN_ARGSvariable
- Does not require Conan 3.24
- Does not require
CMAKE_PROJECT_TOP_LEVEL_INCLUDESvariable to work - Allow setting
conanfile.txt/conanfile.pylocation - Implement
find_program,find_library,find_path,find_filefunctions - Write unit tests for added changes
- Test code with
pytestto see if changes did not broke the code.
For now the same limitations apply to this code as in orginal code.
There are some tests, you can run in python, with pytest, for example:
$ pytest -rA