12 lines
517 B
Lua
12 lines
517 B
Lua
require("cmake-tools").setup({
|
|
cmake_command = "cmake",
|
|
cmake_build_directory = "build",
|
|
cmake_build_type = "Debug",
|
|
cmake_generate_options = { "-D", "CMAKE_EXPORT_COMPILE_COMMANDS=1" },
|
|
cmake_build_options = {},
|
|
cmake_console_size = 10, -- cmake output window height
|
|
cmake_show_console = "always", -- "always", "only_on_error"
|
|
cmake_dap_configuration = { name = "cpp", type = "codelldb", request = "launch" }, -- dap configuration, optional
|
|
cmake_dap_open_command = require("dap").repl.open, -- optional
|
|
})
|