forked from cginternals/cmake-init
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ADAPT
97 lines (66 loc) · 3.17 KB
/
ADAPT
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
92
93
94
95
96
97
To adapt this template to your own project, follow these steps:
--------------------------------------------------------------------
In the root directory adapt/change/do the following:
[ ] Edit AUTHORS
[ ] Edit LICENSE
[ ] Edit README.md
[ ] Edit GitConfig (origin etc.)
[ ] Rename template-config.cmake -> <project>-config.cmake
<project>-config.cmake:
[ ] Substitute template -> <project>
[ ] Substitute TEMPLATE -> <PROJECT>
CMakeLists.txt:
[ ] Set META_PROJECT_*
[ ] Set META_VERSION_*
[ ] Set META_AUTHOR_*
[ ] Adjust INSTALL_* to the desired install locations for all systems (defaults should be fine for a start)
[ ] Substitute template-config.cmake -> <project>-config.cmake
--------------------------------------------------------------------
--------------------------------------------------------------------
In subdirectory "./source/" do:
[ ] Rename source/template-version.h.in -> source/<project>-version.h.in
source/CMakeLists.txt:
[ ] Substitute template -> <project>
source/<project>-version.h.in:
[ ] Substitute TEMPLATE -> <PROJECT>
--------------------------------------------------------------------
--------------------------------------------------------------------
In subdirectory "./source/fiblib" do:
source/fiblib/CMakeLists.txt:
[ ] Substitute TEMPLATE_STATIC -> <PROJECT>_STATIC
--------------------------------------------------------------------
--------------------------------------------------------------------
In subdirectory "./source/fiblib/include/fiblib" do:
source/fiblib/include/fiblib/fiblib_api.h:
[ ] Substitute TEMPLATE_STATIC -> <PROJECT>_STATIC
--------------------------------------------------------------------
--------------------------------------------------------------------
In subdirectory "./source/fibcmd" do:
source/fibcmd/main.cpp:
[ ] Substitute template-version.h -> <project>-version.h
[ ] Substitute TEMPLATE_VERSION -> <PROJECT>_VERSION
--------------------------------------------------------------------
--------------------------------------------------------------------
In subdirectory "./packages/" do:
packages/CMakeLists.txt:
[ ] Substitute pack-template.cmake -> pack-<project>.cmake
[ ] Exchange packages/logo.ico
[ ] Exchange packages/logo.bmp
[ ] Rename packages/pack-template.cmake -> packages/pack-<project>.cmake
packages/pack-<project>.cmake:
[ ] Adjust OPTION_PACK_GENERATOR to your liking for all systems
[ ] Adjust package options, e.g., CPACK_DEBIAN_PACKAGE_DEPENDS, CPACK_DEBIAN_PACKAGE_SECTION, CPACK_DEBIAN_PACKAGE_PRIORITY, CPACK_RPM_PACKAGE_LICENSE, CPACK_RPM_PACKAGE_GROUP, ...
--------------------------------------------------------------------
--------------------------------------------------------------------
In subdirectory "./docs/doxygen/" do:
[ ] Exchange docs/doxygen/logo.png
docs/doxygen/doxyfile.in:
[ ] Adjust INPUT tag to check for doxygen annotated sources.
--------------------------------------------------------------------
--------------------------------------------------------------------
General stuff left to do:
[ ] Rename and adjust projects in source/
[ ] Remove data/example.txt
[ ] Populate data/
[ ] Remove ADAPT
--------------------------------------------------------------------