Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
93 lines
1.6 KiB
Plaintext
93 lines
1.6 KiB
Plaintext
snippet new_project
|
|
options head
|
|
project(${1:project_name})
|
|
|
|
set(${2:PROJECT}_VERSION_MAJOR 0)
|
|
set($2_VERSION_MINOR 0)
|
|
set($2_VERSION_TEENY 1)
|
|
set(PACKAGE_VERSION "${$2_VERSION_MAJOR}.${$2_VERSION_MINOR}.${$2_VERSION_TEENY}")
|
|
|
|
cmake_minimum_required(VERSION ${3:2.8})
|
|
|
|
${0}
|
|
|
|
snippet if
|
|
abbr if() endif()
|
|
options head
|
|
if(${1:#:condition})
|
|
${0}
|
|
endif()
|
|
|
|
snippet if_else
|
|
abbr if() else() endif()
|
|
options head
|
|
if(${1:#:condition})
|
|
${2}
|
|
else()
|
|
${3}
|
|
endif()
|
|
|
|
snippet foreach
|
|
abbr foreach() endforeach()
|
|
options head
|
|
foreach(${1:item} ${2:items})
|
|
${3}
|
|
endforeach($1)
|
|
|
|
snippet macro
|
|
abbr macro() endmacro()
|
|
options head
|
|
macro(${1:name} ${2:args})
|
|
${3}
|
|
endmacro($1)
|
|
|
|
snippet function
|
|
abbr function() endfunction()
|
|
options head
|
|
function(${1:name} ${2:args})
|
|
${3}
|
|
endfunction($1)
|
|
|
|
snippet message
|
|
abbr message("...")
|
|
options head
|
|
message("${1}")
|
|
|
|
snippet status_message
|
|
abbr message(STATUS "...")
|
|
options head
|
|
message(STATUS "${1}")
|
|
|
|
snippet warning_message
|
|
abbr message(WARNING "...")
|
|
options head
|
|
message(WARNING "${1}")
|
|
|
|
snippet author_warning_message
|
|
abbr message(AUTHOR_WARNING "...")
|
|
options head
|
|
message(AUTHOR_WARNING "${1}")
|
|
|
|
snippet send_error_message
|
|
abbr message(SEND_ERROR "...")
|
|
options head
|
|
message(SEND_ERROR "${1}")
|
|
|
|
snippet fatal_error_message
|
|
abbr message(FATAL_ERROR "...")
|
|
options head
|
|
message(FATAL_ERROR "${1}")
|
|
|
|
snippet while
|
|
abbr while() endwhile()
|
|
options head
|
|
while(${1:#:condition})
|
|
${2}
|
|
endwhile()
|
|
|
|
snippet file_GLOBE_RECURSE
|
|
abbr file(GLOB_RECURSE ...)
|
|
options head
|
|
file(GLOB_RECURSE ${1:#:var} ${2:#:glob_paths})
|
|
|