diff options
Diffstat (limited to '.config/nvim/lua/overseer/template/custom')
| -rw-r--r-- | .config/nvim/lua/overseer/template/custom/cmake_build.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/lua/overseer/template/custom/cmake_build.lua b/.config/nvim/lua/overseer/template/custom/cmake_build.lua index cb321a0..4c18627 100644 --- a/.config/nvim/lua/overseer/template/custom/cmake_build.lua +++ b/.config/nvim/lua/overseer/template/custom/cmake_build.lua @@ -5,10 +5,11 @@ return { builder = function(_) local filename = vim.fn.expand('%:p') local root_dir = root_pattern(filename) or vim.fn.getcwd() + local args = vim.g.overseer_cmake_extra_args or '' return { name = 'Cmake', - cmd = 'cmake .. && cmake --build .', + cmd = 'cmake ' .. args .. '.. && cmake --build .', cwd = root_dir .. '/build', } end, |
