X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/7069fb50f04a8df46fdab42732e82e9e2c4389a2..ccdacf21dc7d84e54dc22e5398d5ecb4fb2912ec:/vim/ultisnips/cmake.snippets?ds=sidebyside diff --git a/vim/ultisnips/cmake.snippets b/vim/ultisnips/cmake.snippets index 1983d60..318bf56 100644 --- a/vim/ultisnips/cmake.snippets +++ b/vim/ultisnips/cmake.snippets @@ -97,3 +97,25 @@ set(CMAKE_DEBUG_TARGET_PROPERTIES POSITION_INDEPENDENT_CODE ) endsnippet + +snippet FPP "FPP Copyright" b +# Copyright © Focal Point Positioning Limited `!v strftime("%Y")`. All Rights Reserved. +# This code is the copyright of Focal Point Positioning Limited and +# cannot be used, copied or distributed without the express written +# permission of Focal Point Positioning Limited. +${0} +endsnippet + +snippet FetchContent_url "FetchContent" b +FetchContent_Declare(${1:name} + URL ${2:https://example.com/project.tar.gz} +) +FetchContent_MakeAvailable(${1/\w+/\L$0\E/}) +endsnippet + +snippet FetchContent_git "FetchContent" b +FetchContent_Declare(${1:name} + GIT_REPOSITORY ${2:https://github.com/${3:user/repo}} +) +FetchContent_MakeAvailable(${1/\w+/\L$0\E/}) +endsnippet