You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And attention, when you firstly enter a new project, a session file for this project will be created, and cmake_generate_options, cmake_build_options, cmake_build_directory in your configuration will be used to initialize some fields of it. Then, if you reopen this project, it will reuse this session file to initialize these fields, or, you can think this project has its own settings, so if you change the values in global configuration, it will not reflect on these projects, you should refresh these fields by your own. Also see session docs and issue #162.
Now if you set cmake_build_directory = "out/${variant:buildType}" in global configuration, it will be saved in the session file as follow:
So that it still works if you change build type. But if you change cmake_build_directory in the global configuration later, it will not reflect on this project.
Bug description
The variable
${variant:buildType}
resolution does seem to be broken since : 60c4737cmake_build_directory = "build/${kit}/${variant:buildType}",
${variant:buildType}
is always resolved to Release even when setting the build type to Debug.Steps to reproduce
Expected behavior
${variant:buildType}
should be resolved to Debug if it has been selected as the build type.Environment
Additional context
The text was updated successfully, but these errors were encountered: