This is a simple need of selecting build type when calling conan build.
Normally we have to call conan install
with the desired build type and then conan build
with the following commands :
conan install conanfile.py install -s build_type=Debug
conan build conanfile.py
I have seen that we can force conan to do an install with the build command using --intall
. I have tried the following command but it does not update the settings.build_type
value.
conan build conanfile.py --install -s build_type=Release
Does any one have an idea how to change the build type with conan build
command or at least pass a variables to be checked later in the conanfile.py
Thanks in advance