project_options icon indicating copy to clipboard operation
project_options copied to clipboard

Macro for installing conan

Open avimalka opened this issue 2 years ago • 3 comments

Hi,

I was wondering if there is any reason why there is no install_conan() macro (similar to run_vcpkg() )? Sometimes I use machines that do not have conan installed and it will be nice to have an option to install it automatically.

(If my suggestion is acceptable I already have some macro I use, And I would very much like to port it to project_options)

avimalka avatar Dec 18 '22 16:12 avimalka

There is, but not documented. We should document it.

run_conan()

aminya avatar Dec 19 '22 00:12 aminya

What I mean is installing conan - the actual command (e.g pip install conan) It seems like run_conan() only installs conan-cmake

avimalka avatar Dec 19 '22 05:12 avimalka

For installing the development tools (e,g. Conan itself), we use setup-cpp.

aminya avatar Dec 19 '22 19:12 aminya