From 7b62c7ee68a86b8acd525e15b03fd7c93a270f96 Mon Sep 17 00:00:00 2001 From: Civitasv Date: Fri, 3 May 2024 22:58:49 +0800 Subject: [PATCH] feat: add getter for generate and build options --- lua/cmake-tools/init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/cmake-tools/init.lua b/lua/cmake-tools/init.lua index 50aa4131..e05d2018 100644 --- a/lua/cmake-tools/init.lua +++ b/lua/cmake-tools/init.lua @@ -1095,6 +1095,14 @@ function cmake.get_launch_targets() return config:launch_targets() end +function cmake.get_generate_options() + return config:generate_options() +end + +function cmake.get_build_options() + return config:build_options() +end + --[[ end ]] function cmake.configure_compile_commands()