Need some build wrapper or tool to set up build environment
It is possible to install cmake using conan, without compilation. This frees us from restrictions imposed by distributions. However, the path where cmake gets installed needs to be propagated into the user environment.
Tests with the container set up are promising, but we need a solution for developers and users.
Documentation: https://docs.conan.io/en/latest/devtools/running_packages.html
We have to decide which generator works better for us: virtualrunenv
or deploy
. I use deploy
in containers, since it provides a predictable installation path instead of depending on scripts to set up the environment.
conan install cmake/${cmake_version}@ -g deploy