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
Set in global config for the plugin cmake_build_directory = "build/${kit}/${kitGenerator}/${variant:buildType}",
Before:
switch kit ( i.e. was gcc v13. now clang v16 )
new dir in build ( was build/GCC ...v13//Debug/... , + new folder build/Clang ...v16//Debug/... )
there's results with another kit in another folder ( i.e. in build/Clang ...v16//Debug)
Now:
switch kit
no new dir ( what's interesting it seems it saves path not in ~/.cache/cmake_tools_nvim/pathtoproject.lua, because I can't explain why it saves the value no matter deleting session file in the mentioned folder)
yep, kit is changed, though build dir name is not ( using the same folder. i.e. continuing using gcc's build folder, instead of clang )
Expected behavior
One of the following:
document the behaviour
"return" behaviour.
if return behaviour, there's maybe such solution:
by default, copy pattern from global config's cmake_build_directory to session's settings build_options
allow it to be expanded by all of this. ( It seems to work already ! )
maybe add capability of copying of the pattern ( if it existed before in the session settings build_options ) when :CMakeSelectBuildDir
Screenshots
Environment
OS: a linux with neovim v0.9.4 and LuaJIT 2.1.1700008891
Bug description
Changed behaviour with a last update:
Steps to reproduce
Minimal configuration
cmake_build_directory = "build/${kit}/${kitGenerator}/${variant:buildType}",
build/GCC ...v13//Debug/...
, + new folderbuild/Clang ...v16//Debug/...
)build/Clang ...v16//Debug
)~/.cache/cmake_tools_nvim/pathtoproject.lua
, because I can't explain why it saves the value no matter deleting session file in the mentioned folder)Expected behavior
One of the following:
if return behaviour, there's maybe such solution:
cmake_build_directory
to session's settingsbuild_options
build_options
) when:CMakeSelectBuildDir
Screenshots
Environment
Additional context
The text was updated successfully, but these errors were encountered: