-
Notifications
You must be signed in to change notification settings - Fork 0
/
templates.py
91 lines (63 loc) · 1.7 KB
/
templates.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
rootproject = \
'''# This file is managed by proj.
cmake_minimum_required(VERSION 3.0)
# --== proj begin rootproject ==--
# --== proj begin projectname ==--
project()
# --== proj end projectname ==--
# --== proj begin definitions ==--
# --== proj end definitions ==--
# --== proj begin subdirs ==--
# --== proj end subdirs ==--
# --== proj end rootproject ==--
'''
executable = \
'''# This file is managed by proj.
cmake_minimum_required(VERSION 3.0)
# --== proj begin executable ==--
# --== proj begin projectname ==--
project()
# --== proj end projectname ==--
# --== proj begin addexe ==--
add_executable(
# --== proj begin exename ==--
# --== proj end exename ==--
# --== proj begin sources ==--
# --== proj end sources ==--
# --== proj begin headers ==--
# --== proj end headers ==--
)
# --== proj end addexe ==--
# --== proj begin definitions ==--
# --== proj end definitions ==--
# --== proj begin linklibs ==--
# --== proj end linklibs ==--
# --== proj begin subdirs ==--
# --== proj end subdirs ==--
# --== proj end executable ==--
'''
library = \
'''# This file is managed by proj.
cmake_minimum_required(VERSION 3.0)
# --== proj begin library ==--
# --== proj begin projectname ==--
project()
# --== proj end projectname ==--
# --== proj begin addlib ==--
add_library(
# --== proj begin libname ==--
# --== proj end libname ==--
# --== proj begin sources ==--
# --== proj end sources ==--
# --== proj begin headers ==--
# --== proj end headers ==--
)
# --== proj end addlib ==--
# --== proj begin definitions ==--
# --== proj end definitions ==--
# --== proj begin subdirs ==--
# --== proj end subdirs ==--
# --== proj begin exports ==--
# --== proj end exports ==--
# --== proj end library ==--
'''