vim to neovim
This commit is contained in:
18
vim/.vim/UltiSnips/cmake.snippets
Normal file
18
vim/.vim/UltiSnips/cmake.snippets
Normal file
@ -0,0 +1,18 @@
|
||||
snippet base "Cmake Init" b
|
||||
cmake_minimum_required(VERSION ${1:3.12})
|
||||
project(${2:${VISUAL:project}})
|
||||
|
||||
# Generate compile_commands.json
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# Dependencies
|
||||
# find_package(package 0.0.1 REQUIRED)
|
||||
|
||||
# Project configurations
|
||||
add_executable(${PROJECT_NAME})
|
||||
add_subdirectory(src)
|
||||
|
||||
# target_link_libraries(${PROJECT_NAME} package)
|
||||
|
||||
endsnippet
|
||||
|
Reference in New Issue
Block a user