From: Samir Benmendil Date: Wed, 5 Jul 2017 10:25:48 +0000 (+0100) Subject: vim/ultisnips: snippet to print cmake debug info X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/6246447e21982bbaada1cb75d4b1c47f3323282d?ds=sidebyside vim/ultisnips: snippet to print cmake debug info --- 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