##// END OF EJS Templates
Add basic Meson build support...
jeandet -
r407:244510f22990 tip R3.3 draft
parent child
Show More
@@ -0,0 +1,20
1 project('LFR_FSW', 'c')
2 add_global_arguments(
3 '-DSW_VERSION_N1=@0@'.format(get_option('SW_VERSION_N1')),
4 '-DSW_VERSION_N2=@0@'.format(get_option('SW_VERSION_N2')),
5 '-DSW_VERSION_N3=@0@'.format(get_option('SW_VERSION_N3')),
6 '-DSW_VERSION_N4=@0@'.format(get_option('SW_VERSION_N4')),
7 language: 'c'
8 )
9
10 subdir('LFR_basic-parameters')
11 subdir('src')
12
13 cppcheck = find_program('cppcheck', required : false)
14
15 if cppcheck.found()
16 run_target('cppcheck',
17 command : [cppcheck, '--enable=all',
18 '--project=' + join_paths(meson.build_root(), 'compile_commands.json')]
19 )
20 endif
@@ -0,0 +1,345
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by QtCreator 4.14.82, 2021-02-05T16:28:16. -->
4 <qtcreator>
5 <data>
6 <variable>EnvironmentId</variable>
7 <value type="QByteArray">{8296a704-4601-4320-a983-0ab0824e1a9c}</value>
8 </data>
9 <data>
10 <variable>ProjectExplorer.Project.ActiveTarget</variable>
11 <value type="int">0</value>
12 </data>
13 <data>
14 <variable>ProjectExplorer.Project.EditorSettings</variable>
15 <valuemap type="QVariantMap">
16 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
17 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
18 <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
19 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
20 <value type="QString" key="language">Cpp</value>
21 <valuemap type="QVariantMap" key="value">
22 <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
23 </valuemap>
24 </valuemap>
25 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
26 <value type="QString" key="language">QmlJS</value>
27 <valuemap type="QVariantMap" key="value">
28 <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
29 </valuemap>
30 </valuemap>
31 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.2">
32 <value type="QString" key="language">Nim</value>
33 <valuemap type="QVariantMap" key="value">
34 <value type="QByteArray" key="CurrentPreferences">NimGlobal</value>
35 </valuemap>
36 </valuemap>
37 <value type="int" key="EditorConfiguration.CodeStyle.Count">3</value>
38 <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
39 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
40 <value type="int" key="EditorConfiguration.IndentSize">4</value>
41 <value type="bool" key="EditorConfiguration.KeyboardTooltips">true</value>
42 <value type="int" key="EditorConfiguration.MarginColumn">80</value>
43 <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
44 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
45 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
46 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
47 <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
48 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
49 <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
50 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
51 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
52 <value type="int" key="EditorConfiguration.TabSize">8</value>
53 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
54 <value type="bool" key="EditorConfiguration.UseIndenter">false</value>
55 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
56 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
57 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
58 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
59 <value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value>
60 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
61 <value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value>
62 </valuemap>
63 </data>
64 <data>
65 <variable>ProjectExplorer.Project.PluginSettings</variable>
66 <valuemap type="QVariantMap">
67 <valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks">
68 <value type="bool" key="AutoTest.Framework.Boost">true</value>
69 <value type="bool" key="AutoTest.Framework.CTest">false</value>
70 <value type="bool" key="AutoTest.Framework.Catch">true</value>
71 <value type="bool" key="AutoTest.Framework.GTest">true</value>
72 <value type="bool" key="AutoTest.Framework.QtQuickTest">true</value>
73 <value type="bool" key="AutoTest.Framework.QtTest">true</value>
74 </valuemap>
75 <valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
76 <value type="int" key="AutoTest.RunAfterBuild">0</value>
77 <value type="bool" key="AutoTest.UseGlobal">true</value>
78 <valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"/>
79 <value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
80 <value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.Questionable</value>
81 <valuemap type="QVariantMap" key="ClangTools">
82 <value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
83 <value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
84 <value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
85 <value type="int" key="ClangTools.ParallelJobs">16</value>
86 <valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
87 <valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
88 <valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
89 <value type="bool" key="ClangTools.UseGlobalSettings">true</value>
90 </valuemap>
91 </valuemap>
92 </data>
93 <data>
94 <variable>ProjectExplorer.Project.Target.0</variable>
95 <valuemap type="QVariantMap">
96 <value type="QString" key="DeviceType">Desktop</value>
97 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
98 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
99 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{f6d37441-4146-4246-9b7c-dee7995dc10f}</value>
100 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
101 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
102 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
103 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
104 <value type="QString" key="MesonProjectManager.BuildConfig.Parameters"> --cross-file sparc-cross.ini</value>
105 <value type="QString" key="MesonProjectManager.BuildConfig.Type">debug</value>
106 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/jeandet/Documents/prog/LFR_FSW/../build-LFR_FSW-Desktop-debug</value>
107 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
108 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
109 <value type="QString" key="MesonProjectManager.BuildStep.AdditionalArguments"></value>
110 <value type="QString" key="MesonProjectManager.BuildStep.BuildTargets">all</value>
111 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildStep</value>
114 </valuemap>
115 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
116 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
117 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
118 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
119 </valuemap>
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
121 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
122 <value type="QString" key="MesonProjectManager.BuildStep.AdditionalArguments"></value>
123 <value type="QString" key="MesonProjectManager.BuildStep.BuildTargets">clean</value>
124 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
125 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
126 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildStep</value>
127 </valuemap>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
132 </valuemap>
133 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
134 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
135 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
136 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
138 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildConfiguration</value>
139 </valuemap>
140 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
141 <value type="QString" key="MesonProjectManager.BuildConfig.Parameters"></value>
142 <value type="QString" key="MesonProjectManager.BuildConfig.Type">release</value>
143 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/jeandet/Documents/prog/LFR_FSW/../build-LFR_FSW-Desktop-release</value>
144 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
145 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
146 <value type="QString" key="MesonProjectManager.BuildStep.AdditionalArguments"></value>
147 <value type="QString" key="MesonProjectManager.BuildStep.BuildTargets">all</value>
148 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
149 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildStep</value>
150 </valuemap>
151 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
153 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
154 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
155 </valuemap>
156 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
157 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
158 <value type="QString" key="MesonProjectManager.BuildStep.AdditionalArguments"></value>
159 <value type="QString" key="MesonProjectManager.BuildStep.BuildTargets">clean</value>
160 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
161 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildStep</value>
162 </valuemap>
163 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
165 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
166 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
167 </valuemap>
168 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
169 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
170 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
171 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
172 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
173 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildConfiguration</value>
174 </valuemap>
175 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
176 <value type="QString" key="MesonProjectManager.BuildConfig.Parameters"></value>
177 <value type="QString" key="MesonProjectManager.BuildConfig.Type">debugoptimized</value>
178 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/jeandet/Documents/prog/LFR_FSW/../build-LFR_FSW-Desktop-debugoptimized</value>
179 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
180 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
181 <value type="QString" key="MesonProjectManager.BuildStep.AdditionalArguments"></value>
182 <value type="QString" key="MesonProjectManager.BuildStep.BuildTargets">all</value>
183 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
184 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildStep</value>
185 </valuemap>
186 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
187 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
188 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
189 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
190 </valuemap>
191 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
192 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
193 <value type="QString" key="MesonProjectManager.BuildStep.AdditionalArguments"></value>
194 <value type="QString" key="MesonProjectManager.BuildStep.BuildTargets">clean</value>
195 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
196 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildStep</value>
197 </valuemap>
198 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
199 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
200 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
201 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
202 </valuemap>
203 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
204 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
205 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
206 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
207 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug With Optimizations</value>
208 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildConfiguration</value>
209 </valuemap>
210 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.3">
211 <value type="QString" key="MesonProjectManager.BuildConfig.Parameters"></value>
212 <value type="QString" key="MesonProjectManager.BuildConfig.Type">minsize</value>
213 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/jeandet/Documents/prog/LFR_FSW/../build-LFR_FSW-Desktop-minsize</value>
214 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
215 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
216 <value type="QString" key="MesonProjectManager.BuildStep.AdditionalArguments"></value>
217 <value type="QString" key="MesonProjectManager.BuildStep.BuildTargets">all</value>
218 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
219 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildStep</value>
220 </valuemap>
221 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
222 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
223 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
224 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
225 </valuemap>
226 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
227 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
228 <value type="QString" key="MesonProjectManager.BuildStep.AdditionalArguments"></value>
229 <value type="QString" key="MesonProjectManager.BuildStep.BuildTargets">clean</value>
230 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
231 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildStep</value>
232 </valuemap>
233 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
234 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
235 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
236 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
237 </valuemap>
238 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
239 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
240 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
241 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
242 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Minimum Size</value>
243 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.BuildConfiguration</value>
244 </valuemap>
245 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">4</value>
246 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
247 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
248 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
249 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
250 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
251 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
252 </valuemap>
253 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
254 <valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
255 <value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
256 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
257 </valuemap>
258 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
259 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
260 <value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value>
261 <valuelist type="QVariantList" key="Analyzer.Perf.Events">
262 <value type="QString">cpu-cycles</value>
263 </valuelist>
264 <valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/>
265 <value type="int" key="Analyzer.Perf.Frequency">250</value>
266 <valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments">
267 <value type="QString">-e</value>
268 <value type="QString">cpu-cycles</value>
269 <value type="QString">--call-graph</value>
270 <value type="QString">dwarf,4096</value>
271 <value type="QString">-F</value>
272 <value type="QString">250</value>
273 </valuelist>
274 <value type="QString" key="Analyzer.Perf.SampleMode">-F</value>
275 <value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
276 <value type="int" key="Analyzer.Perf.StackSize">4096</value>
277 <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
278 <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
279 <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
280 <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
281 <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
282 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
283 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
284 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
285 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
286 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
287 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
288 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
289 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
290 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
291 <value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value>
292 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
293 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
294 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
295 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
296 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
297 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
298 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
299 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
300 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
301 <value type="int">0</value>
302 <value type="int">1</value>
303 <value type="int">2</value>
304 <value type="int">3</value>
305 <value type="int">4</value>
306 <value type="int">5</value>
307 <value type="int">6</value>
308 <value type="int">7</value>
309 <value type="int">8</value>
310 <value type="int">9</value>
311 <value type="int">10</value>
312 <value type="int">11</value>
313 <value type="int">12</value>
314 <value type="int">13</value>
315 <value type="int">14</value>
316 </valuelist>
317 <valuelist type="QVariantList" key="CustomOutputParsers"/>
318 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
319 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
320 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">fsw</value>
321 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">MesonProjectManager.MesonRunConfiguration/src/fsw</value>
322 <value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">/src/fsw</value>
323 <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
324 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
325 <value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
326 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
327 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
328 <value type="QString" key="RunConfiguration.WorkingDirectory.default">/home/jeandet/Documents/prog/build-LFR_FSW-Desktop-debug/src</value>
329 </valuemap>
330 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
331 </valuemap>
332 </data>
333 <data>
334 <variable>ProjectExplorer.Project.TargetCount</variable>
335 <value type="int">1</value>
336 </data>
337 <data>
338 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
339 <value type="int">22</value>
340 </data>
341 <data>
342 <variable>Version</variable>
343 <value type="int">22</value>
344 </data>
345 </qtcreator>
@@ -0,0 +1,4
1 option('SW_VERSION_N1', type : 'string', value : '3', description : 'N1 FSW Version.')
2 option('SW_VERSION_N2', type : 'string', value : '2', description : 'N2 FSW Version.')
3 option('SW_VERSION_N3', type : 'string', value : '0', description : 'N3 FSW Version.')
4 option('SW_VERSION_N4', type : 'string', value : '24', description : 'N4 FSW Version.')
@@ -0,0 +1,20
1 [host_machine]
2 system = 'rtems'
3 cpu_family = 'sparc'
4 cpu = 'sparc'
5 endian = 'big'
6
7 [constants]
8 toolchain = '/opt/rtems-4.10/'
9 prefix = 'sparc-rtems'
10 common_flags = ['-O2', '-I' + toolchain + 'sparc-rtems/leon3/lib/include']
11
12 [properties]
13 c_args = common_flags
14 cpp_args = c_args
15
16 [binaries]
17 c = toolchain + 'bin/' + prefix + '-gcc'
18 cpp = toolchain + 'bin/' + prefix + '-g++'
19 strip = toolchain + 'bin/' + prefix + '-strip'
20
@@ -0,0 +1,58
1 fsw_inc = include_directories(
2 '../header',
3 '../header/lfr_common_headers',
4 '../header/processing',
5 '../LFR_basic-parameters',
6 '../src'
7 )
8
9 fsw_srcs = files(
10 'wf_handler.c',
11 'tc_handler.c',
12 'fsw_misc.c',
13 'fsw_init.c',
14 'fsw_globals.c',
15 'fsw_spacewire.c',
16 'tc_load_dump_parameters.c',
17 'tm_lfr_tc_exe.c',
18 'tc_acceptance.c',
19 'processing/fsw_processing.c',
20 'processing/avf0_prc0.c',
21 'processing/avf1_prc1.c',
22 'processing/avf2_prc2.c',
23 'lfr_cpu_usage_report.c'
24 )
25
26 fsw_extra_files = files(
27 '../header/wf_handler.h',
28 '../header/tc_handler.h',
29 '../header/grlib_regs.h',
30 '../header/fsw_misc.h',
31 '../header/fsw_init.h',
32 '../header/fsw_spacewire.h',
33 '../header/tc_load_dump_parameters.h',
34 '../header/tm_lfr_tc_exe.h',
35 '../header/tc_acceptance.h',
36 '../header/processing/fsw_processing.h',
37 '../header/processing/avf0_prc0.h',
38 '../header/processing/avf1_prc1.h',
39 '../header/processing/avf2_prc2.h',
40 '../header/fsw_params_wf_handler.h',
41 '../header/lfr_cpu_usage_report.h',
42 '../header/lfr_common_headers/ccsds_types.h',
43 '../header/lfr_common_headers/fsw_params.h',
44 '../header/lfr_common_headers/fsw_params_nb_bytes.h',
45 '../header/lfr_common_headers/fsw_params_processing.h',
46 '../header/lfr_common_headers/tm_byte_positions.h',
47 '../LFR_basic-parameters/basic_parameters.h',
48 '../LFR_basic-parameters/basic_parameters_params.h',
49 '../header/GscMemoryLPP.hpp'
50 )
51
52 cc = meson.get_compiler('c')
53 m_dep = cc.find_library('m', required : false)
54
55 fsw = executable('fsw', fsw_srcs,
56 include_directories: fsw_inc,
57 dependencies:[lfr_bp_dep, m_dep],
58 extra_files: fsw_extra_files)
@@ -0,0 +1,49
1 project('Name', 'cpp',default_options : ['cpp_std=c++14'])
2
3 #qt5 = import('qt5')
4 #qt5core = dependency('qt5', modules : 'Core')
5 #qt5widgets = dependency('qt5', modules : 'Widgets')
6 #qt5gui = dependency('qt5', modules : 'Gui')
7 #qt5svg = dependency('qt5', modules : 'Svg')
8 #qt5xml = dependency('qt5', modules : 'Xml')
9 #qt5network = dependency('qt5', modules : 'Network')
10 #qt5printsupport = dependency('qt5', modules : 'PrintSupport')
11 #qt5test = dependency('qt5', modules : 'Test')
12
13 subdir('src')
14
15 #if build_machine.system()=='darwin'
16 # install_data('build_cfg/mac/sciqlopLOGO.icns', install_dir : 'Contents/Resources')
17 # install_data('build_cfg/mac/Info.plist', install_dir : 'Contents')
18 # meson.add_install_script('build_cfg/mac/install_script.sh')
19 #elif host_machine.system()=='windows'
20 # meson.add_install_script('build_cfg/windows/install_script.sh')
21 #endif
22
23 my_inc = include_directories(['include'])
24
25 my_lib = library('lib_name',
26 gui_sources,
27 gui_moc_files,
28 link_with : sciqlop_core,
29 include_directories : [my_inc],
30 dependencies : [qt5core, qt5printsupport, qt5gui, qt5widgets, qt5network],
31 install : true
32 )
33
34 my_app = executable('exe_name',
35 [],
36 link_with : [my_lib],
37 include_directories : [my_inc],
38 dependencies : [qt5core, qt5printsupport, qt5gui, qt5widgets, qt5network],
39 install : true
40 )
41
42 cppcheck = find_program('cppcheck', required : false)
43
44 if cppcheck.found()
45 run_target('cppcheck',
46 command : [cppcheck, '--enable=all',
47 '--project=' + join_paths(meson.build_root(), 'compile_commands.json')]
48 )
49 endif
General Comments 0
You need to be logged in to leave comments. Login now