diff options
author | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-03-18 01:49:23 +0300 |
---|---|---|
committer | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-03-18 01:49:23 +0300 |
commit | 6184ca819279c7e44f470a731fcca3d469f40a01 (patch) | |
tree | 4f51162ca534935c2cbbf404c08ea1c51359340b /lua/cmake-explorer/config.lua | |
parent | d36594025727d32b6580f188a4c0476aaeecfd77 (diff) |
feat: new CMakeConfigureLast and CMakeConfigureDir commands. CMakeConfigure and CMakeConfigureDir now have vim.ui.* interface to edit
Diffstat (limited to 'lua/cmake-explorer/config.lua')
-rw-r--r-- | lua/cmake-explorer/config.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/cmake-explorer/config.lua b/lua/cmake-explorer/config.lua index 4e1740d..b44c7cd 100644 --- a/lua/cmake-explorer/config.lua +++ b/lua/cmake-explorer/config.lua @@ -1,8 +1,9 @@ local default_config = { cmake_cmd = "cmake", - build_dir_template = "build-{buildType}", + build_dir_template = { "build", "${buildType}", sep = "-", case = nil }, + build_dir = ".", build_types = { "Debug", "Release" }, - options = { "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" }, + options = {}, } local M = vim.deepcopy(default_config) |