Repository navigation
Expand file tree
/
Copy pathworkflow.html
More file actions
168 lines (146 loc) · 6.73 KB
/
Copy pathworkflow.html
File metadata and controls
168 lines (146 loc) · 6.73 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html>
<head>
<title>Workflow</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<!-- <link rel="icon" href="/img/favicon.ico" type="image/x-icon" /> -->
<link href="./img/styles.css" rel="stylesheet">
<!-- <script src="./img/jquery-3.6.1.min.js" type="text/javascript"></script> -->
</head>
<body>
<h2 align="center">My C++ workflow:</h2>
<table width="90%" cellpadding="20" cellspacing="20" border="1">
<tr><td><h3><u>Wake up PC and myself:</u></h3></td></tr>
<tr><td><ul>
<li>Brew filter coffee (10min)</li>
<li>Start Windows 10 x64 PC ( i regularly get bluescreens at startup because Win10 is shit )
<li>Login</li>
</ul></td></tr>
</table>
<h3><u>Develop C/C++ on Windows64:</u></h3>
<table width="90%" cellpadding="20" cellspacing="20" border="1">
<tr valign="top">
<td>1. Start linux terminal on windows (_dev_with_gitbash.bat script)</td>
<td>1.1. Navigate to workspace (Open explorer and goto desired directory)<br>
1.2. Double click the .bat Batch script that starts the developing environment<br>
1.3. It opens 2 windows, the cmd.exe window in background and the good git-bash terminal in front<br>
1.4. Minimize the cmd.exe window and never think about it again<br>
1.5. Move and resize the git-bash terminal window to your favourite pos and size.<br>
</td>
</tr>
<tr valign="top">
<td>2. Build (start one of the build scripts next to .bat file)</td>
<td>
2.1. Press <b>STRG+R</b> to open terminal history<br>
2.2. Type 3 letters <b>bui</b> to find last build command in history<br>
2.3. Press <b>ENTER</b> and building starts...<br>
<br>
or if u never built before<br>
<br>
If u never built before type in the build command manually<br>
e.g. <b>./build_win_release_shared.sh</b> and press <b>ENTER</b><br>
e.g. <b>./build_win_release_static.sh</b> and press <b>ENTER</b><br>
e.g. <b>./build_win_debug_shared.sh</b> and press <b>ENTER</b><br>
e.g. <b>./build_win_debug_static.sh</b> and press <b>ENTER</b><br>
e.g. <b>./build_win_minsizerel_shared.sh</b> and press <b>ENTER</b><br>
e.g. <b>./build_win_minsizerel_static.sh</b> and press <b>ENTER</b><br>
e.g. <b>./build_win_relwithdebinfo_shared.sh</b> and press <b>ENTER</b><br>
e.g. <b>./build_win_relwithdebinfo_static.sh</b> and press <b>ENTER</b><br>
</td>
</tr>
<tr valign="top">
<td>3. Execute program</td>
<td>
3.1. Press <b>STRG+R</b> to open terminal history again<br>
3.2. Type 3 letters <b>bin</b> to find last <b>cd</b> command in history<br>
3.3. Press <b>ENTER</b> and change to output directory.<br>
3.4. Type the name of program and press ENTER.<br>
e.g. <b>./AbletonBlaBla.exe</b><br>
</td>
</tr>
</table>
<table cellpadding="20" cellspacing="20" border="5px solid yellow">
<tr>
<td>1. Start dev env (.bat script)
<ul>
<li>Navigate to workspace (Open explorer and goto desired directory)</li>
<li>Double click the .bat Batch script that starts the developing environment</li>
</ul>
The batch script only contains 3 lines to be fully funtional (no msys, python, etc..., only cmake,mingw and git-bash terminal)
</td>
<td>
<img src="./workflow/001.png" width="732" height="788" /><br>
<img src="./workflow/002.png" width="494" height="231" /><br>
<img src="./workflow/003.png" width="710" height="523" />
</td>
</tr>
<tr>
<td>2. Build
<ul>
<li>Press <b>STRG+R</b> to query terminal history</li>
<li>Type 3 letters <b>bui</b> to find last build command in history</li>
<li>Press <b>ENTER</b> and building starts...</li>
</ul><br>
If u never built before type in the build command manually<br>
e.g. <b>./build_win_release_shared.sh</b> and press <b>ENTER</b>
</td>
<td>
<img src="./workflow/005.png" width="1147" height="383" />
</td>
</tr>
<tr>
<td>3. Execute program
<ul>
<li>Press <b>STRG+R</b> to query terminal history</li>
<li>Type 3 letters <b>bin</b> to find last <b>cd</b> command in history</li>
<li>Press <b>ENTER</b> and terminal went to output directory.</li>
<li>Press <b>ENTER</b> and terminal went to output directory.</li>
</ul><br>
If u never built before type in the build command manually<br>
e.g. <b>./build_win_release_shared.sh</b> and press <b>ENTER</b>
</td>
<td>
<img src="./workflow/005.png" width="1147" height="383" />
</td>
</tr>
</table>
<ul>
<li>Press <b>STRG+R</b> and type 3 letters <b>bin</b> so the history finds the last <b>cd</b> command containing <b>bin</b>/win_bla_bla.<br>
<img src="./workflow/006.png" width="1147" height="386" />
</li>
<li>Press <b>ENTER</b> and it changes to the result directory of built program.<br>
Type <b>./A</b> and press <b>TAB</b> for auto-completion to <b>./AbletonProgram.exe</b><br>
<img src="./workflow/007.png" width="721" height="115" />
</li>
<li>Press <b>ENTER</b> and the programs starts.</li>
<li>Brew filter coffee</li>
<li>Start Windows 10 x64 PC (5sec)
<li>Login</li>
<li>Open explorer and navigate to my project workspace</li>
</ul>
<tr><td><h3><u>My C/C++ developing machine:</u></h3></td></tr>
<tr><td><ul>
<li>AMD Ryzen 5 PRO 4650G ( 6C12T 4.3GHz all core beast, still energy saving <120W, with modern graphics card )</li>
<li>As a graphics programmer its good to have a slow graphics card so u can feel your bad/unoptimized programming.</li>
<li>As a graphics programmer its good to have a modern graphics card so u can develop for advanced features,shaders and extensions.</li>
<li>Atleast 8GB RAM, normal would be 16GB, 32GB is better for very big projects like a custom Linux System</li>
<li>Normal would be 16GB DDR4 ( my case )
<li>32GB and above is only needed for extreme projects (e.g. Technisat navigation system did not compile with only 16GB RAM)</li>
</ul></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
</div>
<footer>
<table width="100%" height="100%">
<tr><td align="center"><h5 style="color:white;">(c) 2023 by BenjaminHampe@gmx.de</h5></td></tr>
</table>
</footer>
</body>
</html>