Skip to content

Commit b88af4a

Browse files
author
Jan Claussen
committed
Update CMakeLists.txt template
1 parent 383688c commit b88af4a

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

tags

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
2+
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
3+
!_TAG_PROGRAM_AUTHOR Darren Hiebert /[email protected]/
4+
!_TAG_PROGRAM_NAME Exuberant Ctags //
5+
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
6+
!_TAG_PROGRAM_VERSION 5.9~svn20110310 //
7+
AutoInitializeTemplate plugin/templates.vim /^function <SID>AutoInitializeTemplate()$/;" f
8+
EscapeTemplate plugin/templates.vim /^function <SID>EscapeTemplate(tmpl)$/;" f
9+
ExpandAllTemplates plugin/templates.vim /^function <SID>ExpandAllTemplates()$/;" f
10+
ExpandAuthoringTemplates plugin/templates.vim /^function <SID>ExpandAuthoringTemplates()$/;" f
11+
ExpandFilePathTemplates plugin/templates.vim /^function <SID>ExpandFilePathTemplates()$/;" f
12+
ExpandLanguageTemplates plugin/templates.vim /^function <SID>ExpandLanguageTemplates()$/;" f
13+
ExpandLicenseFile plugin/templates.vim /^function <SID>ExpandLicenseFile()$/;" f
14+
ExpandLicenseTemplates plugin/templates.vim /^function <SID>ExpandLicenseTemplates()$/;" f
15+
ExpandOtherTemplates plugin/templates.vim /^function <SID>ExpandOtherTemplates()$/;" f
16+
ExpandTemplate plugin/templates.vim /^function <SID>ExpandTemplate(tmpl, value)$/;" f
17+
ExpandTimestampTemplates plugin/templates.vim /^function <SID>ExpandTimestampTemplates()$/;" f
18+
InitializeTemplate plugin/templates.vim /^function <SID>InitializeTemplate(...)$/;" f
19+
InitializeTemplateForExtension plugin/templates.vim /^function <SID>InitializeTemplateForExtension(filepart, template_path)$/;" f
20+
MoveCursor plugin/templates.vim /^function <SID>MoveCursor()$/;" f
21+
PrepareCamelClass plugin/templates.vim /^function <SID>PrepareCamelClass(str)$/;" f
22+
PrepareMacro plugin/templates.vim /^function <SID>PrepareMacro(str)$/;" f
23+
PrepareSnakeClass plugin/templates.vim /^function <SID>PrepareSnakeClass(str)$/;" f
24+
TemplateAutoInit plugin/templates.vim /^command -nargs=0 TemplateAutoInit :call <SID>AutoInitializeTemplate()$/;" c
25+
TemplateExpand plugin/templates.vim /^command -nargs=0 TemplateExpand :call <SID>ExpandAllTemplates()$/;" c
26+
TemplateInit plugin/templates.vim /^command -nargs=? TemplateInit :call <SID>InitializeTemplate(<f-args>)$/;" c
27+
TryReadSettings plugin/templates.vim /^function <SID>TryReadSettings(template_path)$/;" f
28+
g:tmpl_auto_initialize plugin/templates.vim /^ let g:tmpl_auto_initialize = 1$/;" v
29+
g:vt_plugin_loaded plugin/templates.vim /^let g:vt_plugin_loaded = 1$/;" v
30+
s:default_template_directory plugin/templates.vim /^let s:default_template_directory = expand('<sfile>:p:h:h') . '\/templates'$/;" v
31+
s:settings_file plugin/templates.vim /^let s:settings_file = "tmpl_settings.vim"$/;" v

templates/CMakeLists.txt.template

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# @created : {{TIMESTAMP}}
55
######################################################################
66

7-
cmake_minimum_required(VERSION 2.8)
7+
cmake_minimum_required(VERSION 3.22)
88
project({{CURSOR}} C)
99

10-
add_executable(main main.c)
10+
add_executable(main main.cpp)

0 commit comments

Comments
 (0)