conan.tools.cmake
Warning
These tools are still experimental (so subject to breaking changes) but with very stable syntax. We encourage the usage of it to be prepared for Conan 2.0.
You can use conan new hello/0.1 --template=cmake_lib
and conan new hello/0.1 --template=cmake_exe
templates
to try this CMake integration.