From 6246447e21982bbaada1cb75d4b1c47f3323282d Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 5 Jul 2017 11:25:48 +0100 Subject: [PATCH] vim/ultisnips: snippet to print cmake debug info --- vim/ultisnips/cmake.snippets | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vim/ultisnips/cmake.snippets b/vim/ultisnips/cmake.snippets index 1a2db7a..b3e8861 100644 --- a/vim/ultisnips/cmake.snippets +++ b/vim/ultisnips/cmake.snippets @@ -78,3 +78,15 @@ set_target_properties(${1:target} ${2:PROPERTIES} ${3:COMPILE_FLAGS} ${0:"-O3 -Wall -pedantic"} ) endsnippet + +snippet debug_targets "Debug targets" b +set(CMAKE_DEBUG_TARGET_PROPERTIES + INCLUDE_DIRECTORIES + COMPILE_DEFINITIONS + COMPILE_OPTIONS + COMPILE_FEATURES + AUTOUIC_OPTIONS + SOURCES + POSITION_INDEPENDENT_CODE +) +endsnippet -- 2.48.1