/cmake-conan

CMake wrapper for conan C and C++ package manager

Primary LanguagePythonMIT LicenseMIT

cmake-conan

This is branch of https://github.com/conan-io/cmake-conan/tree/develop2

Differences betten this branch and conan-io/cmake-conan develop2 branch

  • This branch does not require CMake 3.24 - it can run older cmake versions
  • Usage does not require setting CMAKE_PROJECT_TOP_LEVEL_INCLUDES variable
  • Script conan-provider.cmake can be included after first project call
  • All conan arguments can be set with CONAN_ARGS variable

To do

  • Does not require Conan 3.24
  • Does not require CMAKE_PROJECT_TOP_LEVEL_INCLUDES variable to work
  • Allow setting conanfile.txt/conanfile.py location
  • Implement find_program, find_library, find_path, find_file functions
  • Write unit tests for added changes
  • Test code with pytest to see if changes did not broke the code.

Known limitations

For now the same limitations apply to this code as in orginal code.

Development, contributors

There are some tests, you can run in python, with pytest, for example:

$ pytest -rA