bake-toolkit 2.23.6 → 2.23.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bakeqac +24 -13
- data/documentation/_build/html/_sources/changelog.txt +6 -0
- data/documentation/_build/html/_sources/index.txt +1 -1
- data/documentation/_build/html/_sources/tips_and_tricks/qac.txt +13 -3
- data/documentation/_build/html/changelog.html +8 -0
- data/documentation/_build/html/index.html +4 -4
- data/documentation/_build/html/searchindex.js +1 -1
- data/documentation/_build/html/tips_and_tricks/qac.html +13 -3
- data/lib/bakeqac/options/options.rb +18 -7
- data/lib/common/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b424276e902a2edbde9a96e26554ad28d1bf2f56
|
4
|
+
data.tar.gz: bff4ce6b2b3293d8079be4ab9f04243fb20c5630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d679392932bb4f21f245399427d1c51e39b1b586f532884cc1a21417ad07d08f194c0061677389607afd6acb59e7405e0a9b410bc0c2037657cc7d56a2307793
|
7
|
+
data.tar.gz: 1f1e057a44c5b1495eb8e9519b925394bf54e38c920d4caf72d7867918892f29b99fd1d56aa81106e393d3b8e999add16e9460ac2b995c170eff02cde214b6da
|
data/bin/bakeqac
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require 'fileutils'
|
4
|
+
|
3
5
|
$:.unshift(File.dirname(__FILE__)+"/../lib")
|
4
6
|
|
5
7
|
require "bakeqac/options/options"
|
@@ -26,7 +28,7 @@ module Bake
|
|
26
28
|
excludeParam = false
|
27
29
|
wasMinus = false
|
28
30
|
ARGV.each do |x|
|
29
|
-
if ["--c++11", "--c++14", "--cct", "--rcf", "--acf", "--qacdata", "--qacstep", "--qacfilter", "--qacnoformat", "--qacretry"].include?x
|
31
|
+
if ["--c++11", "--c++14", "--cct", "--rcf", "--acf", "--qacdata", "--qacstep", "--qacfilter", "--qacnoformat", "--qacunittest", "--qacretry"].include?x
|
30
32
|
excludeParam = true
|
31
33
|
next
|
32
34
|
end
|
@@ -41,12 +43,20 @@ module Bake
|
|
41
43
|
passedParams << "--filter-paths" unless passedParams.include?"--filter-paths"
|
42
44
|
|
43
45
|
success = true
|
46
|
+
FileUtils::mkdir_p @options.qacdata
|
47
|
+
|
48
|
+
###### PREREQUISITE 3: QACLI LOCATION ######
|
49
|
+
|
50
|
+
qaExe = [@options.qac_home+"/common/bin/qacli"]
|
51
|
+
if @options.qacunittest
|
52
|
+
qaExe = ["ruby", File.dirname(__FILE__)+"/../spec/bin/qactester.rb"]
|
53
|
+
end
|
44
54
|
|
45
55
|
###### STEP 1: CREATE ######
|
46
56
|
|
47
|
-
if (@options.qacstep.nil? or @options.qacstep.include?"
|
57
|
+
if (@options.qacstep.nil? or @options.qacstep.include?"admin")
|
48
58
|
|
49
|
-
cmd =
|
59
|
+
cmd = qaExe + ["admin", "--qaf-project-config", "--qaf-project", @options.qacdata]
|
50
60
|
@options.cct.each {|c| cmd << "--cct" << c }
|
51
61
|
cmd << "--rcf" << @options.rcf
|
52
62
|
cmd << "--acf" << @options.acf
|
@@ -60,8 +70,8 @@ module Bake
|
|
60
70
|
|
61
71
|
###### STEP 2: BUILD ######
|
62
72
|
|
63
|
-
if success and (@options.qacstep.nil? or @options.qacstep.include?"
|
64
|
-
cmd =
|
73
|
+
if success and (@options.qacstep.nil? or @options.qacstep.include?"analyze")
|
74
|
+
cmd = qaExe + ["analyze", "-P", @options.qacdata, "-b"]
|
65
75
|
|
66
76
|
begin
|
67
77
|
devMode = File.exist?"c:/Projekte/git/bake/bin/bake"
|
@@ -91,7 +101,7 @@ module Bake
|
|
91
101
|
puts "License refused, retry seconds left: %d" % (@options.qacretry - (Time.now - timeStart))
|
92
102
|
end
|
93
103
|
|
94
|
-
|
104
|
+
success = false # we have to parse the output, qacli returns always an error here...
|
95
105
|
filterOutput = []
|
96
106
|
filter = []
|
97
107
|
endFound = false
|
@@ -125,37 +135,38 @@ module Bake
|
|
125
135
|
|
126
136
|
###### STEP 3: RESULT ######
|
127
137
|
|
128
|
-
if success and (@options.qacstep.nil? or @options.qacstep.include?"
|
138
|
+
if success and (@options.qacstep.nil? or @options.qacstep.include?"view")
|
129
139
|
|
130
140
|
puts "bakeqac: printing results..."
|
131
141
|
|
132
142
|
filter = []
|
133
143
|
|
134
|
-
|
144
|
+
useFilter = File.exist?("#{@options.qacdata}/filter.txt") && @options.qacfilter
|
145
|
+
|
146
|
+
if useFilter
|
135
147
|
File.open("#{@options.qacdata}/filter.txt", "r") do |f|
|
136
148
|
f.each_line { |line| filter << line.strip }
|
137
149
|
end
|
138
150
|
filter.delete_if { |f| (f.end_with? "/gtest") or (f.end_with? "/gmock") }
|
139
151
|
end
|
140
152
|
|
141
|
-
cmd =
|
153
|
+
cmd = qaExe + ["view", "-P", @options.qacdata, "-m", "STDOUT"]
|
142
154
|
if not @options.qacnoformat
|
143
155
|
cmd += ["-f", "%?u==0%(MSG: %:---- %)%F(%l,%c): (%r:%N)%t%?v%(\n%v%)"]
|
144
156
|
end
|
145
157
|
|
146
158
|
timeStart = Time.now
|
147
159
|
loop do
|
148
|
-
success, consoleOutput = ProcessHelper.run(cmd,
|
160
|
+
success, consoleOutput = ProcessHelper.run(cmd, !useFilter)
|
149
161
|
licenseError = false
|
150
162
|
consoleOutput.each_line do |line|
|
151
163
|
licenseError = true if line.include?"License Refused"
|
152
164
|
end
|
153
|
-
break unless (
|
165
|
+
break unless (useFilter and licenseError and (@options.qacretry > (Time.now - timeStart)))
|
154
166
|
puts "License refused, retry seconds left: %d" % (@options.qacretry - (Time.now - timeStart))
|
155
167
|
end
|
156
168
|
|
157
|
-
|
158
|
-
if @options.qacfilter
|
169
|
+
if useFilter
|
159
170
|
numberOfMessages = 0
|
160
171
|
if success
|
161
172
|
foundFile = false
|
@@ -1,6 +1,12 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
October 17, 2016 - bake-toolkit 2.23.7
|
5
|
+
* Changed: renamed qac build steps from create, build and result to admin, analyze and view (the original qac names).
|
6
|
+
* Bugfix: qac view step might have been executed although build has been failed.
|
7
|
+
* Bugfix: qac view step with never executed analyze step might have been crashed.
|
8
|
+
* Bugfix: qac C++11 and C++14 switch were broken.
|
9
|
+
|
4
10
|
October 14, 2016 - bake-toolkit 2.23.6
|
5
11
|
* Bugfix: qac license refused error now really shown.
|
6
12
|
* Changed: QAC_RCF environment variable not supported anymore. Instead a file qac.rcf will be searched upwards from bake main project folder.
|
@@ -13,7 +13,7 @@ You can use QACPP from command line:
|
|
13
13
|
qacli view -P qacdata -m STDOUT
|
14
14
|
|
15
15
|
- The first command creates the qac database. This is needed only once.
|
16
|
-
- The second command builds the files.
|
16
|
+
- The second command builds and analyzes the files.
|
17
17
|
- The third command prints out the result.
|
18
18
|
|
19
19
|
To make it easier, bake toolkit provides *bakeqac*. Instead of writing
|
@@ -34,8 +34,8 @@ You can also choose certain steps (can be combined with "|"):
|
|
34
34
|
|
35
35
|
.. code-block:: console
|
36
36
|
|
37
|
-
bakeqac <options> --qacstep
|
38
|
-
bakeqac <options> --qacstep
|
37
|
+
bakeqac <options> --qacstep admin|analyze|view
|
38
|
+
bakeqac <options> --qacstep admin
|
39
39
|
etc.
|
40
40
|
|
41
41
|
Step 1: create
|
@@ -103,3 +103,13 @@ Results are also filtered in this step if not specified otherwise:
|
|
103
103
|
- Only results from files within used bake projects will be shown (which does not apply to e.g. compiler libraries). To narrow the results, use the *-p* option.
|
104
104
|
- Files from subfolders test and mock will be filtered out.
|
105
105
|
- Files from projects gtest and gmock will be filtered out.
|
106
|
+
|
107
|
+
todo
|
108
|
+
----
|
109
|
+
|
110
|
+
qacnoformat
|
111
|
+
qacretry
|
112
|
+
qac.rcf
|
113
|
+
number of messages
|
114
|
+
cct auto detection
|
115
|
+
ansi color
|
@@ -140,6 +140,14 @@
|
|
140
140
|
<div class="section" id="changelog">
|
141
141
|
<h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
|
142
142
|
<dl class="docutils">
|
143
|
+
<dt>October 17, 2016 - bake-toolkit 2.23.7</dt>
|
144
|
+
<dd><ul class="first last simple">
|
145
|
+
<li>Changed: renamed qac build steps from create, build and result to admin, analyze and view (the original qac names).</li>
|
146
|
+
<li>Bugfix: qac view step might have been executed although build has been failed.</li>
|
147
|
+
<li>Bugfix: qac view step with never executed analyze step might have been crashed.</li>
|
148
|
+
<li>Bugfix: qac C++11 and C++14 switch were broken.</li>
|
149
|
+
</ul>
|
150
|
+
</dd>
|
143
151
|
<dt>October 14, 2016 - bake-toolkit 2.23.6</dt>
|
144
152
|
<dd><ul class="first last simple">
|
145
153
|
<li>Bugfix: qac license refused error now really shown.</li>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
7
|
|
8
|
-
<title>bake 2.23.
|
8
|
+
<title>bake 2.23.7 — bake documentation</title>
|
9
9
|
|
10
10
|
<link rel="stylesheet" href="_static/basic.css" type="text/css" />
|
11
11
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
@@ -94,7 +94,7 @@
|
|
94
94
|
<ul class="dropdown-menu localtoc"
|
95
95
|
role="menu"
|
96
96
|
aria-labelledby="dLabelLocalToc"><ul>
|
97
|
-
<li><a class="reference internal" href="#">bake 2.23.
|
97
|
+
<li><a class="reference internal" href="#">bake 2.23.7</a><ul>
|
98
98
|
</ul>
|
99
99
|
</li>
|
100
100
|
</ul>
|
@@ -134,8 +134,8 @@
|
|
134
134
|
<div class="row">
|
135
135
|
<div class="col-md-12">
|
136
136
|
|
137
|
-
<div class="section" id="bake-2-23-
|
138
|
-
<h1>bake 2.23.
|
137
|
+
<div class="section" id="bake-2-23-7">
|
138
|
+
<h1>bake 2.23.7<a class="headerlink" href="#bake-2-23-7" title="Permalink to this headline">¶</a></h1>
|
139
139
|
<p>bake, building software <strong>fast</strong> and <strong>easy</strong>!</p>
|
140
140
|
<table border="1" class="docutils">
|
141
141
|
<colgroup>
|
@@ -1 +1 @@
|
|
1
|
-
Search.setIndex({envversion:47,filenames:["changelog","commandline/commandline","concepts/build_hierarchy","concepts/concepts","concepts/inject","concepts/link_order","concepts/prebuild","concepts/the_main_project","concepts/the_project_meta_file","ide/eclipse/eclipse","ide/eclipse/how_to_convert_existing_cdt_workspace","ide/eclipse/how_to_create_a_new_project_in_eclipse","ide/eclipse/how_to_create_a_workspace_in_eclipse","ide/eclipse/how_to_debug_in_eclipse","ide/eclipse/how_to_install_eclipse_plugin","ide/eclipse/how_to_use_bake_in_eclipse","ide/ide_integrations","ide/vs/how_to_create_vs_projects","ide/vs/how_to_debug_in_vs","ide/vs/how_to_used_bake_in_vs","ide/vs/vs","ide/vs/vs_install","index","install/install_bake","internal","known_issues","license","performance/performance","quickstart/quickstart","syntax/adapt_configs","syntax/auto_adjustment","syntax/derive_configs","syntax/project_meta_syntax","syntax/syntax","syntax/variable_substitutions","tips_and_tricks/dot","tips_and_tricks/how_to_use_bake_with_cygwin","tips_and_tricks/qac","tips_and_tricks/static_code_analysis","tips_and_tricks/the_bakery","tips_and_tricks/the_clang","tips_and_tricks/tips_and_tricks","why_bake/why_bake"],objects:{},objnames:{},objtypes:{},terms:{"0x00":24,"0x02":24,"0x3":0,"0xff":24,"1_5_1":37,"2p180":27,"2p95":[23,28],"3p0":27,"6p398":27,"7p352":27,"__all__":29,"__main__":29,"_dev":36,"_lintout":38,"_one_":41,"break":42,"byte":24,"case":[0,6,12,30,38],"class":4,"default":[0,1,12,23,28,32,37,39],"export":10,"function":0,"import":[],"long":[0,19,27],"new":[],"return":[0,28,36],"static":[],"switch":[0,10,15,28,36,42],"throw":23,"true":[4,29,32],"try":[0,10],"while":23,abc:[1,29,34],abi:0,abl:[38,42],abort:[0,24,36],about:[0,15],abov:[2,6,10,26,29,31],absolut:0,absolute_path_to_working_dir:41,accept:[0,14],access:0,account:0,acf:37,action:26,actual:23,adapt:[],add:[],addit:[19,26,27],adjust:[],adjustcdt:0,adjustinclud:0,admin:37,adr:32,advantag:[],advis:26,after:[0,14,36,38,39],again:[0,10,27],algorithm:6,alia:[0,36,38],all:[0,1,2,6,7,12,13,15,26,29,31,32,35,36,38,39,40,41],allow:[0,1,7,31,34],allunittest:39,almost:11,alpha:40,alphabet:0,alreadi:15,also:[0,11,12,13,15,18,34,37],alternativli:37,alwai:[0,7,13,15,32],ambigu:0,analys:0,analysi:[],analyz:[],ani:[7,18,26],annot:[0,19],anoth:[0,1,18,25,38],anotherfold:37,ansi:[1,36],anymor:[0,7,10,36],anyth:25,appear:15,appli:[0,13,26,29,30,36,37],appropri:[10,15,18],april:0,apropri:23,ar470:0,archiv:[0,2,8,25,32,34],archiverpath:[0,15,34],aren:42,argument:[0,6,18],aris:26,around:38,arrai:32,arrow:13,articular:26,artifact:34,artifactnam:[0,8,31,32,34],artifactnamebas:[0,34],asm:[1,32],asmpath:[0,15,34],asscoat:38,assembl:[34,41],associ:[9,26],assum:[1,8,23],atom:21,attribut:[0,29,31],august:0,author:26,auto:[],autodir:0,automat:[0,8,13,30,37],avail:[0,4,6,12,14,18,21],avoid:[0,7,23,36,42],back:[4,32],background:36,backward:0,bake:[],bakeqac:[0,37],bakeri:[],base:[0,6,31,34],basedon:32,basi:41,basic:[],bat:[18,36],batch:[0,18],becaus:[4,8,31,38,42],been:[0,1,25,26],befor:[0,5,10,15],begin:0,behaviour:[0,6,37],below:[0,14,18,21],best:41,beteween:42,better:0,between:[0,15,42],big:42,bin:[0,18,34,36],binari:[0,26,36,38],bla:0,black:[1,28,36,39],blue:[32,39],bootload:34,bootloader_1:34,bootloaderupdat:30,both:[6,31],bottom:2,box:[13,15],broken:0,browser:23,bsp:39,bspabc:1,bspcorez6:0,bug:23,bugfix:0,build:[],build_:0,built:[0,1,6,7,8,25,36,38,42],bundl:0,busi:26,cach:[0,28],calcul:[0,30,37],calcvar:34,call:[0,1,8,18,36,37,38,39,40],can:[],candriv:[0,34],cannot:[0,4,7,13],care:0,caus:[23,26],cc2j:0,ccsv5:0,cct:[0,37],cdt:[],certain:37,chang:[0,6,7,10,13,15,23,25,29],charact:[0,36],charg:26,check:[0,1,18,21,23,39,41],checkbox:10,checker:40,child:[29,31],choos:[],chosen:[0,15,37],circl:15,circular:0,cl470:0,claim:26,clang:[],clang_analyz:[0,40],clean:[],clear:0,clearer:0,clearn:0,click:[13,15,19,21],client:[0,31],clobber:0,close:[0,6],cmake:[],cmd:[0,32,34],cmdline:[0,32],code:[],code_st:0,collect:[],collectionmandatori:39,color:[0,1,23,28,36,39],com:[14,21],combin:[0,2,37],come:[17,38],comma:[0,1,31],command:[0,2,6,9,15,18,19,24,28,29,32,34,36,37,38,39,42],commandlin:[],comment:[0,1,32,39],commit:[10,12,41],common7:18,compar:12,compat:[0,42],compil:[],complet:[0,6,10,15,38],complex:[],compon:[4,26],concaten:31,concret:4,condit:26,config:[],confignam:[0,34,38],configpkg:0,configur:[],confnam:34,confus:0,connect:[23,24,26],consecut:37,consequenti:26,consist:[0,8,26],consol:[0,1,15,36,39],contain:[8,26,30],content:[2,10,32],context:[4,7,10,12],contract:26,contrast:27,contributor:26,control:[10,12,29],conveni:29,convers:[0,10],conversion_info:0,convert:[],copi:[0,6,26],copyright:26,corez6:0,corpor:26,correct:[0,36],correctli:[0,21,23],cosmet:0,could:0,cpath:[0,15,34],cplusplu:40,cpp:[1,7,8,18,28,29,31,32,38,40],cpppath:[0,15,34],cprojec:12,cproject:[10,11,12,15],cpu:27,crash:0,creat:[],createvsproject:[0,17],ctrl:[0,36],ctt:[],current:[0,1,6,32,34,38,39],cursor:[32,39],custom:[2,8,38],customconfig:[0,2,29,31,32,35,40],cxxproject:[0,26],cyan:35,cyclic:0,cygdriv:[13,36],cygwin:[],damag:26,darwin13:[23,28],data:26,databas:37,deadcod:40,deal:26,debug:[],debug_info:7,debug_main:8,decemb:0,decor:15,def:[0,34],defaulttoolchain:[0,7,8,15,18,19,29,31,32,34,38,40],defin:[],definit:[0,5,7,34],delet:[0,10,25],deped:23,depenc:42,depend:[],dependend:42,deprec:0,deprect:0,deriv:[],derv:31,describ:[15,18],descript:[0,32,34,39],deselect:19,desgin:[],design:42,detail:28,detect:0,develop:[],devenv:18,diab:[29,31],diag_warn:0,dialog:[0,13],did:0,differ:[],dir:[0,32,34],direct:[0,26],directli:[6,15,34],directori:[],disabl:[0,19],discard:24,disclaim:26,disk:10,dismiss:37,displai:[0,15,19,32,39],distribut:[],doc:[0,38],docu:[0,32],document:[0,23,26,42],doe:[],don:[13,18,30,42],done:[0,7,13,28],dot:[],doubl:[21,32,39],download:[9,21],due:[],eabi:0,each:[0,26],earli:0,earlier:0,easi:[11,22,23,31,35,42],easier:37,easiest:[36,42],easili:[7,40,42],echo:8,eclips:[],eclipseord:[0,29,32],edit:[12,25,40],editor:9,either:[31,40],element:[29,30,31,32,39],elf:34,ellips:35,els:[1,25],email:32,embrac:42,empti:[0,7,11,34],en_u:[23,37],enabl:[0,9,12,15],end:0,energi:42,enforc:37,english:23,ensur:[0,10],entir:42,env:[0,32],environ:[],environmentvari:[],equal:[0,34],equip:2,equival:26,error:[],escap:36,especi:0,esrlab:[14,21],etc:[8,18,34,36,37,38,41],evalu:[23,34],evalut:34,even:[0,26,38,42],event:26,everi:[0,2,8,38],everyth:7,exactli:[29,37],exampl:[],except:[0,6,15,24,28,32],exclud:[0,39],exclude_filt:0,excludefil:[0,32],execut:[0,2,6,8,13,18,25,38,41],executableconfig:[0,2,4,7,8,29,31,32,35,38,40],exemplari:26,exens:34,exist:[],exit:[0,28],exitstep:[0,32],expand:0,experiment:0,explicit:38,explicitli:[0,6,26],explor:[10,12,15],express:26,extend:[],extens:21,extern:[],externallibrari:[0,5,8,30,32],externallibrarysearchpath:[8,30,32],extrem:0,fact:38,fail:[],failur:42,fals:[0,32],fan:42,fast:[22,42],faster:27,featur:[6,12,14,15],februari:0,fetch:23,few:[6,15,37,42],file:[],filenam:[0,24,35],fill:[10,11,15],filter:[0,32,37],find:10,finish:12,first:[0,1,18,30,31,37,38,39],fit:[26,42],fix:[0,27],flag:[0,7,8,18,31,32,38,40],flex:38,focu:42,folder:[0,1,6,11,30,37,38],follow:[6,13,14,21,26,28,30,31,34,36,38,40],follw:28,forget:13,form:26,format:[0,38],format_specif:38,forward:[0,31,38],found:[0,10,12,13,23,28,29,34,36,37],framework:37,free:26,from:[],front:[4,32],fstab:36,full:34,furnish:26,gcc:[0,7,8,13,18,29,31,34,37,38,40],gcc_env:0,gdb:13,gem:[0,23],gener:[],get:[],ghz:27,git:41,github:[0,9],given:24,glob:0,gmock:37,goal:[],good:[12,26,42],googl:23,googletest:4,govern:26,grant:26,graphic:26,graphviz:35,greater:[0,24],green:[13,35],greenhil:0,gsub:23,gtest:37,had:0,handl:[0,38],handler:36,happen:8,hard:[4,30,35,42],hardcod:0,hash:[32,39],have:[0,1,4,7,10,11,12,13,15,18,23,26,30,31,32,36,37,38,39,40,42],hdd:27,header:[],hello:34,helper:38,here:[12,18,29,42],herebi:26,hereinaft:26,hide:[0,6],high:31,higher:0,highest:0,highlin:23,hinder:42,hit:36,holder:26,host:[0,1,8,23,28,29,34,38],hostnam:34,hour:42,howev:[0,13,23,26,41],http:[14,21,35],idea:12,ignor:[0,12,14],ignore_cach:0,iinclud:[8,28],imag:35,imagin:40,impact:0,implement:4,impli:26,implicitli:31,improv:0,inc:[0,31],incident:26,includ:[],include_filt:0,include_path:0,includedir:[],inclus:0,inconsist:[0,7],incorrect:41,incorrectli:0,independ:[0,39,42],indirect:[0,26],infix:0,info:[0,24,28,41],informationen:10,inherit:[],inject:[],input:0,instal:[],instead:[0,4,7,10,36,37,40],integr:[],intel:27,intend:0,intern:[],internaldefin:[0,15,32],internalinclud:[0,15,32],internat:23,interrupt:[26,36],introduc:0,invalid:[],invert:0,invok:40,issu:[],istal:23,item:[15,19],itself:7,januari:0,java:0,json:0,juli:0,junction:[],june:0,keep:32,keil:0,keyword:[0,29],kicker:42,kind:26,know:4,known:[],lab:[14,21,26],label:15,lake:26,larg:42,larger:[0,35],last:[0,18,19],latest:0,latter:[6,34],lc_all:23,ldebug:0,lead:0,lear:26,least:2,leav:[7,25],length:24,less:42,let:8,level:[0,4,29],liabil:26,liabl:26,lib2:35,lib:[0,4,7,8,32,34,36],lib_bootloader_debug:34,lib_some_debug:34,libpostfixflag:32,libprefixflag:32,librari:[],libraryconfig:[0,2,4,7,8,29,31,32,35,38],libsub:8,licens:[],life:34,lightweight:42,like:[0,1,2,7,15,18,21,23,29,30,31,34,36,38,40],limit:26,line:[0,6,15,18,19,24,26,29,32,34,36,37,38,39,42],link:[],link_onli:0,linker:[0,2,18,29,31,32,34],linkerpath:[0,15,34],linkerscript:[0,32],lint:[],lint_cmac:38,lint_cppmac:38,lint_max:0,lint_min:0,lintpolici:[32,38],linux:[0,41],list:[0,12,26,31,38,41],listen:[0,24],llvm:0,lnt:[0,38],load:[0,28],local:0,localhost:24,locat:[0,8,11],lock:0,logic:6,longer:0,look:[21,31,34,42],loss:26,lower:4,machin:0,made:[0,13],magic:0,mai:[0,6,36],main1:39,main2:39,main:[],mainconfignam:[0,7,34],mainproj:[1,39],mainprojectdir:[0,34,38],mainprojectnam:[0,7,34],maintain:42,maintanc:42,major:[6,12,32,36],mak:38,make:[0,4,6,10,23,36,37,38,42],makefil:[],mani:[],manipul:29,manual:[9,10,25],map:[],mapfil:32,mar:13,march:0,mark:[0,10,15,32,39],marker:0,match:[0,1,29],materi:26,matter:31,max:[0,38],maximum:[0,32],mcpp:37,mean:[10,29,40,42],mechan:12,mention:37,menu:[0,10,12,15,19],merchant:26,merg:[0,6,26,31],messag:[],met:26,meta:[],method:23,microsoft:18,might:[10,15,23,41],min:[0,27,38],mind:32,mingw:0,minimum:[0,32],minor:[0,32],minut:[15,28,42],misra:[0,38],miss:[],mix:29,mkdir:28,mmd:0,mock:[4,37],mode:[0,36],modif:26,modifi:26,more:[],mount:13,mous:[32,39],move:[0,32,39],msvc:[0,18],multi:0,multipl:[],must:[0,5,6,7,13,15,26,36,38,39,42],mv7a8:0,my_comput:34,my_project:[8,28],myinclud:[],mylib:4,mylibraryproject:38,myproj:[0,1,17],myproject:34,myprojectnam:30,myspecialcollect:39,myvar:34,name:[0,1,6,7,11,13,15,23,24,29,30,32,34,38,39,40],narrow:37,nativ:[18,27],navig:11,nbsp:[32,39],ndebug:7,ndefault:39,necessari:[0,36,42],need:[0,4,6,7,9,10,27,30,34,37,38],neglig:26,nest:[],network:23,nevertheless:13,newer:36,newlib:6,next:[13,38],nicer:0,nico:0,nicoretti:28,nil:23,nilclass:23,nmake:17,no_autodir:0,non:[0,6],none:[26,36],noninfring:26,note:[],noth:28,notic:26,novemb:0,now:[],number:[0,7,15,24],oathnam:0,object:[0,5],obtain:26,octob:0,off:[0,15,32,37],offici:0,often:[23,35,38],old:[0,12],omit:[0,1,6,39],onc:[10,31,37,39],onli:[],open:[0,6,23,38],opinion:42,optim:[6,7],option:[],order:[],org:35,origin:[0,4,29,36,41],other:[0,2,6,7,11,13,19,26,30,34,38,42],otherwis:[13,26,37,38],our:[36,42],out:[0,1,10,15,18,26,37,39,41],output:[],outputdir:[0,32,34],outsid:[4,7],over:[32,39],overview:[],overwrit:[7,37],overwritten:[0,12],owner:26,packag:36,page:[0,9,12,15,18],paht:38,paket:24,paramet:[0,19,30,36,38],parent:[0,1,29,31,32],pars:29,parser:[0,23],part:[6,26,30,35,38,39],parti:[6,26],particular:26,pass:0,password:23,patch:32,path:[],path_separ:0,pathnam:0,pathto:32,pattern:[0,1,32],pclint:38,peak:27,peopl:42,per:[0,12,23,37],perfect:10,perform:[],perman:36,permiss:26,permit:26,person:[26,32],personali:42,phisolophi:42,phrase:26,pictur:0,pipe:0,place:[0,38,40],plain:0,platform:[28,34,37],pleas:[14,21],plugin:[0,14,18,21],png:35,point:42,polici:32,port:24,portion:26,posix:36,possibl:[0,1,4,6,9,10,26,29,31,34,35,38,39,41],post:[2,8],poststep:[0,8,32],practic:41,pragma:38,pre:[],prebuild:[],predefin:[],prefer:[],prefix:[0,36],prepro:0,preproc_with_compil:0,press:12,prestep:[0,32,38],prestepmain:2,pretti:[31,42],previou:0,primarybootloader2includ:30,print:[0,37,41],print_less:0,prioriti:[0,31,34],problem:[15,38],process:[0,26,42],procur:26,product:26,profit:26,program:[26,36],programm:36,progress:42,progressbar:[0,23],proj:0,projec:[10,34],project:[],projectdir:[0,34,38],projectnam:[0,34,38],projnam:34,properli:0,properti:[12,18],protect:23,prove:42,provid:[0,9,26,28,37,38,42],proxi:23,prqa:37,publish:26,puh:[],purpos:[26,42],put:31,qac:[0,37],qac_hom:[0,37],qac_rcf:0,qacdata:[0,37],qacfilt:37,qacli:[0,37],qacnoformat:0,qacpp:[],qacretri:0,qacstep:37,qaf:37,quickstart:[],quot:[32,39],raid:27,rake:0,ram:27,rare:[0,38],rather:42,raw:[0,36],rcf:[0,37],rdoc:23,read:[0,8,10,14,36,42],readi:28,real:[29,34],realli:[0,1],reason:[36,42],rebuild:[15,25,27,37],rebuilt:0,recogn:[0,30],recommend:17,recompil:0,recorgn:38,recreat:[0,12],rectangl:35,recurs:[0,31],red:35,redirect:38,redistribut:26,reduc:7,redund:0,refactor:25,refer:[0,6,7,30],referenc:[0,7,26,30],reformat:0,refus:0,regardless:[0,29,38],regener:0,regular:[7,29,40],rel:[0,30,32],releas:[0,6,7,39],relev:6,reload:[0,28],remov:[],renam:[0,36],render:35,repetet:31,replac:[],report:0,repositori:[10,41],reproduc:26,requir:0,requiredbakevers:32,reserv:26,resourc:0,respons:32,rest:[24,38],restart:14,restrict:[0,26],result:[],retain:26,retri:0,retriev:[],reus:0,revis:23,rework:0,rewrit:17,rfc:[],rgen:[0,23],rid:[12,36],right:[0,15,19,26,37],robust:0,root1:[1,39],root2:[1,39],root:[],rtext:[0,9,23],rtext_eclipse_plugin:9,rubi:[],ruby192:36,rubygem:[0,23],rule:[0,37],run:[0,13,23,27,36,39,42],same:[],satisfi:10,script:[0,6,10,17,32,42],scroll:0,search:[],sec:27,second:[0,15,37],secur:[14,40],see:[0,15,19,23,26,35,36,40,42],seem:41,seen:[0,15],select:[],sell:26,sens:10,sensit:0,separ:[0,1,26,31,38],seper:34,septemb:0,sequenc:36,server:21,servic:26,set:[],setup:[],sever:[0,1,10,24,31,39],shall:[4,6,12,26],shell:[2,36],shift:0,shortcut:0,should:[],show:[0,38],show_abs_path:0,show_config:0,show_doc:0,show_incs_and_def:0,show_licens:0,shown:[0,10,15,18,19,25,37],signal:36,similar:12,simliar:40,simpli:[7,10,12,15,31,37],singl:[],site:[9,14,21],size:[15,38],slash:[0,32],slow:0,small:10,softwar:[9,14,22,26,41],solut:[18,23,38],some:[0,6,10,12,15,18,26,38],someth:[0,1,34],sometim:42,soon:9,sort:0,sourc:[0,6,8,10,12,13,19,23,25,26,40],space:[0,32],special:[0,26,30],specifi:[0,1,2,6,7,8,10,15,19,29,32,37,38,39,41],spefici:[],spent:42,spider:13,src:[0,8,28],standard:12,start:[],startup:[0,27],startupcod:0,startupstep:[0,32],state:26,statement:[15,41],stdin:[0,36],stdout:37,step:[2,8,10,14,21,36,38,40,42],stick:42,still:[0,10],stop:[0,1,39],stoponfirsterror:0,store:0,straight:31,strategi:0,stream:0,strict:26,string:[0,32,34,39],structur:[28,35],stty:36,studio:[],stuff:[2,7,34],style:0,sub1:41,sub2:41,sub3:39,sub:[0,7,8,12,31],subcollect:39,subfold:[0,37],subject:26,sublicens:26,subprocess:36,subproject:7,subset:10,substanti:26,substitu:[],substitut:[0,8,26,32,34],subtag:0,success:0,successful:14,successfulli:[23,25,41],suitabl:13,suppli:38,supplier:6,support:[],suppress:[0,38],sure:[6,23,38],svn:41,symbol:13,symlink:[],sync:41,system:[0,7,10,23,27,34,36,38],tag:[0,6],take:[0,15,27,40,42],taken:[0,8],target:[0,32],team:10,templat:[0,37],term:26,test:[],testa:35,text:[32,35],than:[],thank:0,theconfig:34,thei:[6,12,29,42],them:[0,12,29],themselv:4,theori:26,theproject:34,therefor:[7,34,42],thi:[0,1,4,6,10,11,12,13,15,18,19,21,23,24,26,28,29,30,31,34,36,37,38,39,40,41,42],thing:37,think:42,third:[6,26,37],those:[6,15,42],though:[38,42],thread:[0,27],three:[6,11,32,37],through:42,ti_ar:0,ti_cl:0,ti_hom:0,time:[0,10,28,34],timeout:0,tip:[],tms470:0,too:[],tool:[0,10,18,21,30,34,37,42],toolchain:[0,7,8,18,32,37,38],toolchain_info:0,toolchain_nam:0,toolchainnam:[0,34],toolkit:[0,17,23,37,39],toolsprqaprqa:[],top:29,tort:26,touch:25,tpng:35,treat:0,tred:35,tree:0,tri:[24,37],trick:[],trust:14,tty:36,turn:[0,6],two:[0,1,6,18,34,39],type:[],typic:[],typo:0,unchang:25,uncommon:1,undefin:23,under:[0,10,13],underscor:26,understand:[35,42],unfilt:37,uniniti:0,unintention:0,uniqu:39,unit:[0,39],unittest:[0,4,39],unittestlib:39,unittestlibswithoutbsp:39,unix:[],unknown:24,unless:26,unlock:23,unnecessari:[],unter:12,updat:[0,9,14,21],updatesit:14,upper:4,upward:[0,37],usag:34,user:[],userlibrari:[30,32],usr:34,usual:[1,2,15,18,34,42],usuali:23,valid:[0,7,30,31,32],validexitcod:[0,32],valu:[0,32,34],variabl:[],vcvarsal:18,verbos:0,veri:[0,11,12,23,27,31,39],version:[0,17,23,27,36,37,38,42],via:[0,10,15,19,21,29,36],view:[15,37],virtual:0,visibl:36,visual:[],vs2013:0,w3520:27,wai:[0,17,23,26,34,36,42],wait:42,wall:8,want:[0,1,6,10,12,28,29,40,42],warn:[],warn_sect:0,warranti:26,web:23,webpag:23,well:[0,38],were:[0,23,26],what:[],whatev:[7,30],when:[0,6,17,25,26,41],where:[0,42],whether:[26,42],which:[],white:36,whole:[0,10,26,27,35],whom:26,why:[],wildcard:[1,39],window:[0,9,10,15,19,27,34,36,41],wishlist:0,without:[6,18,25,26,27,29,34],wizard:[0,10],won:[2,38],word:0,work:[0,10,13,15,29,36,40,41],workaround:[0,25],workflow:[],workspac:[],world:34,would:[0,4,34],wrap:0,wrapper:[10,11,12],write:[0,29,30,37,40],writecc2j:0,written:[0,1,15],wrong:0,www:[14,21,35],wysiwyg:42,x86_64:[23,28],xeon:27,xml:[21,38],yesquant:39,yet:[10,18],you:[],your:[]},titles:["Changelog","Commandline","The build hierarchy","Concepts","Injection and inheritance of IncludeDir and Dependency","The link order","Prebuild configurations for distributions","The main project","The Project.meta file","Eclipse","How to convert existing CDT workspaces","How to create a new project in Eclipse","How to create a workspace in Eclipse","How to debug in Eclipse","How to install bake Eclipse integration","How to use bake in Eclipse","IDE Support","How to create VS-Projects using bake","How to Debug in Visual Studio","How to use bake in Visual Studio","Visual Studio","How to install bake Visual Studio integration","bake 2.23.6","Install bake","Internal developing notes","Known Issues","License","Performance","Quickstart","Adapt configs","Auto-adjustment of paths to existing projects","Derive configs","The Syntax of the Project.meta file","Syntax","Variables in Project.meta","Generating dot graphs","How to use bake with cygwin","QACPP","Static Code Analysis","The Bakery","Clang Analyze","Additional features","Why you should use bake"],titleterms:{"0x01":24,"0x0a":24,"import":[1,12],"new":11,"static":38,adapt:29,add:13,addit:41,adjust:[15,30],advantag:7,analysi:38,analyz:40,applic:[1,13],arbitrari:1,auto:30,bake:[1,14,15,17,19,21,22,23,27,34,36,37,38,42],bakeri:39,basic:38,bind:9,build:[1,2,15,24,37],can:13,cdt:[10,15],changelog:0,choos:15,clang:40,clean:[1,15],cmake:27,code:[13,38],collect:39,commandlin:[1,39],compil:[13,38],complex:34,concept:3,config:[29,31],configur:[6,13,15,38],convert:10,creat:[11,12,13,17,37],cygwin:36,debug:[13,18],defin:[15,34,38],depend:4,deriv:31,desgin:42,develop:24,differ:27,differnt:1,directori:[1,7],distribut:6,doe:23,dot:35,due:38,dure:23,eclips:[9,11,12,13,14,15,27],effect:29,environ:[27,34],error:[23,24,38],exampl:[1,2,5,7,8,23,38],exist:[10,30],extend:29,extern:5,fail:38,featur:41,file:[1,8,15,32],from:1,gener:35,get:1,goal:42,graph:[2,35],header:24,help:1,hierarchi:2,highlight:9,how:[1,10,11,12,13,14,15,17,18,19,21,23,36,39],implic:31,includ:[15,38,41],includedir:4,inform:13,inherit:[4,31],inject:4,instal:[14,21,23],instruct:32,integr:[14,21],interact:32,intern:24,introduct:29,invalid:23,issu:[23,25,38],junction:41,just:1,kei:9,known:[23,25,38],languag:23,librari:5,licens:26,link:5,lint:38,main:[7,15],makefil:27,mani:38,map:13,messag:23,meta:[8,32,34,39],miss:38,more:1,most:1,multipl:31,nest:34,note:[24,34],now:13,occurr:29,onli:38,option:1,order:5,output:7,packet:24,path:[13,30],perform:27,perspect:15,pre:[],prebuild:6,predefin:34,prefer:15,project:[1,7,8,11,15,17,24,30,32,34],qacpp:37,quickstart:28,receiv:24,remov:29,replac:29,result:[15,27,37],root:1,rubi:27,same:5,search:38,select:15,send:24,set:23,setup:38,should:42,singl:1,socket:24,specif:1,start:[23,24],step:37,studio:[18,19,20,21],support:16,symlink:41,syntax:[9,32,33,39],test:27,than:1,tip:[],too:38,trick:[],type:[24,29],typic:6,unix:27,unnecessari:41,user:34,variabl:34,viewer:32,visual:[18,19,20,21],warn:34,what:[8,39],which:1,why:42,within:1,without:37,workflow:6,workspac:[10,12],you:[13,42],your:13}})
|
1
|
+
Search.setIndex({envversion:47,filenames:["changelog","commandline/commandline","concepts/build_hierarchy","concepts/concepts","concepts/inject","concepts/link_order","concepts/prebuild","concepts/the_main_project","concepts/the_project_meta_file","ide/eclipse/eclipse","ide/eclipse/how_to_convert_existing_cdt_workspace","ide/eclipse/how_to_create_a_new_project_in_eclipse","ide/eclipse/how_to_create_a_workspace_in_eclipse","ide/eclipse/how_to_debug_in_eclipse","ide/eclipse/how_to_install_eclipse_plugin","ide/eclipse/how_to_use_bake_in_eclipse","ide/ide_integrations","ide/vs/how_to_create_vs_projects","ide/vs/how_to_debug_in_vs","ide/vs/how_to_used_bake_in_vs","ide/vs/vs","ide/vs/vs_install","index","install/install_bake","internal","known_issues","license","performance/performance","quickstart/quickstart","syntax/adapt_configs","syntax/auto_adjustment","syntax/derive_configs","syntax/project_meta_syntax","syntax/syntax","syntax/variable_substitutions","tips_and_tricks/dot","tips_and_tricks/how_to_use_bake_with_cygwin","tips_and_tricks/qac","tips_and_tricks/static_code_analysis","tips_and_tricks/the_bakery","tips_and_tricks/the_clang","tips_and_tricks/tips_and_tricks","why_bake/why_bake"],objects:{},objnames:{},objtypes:{},terms:{"0x00":24,"0x02":24,"0x3":0,"0xff":24,"1_5_1":37,"2p180":27,"2p95":[23,28],"3p0":27,"6p398":27,"7p352":27,"__all__":29,"__main__":29,"_dev":36,"_lintout":38,"_one_":41,"break":42,"byte":24,"case":[0,6,12,30,38],"class":4,"default":[0,1,12,23,28,32,37,39],"export":10,"function":0,"import":[],"long":[0,19,27],"new":[],"return":[0,28,36],"static":[],"switch":[0,10,15,28,36,42],"throw":23,"true":[4,29,32],"try":[0,10],"while":23,abc:[1,29,34],abi:0,abl:[38,42],abort:[0,24,36],about:[0,15],abov:[2,6,10,26,29,31],absolut:0,absolute_path_to_working_dir:41,accept:[0,14],access:0,account:0,acf:37,action:26,actual:23,adapt:[],add:[],addit:[19,26,27],adjust:[],adjustcdt:0,adjustinclud:0,admin:[0,37],adr:32,advantag:[],advis:26,after:[0,14,36,38,39],again:[0,10,27],algorithm:6,alia:[0,36,38],all:[0,1,2,6,7,12,13,15,26,29,31,32,35,36,38,39,40,41],allow:[0,1,7,31,34],allunittest:39,almost:11,alpha:40,alphabet:0,alreadi:15,also:[0,11,12,13,15,18,34,37],alternativli:37,although:0,alwai:[0,7,13,15,32],ambigu:0,analys:0,analysi:[],analyz:[],ani:[7,18,26],annot:[0,19],anoth:[0,1,18,25,38],anotherfold:37,ansi:[1,36,37],anymor:[0,7,10,36],anyth:25,appear:15,appli:[0,13,26,29,30,36,37],appropri:[10,15,18],april:0,apropri:23,ar470:0,archiv:[0,2,8,25,32,34],archiverpath:[0,15,34],aren:42,argument:[0,6,18],aris:26,around:38,arrai:32,arrow:13,articular:26,artifact:34,artifactnam:[0,8,31,32,34],artifactnamebas:[0,34],asm:[1,32],asmpath:[0,15,34],asscoat:38,assembl:[34,41],associ:[9,26],assum:[1,8,23],atom:21,attribut:[0,29,31],august:0,author:26,auto:[],autodir:0,automat:[0,8,13,30,37],avail:[0,4,6,12,14,18,21],avoid:[0,7,23,36,42],back:[4,32],background:36,backward:0,bake:[],bakeqac:[0,37],bakeri:[],base:[0,6,31,34],basedon:32,basi:41,basic:[],bat:[18,36],batch:[0,18],becaus:[4,8,31,38,42],been:[0,1,25,26],befor:[0,5,10,15],begin:0,behaviour:[0,6,37],below:[0,14,18,21],best:41,beteween:42,better:0,between:[0,15,42],big:42,bin:[0,18,34,36],binari:[0,26,36,38],bla:0,black:[1,28,36,39],blue:[32,39],bootload:34,bootloader_1:34,bootloaderupdat:30,both:[6,31],bottom:2,box:[13,15],broken:0,browser:23,bsp:39,bspabc:1,bspcorez6:0,bug:23,bugfix:0,build:[],build_:0,built:[0,1,6,7,8,25,36,38,42],bundl:0,busi:26,cach:[0,28],calcul:[0,30,37],calcvar:34,call:[0,1,8,18,36,37,38,39,40],can:[],candriv:[0,34],cannot:[0,4,7,13],care:0,caus:[23,26],cc2j:0,ccsv5:0,cct:[0,37],cdt:[],certain:37,chang:[0,6,7,10,13,15,23,25,29],charact:[0,36],charg:26,check:[0,1,18,21,23,39,41],checkbox:10,checker:40,child:[29,31],choos:[],chosen:[0,15,37],circl:15,circular:0,cl470:0,claim:26,clang:[],clang_analyz:[0,40],clean:[],clear:0,clearer:0,clearn:0,click:[13,15,19,21],client:[0,31],clobber:0,close:[0,6],cmake:[],cmd:[0,32,34],cmdline:[0,32],code:[],code_st:0,collect:[],collectionmandatori:39,color:[0,1,23,28,36,37,39],com:[14,21],combin:[0,2,37],come:[17,38],comma:[0,1,31],command:[0,2,6,9,15,18,19,24,28,29,32,34,36,37,38,39,42],commandlin:[],comment:[0,1,32,39],commit:[10,12,41],common7:18,compar:12,compat:[0,42],compil:[],complet:[0,6,10,15,38],complex:[],compon:[4,26],concaten:31,concret:4,condit:26,config:[],confignam:[0,34,38],configpkg:0,configur:[],confnam:34,confus:0,connect:[23,24,26],consecut:37,consequenti:26,consist:[0,8,26],consol:[0,1,15,36,39],contain:[8,26,30],content:[2,10,32],context:[4,7,10,12],contract:26,contrast:27,contributor:26,control:[10,12,29],conveni:29,convers:[0,10],conversion_info:0,convert:[],copi:[0,6,26],copyright:26,corez6:0,corpor:26,correct:[0,36],correctli:[0,21,23],cosmet:0,could:0,cpath:[0,15,34],cplusplu:40,cpp:[1,7,8,18,28,29,31,32,38,40],cpppath:[0,15,34],cprojec:12,cproject:[10,11,12,15],cpu:27,crash:0,creat:[],createvsproject:[0,17],ctrl:[0,36],ctt:[],current:[0,1,6,32,34,38,39],cursor:[32,39],custom:[2,8,38],customconfig:[0,2,29,31,32,35,40],cxxproject:[0,26],cyan:35,cyclic:0,cygdriv:[13,36],cygwin:[],damag:26,darwin13:[23,28],data:26,databas:37,deadcod:40,deal:26,debug:[],debug_info:7,debug_main:8,decemb:0,decor:15,def:[0,34],defaulttoolchain:[0,7,8,15,18,19,29,31,32,34,38,40],defin:[],definit:[0,5,7,34],delet:[0,10,25],deped:23,depenc:42,depend:[],dependend:42,deprec:0,deprect:0,deriv:[],derv:31,describ:[15,18],descript:[0,32,34,39],deselect:19,desgin:[],design:42,detail:28,detect:[0,37],develop:[],devenv:18,diab:[29,31],diag_warn:0,dialog:[0,13],did:0,differ:[],dir:[0,32,34],direct:[0,26],directli:[6,15,34],directori:[],disabl:[0,19],discard:24,disclaim:26,disk:10,dismiss:37,displai:[0,15,19,32,39],distribut:[],doc:[0,38],docu:[0,32],document:[0,23,26,42],doe:[],don:[13,18,30,42],done:[0,7,13,28],dot:[],doubl:[21,32,39],download:[9,21],due:[],eabi:0,each:[0,26],earli:0,earlier:0,easi:[11,22,23,31,35,42],easier:37,easiest:[36,42],easili:[7,40,42],echo:8,eclips:[],eclipseord:[0,29,32],edit:[12,25,40],editor:9,either:[31,40],element:[29,30,31,32,39],elf:34,ellips:35,els:[1,25],email:32,embrac:42,empti:[0,7,11,34],en_u:[23,37],enabl:[0,9,12,15],end:0,energi:42,enforc:37,english:23,ensur:[0,10],entir:42,env:[0,32],environ:[],environmentvari:[],equal:[0,34],equip:2,equival:26,error:[],escap:36,especi:0,esrlab:[14,21],etc:[8,18,34,36,37,38,41],evalu:[23,34],evalut:34,even:[0,26,38,42],event:26,everi:[0,2,8,38],everyth:7,exactli:[29,37],exampl:[],except:[0,6,15,24,28,32],exclud:[0,39],exclude_filt:0,excludefil:[0,32],execut:[0,2,6,8,13,18,25,38,41],executableconfig:[0,2,4,7,8,29,31,32,35,38,40],exemplari:26,exens:34,exist:[],exit:[0,28],exitstep:[0,32],expand:0,experiment:0,explicit:38,explicitli:[0,6,26],explor:[10,12,15],express:26,extend:[],extens:21,extern:[],externallibrari:[0,5,8,30,32],externallibrarysearchpath:[8,30,32],extrem:0,fact:38,fail:[],failur:42,fals:[0,32],fan:42,fast:[22,42],faster:27,featur:[6,12,14,15],februari:0,fetch:23,few:[6,15,37,42],file:[],filenam:[0,24,35],fill:[10,11,15],filter:[0,32,37],find:10,finish:12,first:[0,1,18,30,31,37,38,39],fit:[26,42],fix:[0,27],flag:[0,7,8,18,31,32,38,40],flex:38,focu:42,folder:[0,1,6,11,30,37,38],follow:[6,13,14,21,26,28,30,31,34,36,38,40],follw:28,forget:13,form:26,format:[0,38],format_specif:38,forward:[0,31,38],found:[0,10,12,13,23,28,29,34,36,37],framework:37,free:26,from:[],front:[4,32],fstab:36,full:34,furnish:26,gcc:[0,7,8,13,18,29,31,34,37,38,40],gcc_env:0,gdb:13,gem:[0,23],gener:[],get:[],ghz:27,git:41,github:[0,9],given:24,glob:0,gmock:37,goal:[],good:[12,26,42],googl:23,googletest:4,govern:26,grant:26,graphic:26,graphviz:35,greater:[0,24],green:[13,35],greenhil:0,gsub:23,gtest:37,had:0,handl:[0,38],handler:36,happen:8,hard:[4,30,35,42],hardcod:0,hash:[32,39],have:[0,1,4,7,10,11,12,13,15,18,23,26,30,31,32,36,37,38,39,40,42],hdd:27,header:[],hello:34,helper:38,here:[12,18,29,42],herebi:26,hereinaft:26,hide:[0,6],high:31,higher:0,highest:0,highlin:23,hinder:42,hit:36,holder:26,host:[0,1,8,23,28,29,34,38],hostnam:34,hour:42,howev:[0,13,23,26,41],http:[14,21,35],idea:12,ignor:[0,12,14],ignore_cach:0,iinclud:[8,28],imag:35,imagin:40,impact:0,implement:4,impli:26,implicitli:31,improv:0,inc:[0,31],incident:26,includ:[],include_filt:0,include_path:0,includedir:[],inclus:0,inconsist:[0,7],incorrect:41,incorrectli:0,independ:[0,39,42],indirect:[0,26],infix:0,info:[0,24,28,41],informationen:10,inherit:[],inject:[],input:0,instal:[],instead:[0,4,7,10,36,37,40],integr:[],intel:27,intend:0,intern:[],internaldefin:[0,15,32],internalinclud:[0,15,32],internat:23,interrupt:[26,36],introduc:0,invalid:[],invert:0,invok:40,issu:[],istal:23,item:[15,19],itself:7,januari:0,java:0,json:0,juli:0,junction:[],june:0,keep:32,keil:0,keyword:[0,29],kicker:42,kind:26,know:4,known:[],lab:[14,21,26],label:15,lake:26,larg:42,larger:[0,35],last:[0,18,19],latest:0,latter:[6,34],lc_all:23,ldebug:0,lead:0,lear:26,least:2,leav:[7,25],length:24,less:42,let:8,level:[0,4,29],liabil:26,liabl:26,lib2:35,lib:[0,4,7,8,32,34,36],lib_bootloader_debug:34,lib_some_debug:34,libpostfixflag:32,libprefixflag:32,librari:[],libraryconfig:[0,2,4,7,8,29,31,32,35,38],libsub:8,licens:[],life:34,lightweight:42,like:[0,1,2,7,15,18,21,23,29,30,31,34,36,38,40],limit:26,line:[0,6,15,18,19,24,26,29,32,34,36,37,38,39,42],link:[],link_onli:0,linker:[0,2,18,29,31,32,34],linkerpath:[0,15,34],linkerscript:[0,32],lint:[],lint_cmac:38,lint_cppmac:38,lint_max:0,lint_min:0,lintpolici:[32,38],linux:[0,41],list:[0,12,26,31,38,41],listen:[0,24],llvm:0,lnt:[0,38],load:[0,28],local:0,localhost:24,locat:[0,8,11],lock:0,logic:6,longer:0,look:[21,31,34,42],loss:26,lower:4,machin:0,made:[0,13],magic:0,mai:[0,6,36],main1:39,main2:39,main:[],mainconfignam:[0,7,34],mainproj:[1,39],mainprojectdir:[0,34,38],mainprojectnam:[0,7,34],maintain:42,maintanc:42,major:[6,12,32,36],mak:38,make:[0,4,6,10,23,36,37,38,42],makefil:[],mani:[],manipul:29,manual:[9,10,25],map:[],mapfil:32,mar:13,march:0,mark:[0,10,15,32,39],marker:0,match:[0,1,29],materi:26,matter:31,max:[0,38],maximum:[0,32],mcpp:37,mean:[10,29,40,42],mechan:12,mention:37,menu:[0,10,12,15,19],merchant:26,merg:[0,6,26,31],messag:[],met:26,meta:[],method:23,microsoft:18,might:[0,10,15,23,41],min:[0,27,38],mind:32,mingw:0,minimum:[0,32],minor:[0,32],minut:[15,28,42],misra:[0,38],miss:[],mix:29,mkdir:28,mmd:0,mock:[4,37],mode:[0,36],modif:26,modifi:26,more:[],mount:13,mous:[32,39],move:[0,32,39],msvc:[0,18],multi:0,multipl:[],must:[0,5,6,7,13,15,26,36,38,39,42],mv7a8:0,my_comput:34,my_project:[8,28],myinclud:[],mylib:4,mylibraryproject:38,myproj:[0,1,17],myproject:34,myprojectnam:30,myspecialcollect:39,myvar:34,name:[0,1,6,7,11,13,15,23,24,29,30,32,34,38,39,40],narrow:37,nativ:[18,27],navig:11,nbsp:[32,39],ndebug:7,ndefault:39,necessari:[0,36,42],need:[0,4,6,7,9,10,27,30,34,37,38],neglig:26,nest:[],network:23,never:0,nevertheless:13,newer:36,newlib:6,next:[13,38],nicer:0,nico:0,nicoretti:28,nil:23,nilclass:23,nmake:17,no_autodir:0,non:[0,6],none:[26,36],noninfring:26,note:[],noth:28,notic:26,novemb:0,now:[],number:[0,7,15,24,37],oathnam:0,object:[0,5],obtain:26,octob:0,off:[0,15,32,37],offici:0,often:[23,35,38],old:[0,12],omit:[0,1,6,39],onc:[10,31,37,39],onli:[],open:[0,6,23,38],opinion:42,optim:[6,7],option:[],order:[],org:35,origin:[0,4,29,36,41],other:[0,2,6,7,11,13,19,26,30,34,38,42],otherwis:[13,26,37,38],our:[36,42],out:[0,1,10,15,18,26,37,39,41],output:[],outputdir:[0,32,34],outsid:[4,7],over:[32,39],overview:[],overwrit:[7,37],overwritten:[0,12],owner:26,packag:36,page:[0,9,12,15,18],paht:38,paket:24,paramet:[0,19,30,36,38],parent:[0,1,29,31,32],pars:29,parser:[0,23],part:[6,26,30,35,38,39],parti:[6,26],particular:26,pass:0,password:23,patch:32,path:[],path_separ:0,pathnam:0,pathto:32,pattern:[0,1,32],pclint:38,peak:27,peopl:42,per:[0,12,23,37],perfect:10,perform:[],perman:36,permiss:26,permit:26,person:[26,32],personali:42,phisolophi:42,phrase:26,pictur:0,pipe:0,place:[0,38,40],plain:0,platform:[28,34,37],pleas:[14,21],plugin:[0,14,18,21],png:35,point:42,polici:32,port:24,portion:26,posix:36,possibl:[0,1,4,6,9,10,26,29,31,34,35,38,39,41],post:[2,8],poststep:[0,8,32],practic:41,pragma:38,pre:[],prebuild:[],predefin:[],prefer:[],prefix:[0,36],prepro:0,preproc_with_compil:0,press:12,prestep:[0,32,38],prestepmain:2,pretti:[31,42],previou:0,primarybootloader2includ:30,print:[0,37,41],print_less:0,prioriti:[0,31,34],problem:[15,38],process:[0,26,42],procur:26,product:26,profit:26,program:[26,36],programm:36,progress:42,progressbar:[0,23],proj:0,projec:[10,34],project:[],projectdir:[0,34,38],projectnam:[0,34,38],projnam:34,properli:0,properti:[12,18],protect:23,prove:42,provid:[0,9,26,28,37,38,42],proxi:23,prqa:37,publish:26,puh:[],purpos:[26,42],put:31,qac:[0,37],qac_hom:[0,37],qac_rcf:0,qacdata:[0,37],qacfilt:37,qacli:[0,37],qacnoformat:[0,37],qacpp:[],qacretri:[0,37],qacstep:37,qaf:37,quickstart:[],quot:[32,39],raid:27,rake:0,ram:27,rare:[0,38],rather:42,raw:[0,36],rcf:[0,37],rdoc:23,read:[0,8,10,14,36,42],readi:28,real:[29,34],realli:[0,1],reason:[36,42],rebuild:[15,25,27,37],rebuilt:0,recogn:[0,30],recommend:17,recompil:0,recorgn:38,recreat:[0,12],rectangl:35,recurs:[0,31],red:35,redirect:38,redistribut:26,reduc:7,redund:0,refactor:25,refer:[0,6,7,30],referenc:[0,7,26,30],reformat:0,refus:0,regardless:[0,29,38],regener:0,regular:[7,29,40],rel:[0,30,32],releas:[0,6,7,39],relev:6,reload:[0,28],remov:[],renam:[0,36],render:35,repetet:31,replac:[],report:0,repositori:[10,41],reproduc:26,requir:0,requiredbakevers:32,reserv:26,resourc:0,respons:32,rest:[24,38],restart:14,restrict:[0,26],result:[],retain:26,retri:0,retriev:[],reus:0,revis:23,rework:0,rewrit:17,rfc:[],rgen:[0,23],rid:[12,36],right:[0,15,19,26,37],robust:0,root1:[1,39],root2:[1,39],root:[],rtext:[0,9,23],rtext_eclipse_plugin:9,rubi:[],ruby192:36,rubygem:[0,23],rule:[0,37],run:[0,13,23,27,36,39,42],same:[],satisfi:10,script:[0,6,10,17,32,42],scroll:0,search:[],sec:27,second:[0,15,37],secur:[14,40],see:[0,15,19,23,26,35,36,40,42],seem:41,seen:[0,15],select:[],sell:26,sens:10,sensit:0,separ:[0,1,26,31,38],seper:34,septemb:0,sequenc:36,server:21,servic:26,set:[],setup:[],sever:[0,1,10,24,31,39],shall:[4,6,12,26],shell:[2,36],shift:0,shortcut:0,should:[],show:[0,38],show_abs_path:0,show_config:0,show_doc:0,show_incs_and_def:0,show_licens:0,shown:[0,10,15,18,19,25,37],signal:36,similar:12,simliar:40,simpli:[7,10,12,15,31,37],singl:[],site:[9,14,21],size:[15,38],slash:[0,32],slow:0,small:10,softwar:[9,14,22,26,41],solut:[18,23,38],some:[0,6,10,12,15,18,26,38],someth:[0,1,34],sometim:42,soon:9,sort:0,sourc:[0,6,8,10,12,13,19,23,25,26,40],space:[0,32],special:[0,26,30],specifi:[0,1,2,6,7,8,10,15,19,29,32,37,38,39,41],spefici:[],spent:42,spider:13,src:[0,8,28],standard:12,start:[],startup:[0,27],startupcod:0,startupstep:[0,32],state:26,statement:[15,41],stdin:[0,36],stdout:37,step:[2,8,10,14,21,36,38,40,42],stick:42,still:[0,10],stop:[0,1,39],stoponfirsterror:0,store:0,straight:31,strategi:0,stream:0,strict:26,string:[0,32,34,39],structur:[28,35],stty:36,studio:[],stuff:[2,7,34],style:0,sub1:41,sub2:41,sub3:39,sub:[0,7,8,12,31],subcollect:39,subfold:[0,37],subject:26,sublicens:26,subprocess:36,subproject:7,subset:10,substanti:26,substitu:[],substitut:[0,8,26,32,34],subtag:0,success:0,successful:14,successfulli:[23,25,41],suitabl:13,suppli:38,supplier:6,support:[],suppress:[0,38],sure:[6,23,38],svn:41,symbol:13,symlink:[],sync:41,system:[0,7,10,23,27,34,36,38],tag:[0,6],take:[0,15,27,40,42],taken:[0,8],target:[0,32],team:10,templat:[0,37],term:26,test:[],testa:35,text:[32,35],than:[],thank:0,theconfig:34,thei:[6,12,29,42],them:[0,12,29],themselv:4,theori:26,theproject:34,therefor:[7,34,42],thi:[0,1,4,6,10,11,12,13,15,18,19,21,23,24,26,28,29,30,31,34,36,37,38,39,40,41,42],thing:37,think:42,third:[6,26,37],those:[6,15,42],though:[38,42],thread:[0,27],three:[6,11,32,37],through:42,ti_ar:0,ti_cl:0,ti_hom:0,time:[0,10,28,34],timeout:0,tip:[],tms470:0,too:[],tool:[0,10,18,21,30,34,37,42],toolchain:[0,7,8,18,32,37,38],toolchain_info:0,toolchain_nam:0,toolchainnam:[0,34],toolkit:[0,17,23,37,39],toolsprqaprqa:[],top:29,tort:26,touch:25,tpng:35,treat:0,tred:35,tree:0,tri:[24,37],trick:[],trust:14,tty:36,turn:[0,6],two:[0,1,6,18,34,39],type:[],typic:[],typo:0,unchang:25,uncommon:1,undefin:23,under:[0,10,13],underscor:26,understand:[35,42],unfilt:37,uniniti:0,unintention:0,uniqu:39,unit:[0,39],unittest:[0,4,39],unittestlib:39,unittestlibswithoutbsp:39,unix:[],unknown:24,unless:26,unlock:23,unnecessari:[],unter:12,updat:[0,9,14,21],updatesit:14,upper:4,upward:[0,37],usag:34,user:[],userlibrari:[30,32],usr:34,usual:[1,2,15,18,34,42],usuali:23,valid:[0,7,30,31,32],validexitcod:[0,32],valu:[0,32,34],variabl:[],vcvarsal:18,verbos:0,veri:[0,11,12,23,27,31,39],version:[0,17,23,27,36,37,38,42],via:[0,10,15,19,21,29,36],view:[0,15,37],virtual:0,visibl:36,visual:[],vs2013:0,w3520:27,wai:[0,17,23,26,34,36,42],wait:42,wall:8,want:[0,1,6,10,12,28,29,40,42],warn:[],warn_sect:0,warranti:26,web:23,webpag:23,well:[0,38],were:[0,23,26],what:[],whatev:[7,30],when:[0,6,17,25,26,41],where:[0,42],whether:[26,42],which:[],white:36,whole:[0,10,26,27,35],whom:26,why:[],wildcard:[1,39],window:[0,9,10,15,19,27,34,36,41],wishlist:0,without:[6,18,25,26,27,29,34],wizard:[0,10],won:[2,38],word:0,work:[0,10,13,15,29,36,40,41],workaround:[0,25],workflow:[],workspac:[],world:34,would:[0,4,34],wrap:0,wrapper:[10,11,12],write:[0,29,30,37,40],writecc2j:0,written:[0,1,15],wrong:0,www:[14,21,35],wysiwyg:42,x86_64:[23,28],xeon:27,xml:[21,38],yesquant:39,yet:[10,18],you:[],your:[]},titles:["Changelog","Commandline","The build hierarchy","Concepts","Injection and inheritance of IncludeDir and Dependency","The link order","Prebuild configurations for distributions","The main project","The Project.meta file","Eclipse","How to convert existing CDT workspaces","How to create a new project in Eclipse","How to create a workspace in Eclipse","How to debug in Eclipse","How to install bake Eclipse integration","How to use bake in Eclipse","IDE Support","How to create VS-Projects using bake","How to Debug in Visual Studio","How to use bake in Visual Studio","Visual Studio","How to install bake Visual Studio integration","bake 2.23.7","Install bake","Internal developing notes","Known Issues","License","Performance","Quickstart","Adapt configs","Auto-adjustment of paths to existing projects","Derive configs","The Syntax of the Project.meta file","Syntax","Variables in Project.meta","Generating dot graphs","How to use bake with cygwin","QACPP","Static Code Analysis","The Bakery","Clang Analyze","Additional features","Why you should use bake"],titleterms:{"0x01":24,"0x0a":24,"import":[1,12],"new":11,"static":38,adapt:29,add:13,addit:41,adjust:[15,30],advantag:7,analysi:38,analyz:40,applic:[1,13],arbitrari:1,auto:30,bake:[1,14,15,17,19,21,22,23,27,34,36,37,38,42],bakeri:39,basic:38,bind:9,build:[1,2,15,24,37],can:13,cdt:[10,15],changelog:0,choos:15,clang:40,clean:[1,15],cmake:27,code:[13,38],collect:39,commandlin:[1,39],compil:[13,38],complex:34,concept:3,config:[29,31],configur:[6,13,15,38],convert:10,creat:[11,12,13,17,37],cygwin:36,debug:[13,18],defin:[15,34,38],depend:4,deriv:31,desgin:42,develop:24,differ:27,differnt:1,directori:[1,7],distribut:6,doe:23,dot:35,due:38,dure:23,eclips:[9,11,12,13,14,15,27],effect:29,environ:[27,34],error:[23,24,38],exampl:[1,2,5,7,8,23,38],exist:[10,30],extend:29,extern:5,fail:38,featur:41,file:[1,8,15,32],from:1,gener:35,get:1,goal:42,graph:[2,35],header:24,help:1,hierarchi:2,highlight:9,how:[1,10,11,12,13,14,15,17,18,19,21,23,36,39],implic:31,includ:[15,38,41],includedir:4,inform:13,inherit:[4,31],inject:4,instal:[14,21,23],instruct:32,integr:[14,21],interact:32,intern:24,introduct:29,invalid:23,issu:[23,25,38],junction:41,just:1,kei:9,known:[23,25,38],languag:23,librari:5,licens:26,link:5,lint:38,main:[7,15],makefil:27,mani:38,map:13,messag:23,meta:[8,32,34,39],miss:38,more:1,most:1,multipl:31,nest:34,note:[24,34],now:13,occurr:29,onli:38,option:1,order:5,output:7,packet:24,path:[13,30],perform:27,perspect:15,pre:[],prebuild:6,predefin:34,prefer:15,project:[1,7,8,11,15,17,24,30,32,34],qacpp:37,quickstart:28,receiv:24,remov:29,replac:29,result:[15,27,37],root:1,rubi:27,same:5,search:38,select:15,send:24,set:23,setup:38,should:42,singl:1,socket:24,specif:1,start:[23,24],step:37,studio:[18,19,20,21],support:16,symlink:41,syntax:[9,32,33,39],test:27,than:1,tip:[],todo:37,too:38,trick:[],type:[24,29],typic:6,unix:27,unnecessari:41,user:34,variabl:34,viewer:32,visual:[18,19,20,21],warn:34,what:[8,39],which:1,why:42,within:1,without:37,workflow:6,workspac:[10,12],you:[13,42],your:13}})
|
@@ -101,6 +101,7 @@
|
|
101
101
|
<li><a class="reference internal" href="#step-1-create">Step 1: create</a></li>
|
102
102
|
<li><a class="reference internal" href="#step-2-build">Step 2: build</a></li>
|
103
103
|
<li><a class="reference internal" href="#step-3-result">Step 3: result</a></li>
|
104
|
+
<li><a class="reference internal" href="#todo">todo</a></li>
|
104
105
|
</ul>
|
105
106
|
</li>
|
106
107
|
</ul>
|
@@ -156,7 +157,7 @@
|
|
156
157
|
</div>
|
157
158
|
<ul class="simple">
|
158
159
|
<li>The first command creates the qac database. This is needed only once.</li>
|
159
|
-
<li>The second command builds the files.</li>
|
160
|
+
<li>The second command builds and analyzes the files.</li>
|
160
161
|
<li>The third command prints out the result.</li>
|
161
162
|
</ul>
|
162
163
|
<p>To make it easier, bake toolkit provides <em>bakeqac</em>. Instead of writing</p>
|
@@ -169,8 +170,8 @@
|
|
169
170
|
</div>
|
170
171
|
<p>bake will automatically do these three steps. If one of the steps fails, the consecutive steps will be dismissed.</p>
|
171
172
|
<p>You can also choose certain steps (can be combined with “|”):</p>
|
172
|
-
<div class="highlight-console"><div class="highlight"><pre><span class="go">bakeqac <options> --qacstep
|
173
|
-
<span class="go">bakeqac <options> --qacstep
|
173
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="go">bakeqac <options> --qacstep admin|analyze|view</span>
|
174
|
+
<span class="go">bakeqac <options> --qacstep admin</span>
|
174
175
|
<span class="go">etc.</span>
|
175
176
|
</pre></div>
|
176
177
|
</div>
|
@@ -230,6 +231,15 @@
|
|
230
231
|
<li>Files from projects gtest and gmock will be filtered out.</li>
|
231
232
|
</ul>
|
232
233
|
</div>
|
234
|
+
<div class="section" id="todo">
|
235
|
+
<h2>todo<a class="headerlink" href="#todo" title="Permalink to this headline">¶</a></h2>
|
236
|
+
<p>qacnoformat
|
237
|
+
qacretry
|
238
|
+
qac.rcf
|
239
|
+
number of messages
|
240
|
+
cct auto detection
|
241
|
+
ansi color</p>
|
242
|
+
</div>
|
233
243
|
</div>
|
234
244
|
|
235
245
|
|
@@ -6,7 +6,7 @@ module Bake
|
|
6
6
|
|
7
7
|
class BakeqacOptions < Parser
|
8
8
|
attr_reader :rcf, :acf, :qacdata, :qacstep, :qac_home # String
|
9
|
-
attr_reader :c11, :c14, :qacfilter, :qacnoformat # Boolean
|
9
|
+
attr_reader :c11, :c14, :qacfilter, :qacnoformat, :qacunittest # Boolean
|
10
10
|
attr_reader :cct # Array
|
11
11
|
attr_reader :qacretry # int
|
12
12
|
|
@@ -14,7 +14,7 @@ module Bake
|
|
14
14
|
super(argv)
|
15
15
|
|
16
16
|
@main_dir = nil
|
17
|
-
@cVersion = "
|
17
|
+
@cVersion = ""
|
18
18
|
@c11 = false
|
19
19
|
@acf = nil
|
20
20
|
@rcf = nil
|
@@ -24,6 +24,7 @@ module Bake
|
|
24
24
|
@qacstep = nil
|
25
25
|
@qacfilter = true
|
26
26
|
@qacnoformat = false
|
27
|
+
@qacunittest = false
|
27
28
|
@qacretry = 0
|
28
29
|
|
29
30
|
add_option(["-b", "" ], lambda { |x| setDefault(x) })
|
@@ -39,6 +40,7 @@ module Bake
|
|
39
40
|
add_option(["--qacfilter" ], lambda { |x| @qacfilter = (x == "on") })
|
40
41
|
add_option(["--qacretry" ], lambda { |x| @qacretry = x.to_i })
|
41
42
|
add_option(["--qacnoformat" ], lambda { @qacnoformat = true })
|
43
|
+
add_option(["--qacunittest" ], lambda { @qacunittest = true })
|
42
44
|
add_option(["-h", "--help"], lambda { usage; ExitHelper.exit(0) })
|
43
45
|
add_option(["--version" ], lambda { Bake::Version.printBakeqacVersion; ExitHelper.exit(0) })
|
44
46
|
|
@@ -49,10 +51,10 @@ module Bake
|
|
49
51
|
puts " --c++11 Uses C++11 rules, available for GCC 4.7 and higher."
|
50
52
|
puts " --c++14 Uses C++14 rules, available for GCC 4.9 and higher."
|
51
53
|
puts " --cct <file> Sets a specific compiler compatibility template, otherwise $(QAC_HOME)/config/cct/<platform>.ctt will be used. Can be defined multiple times."
|
52
|
-
puts " --rcf <file> Sets a specific rule config file, otherwise
|
54
|
+
puts " --rcf <file> Sets a specific rule config file, otherwise qac.rcf will be searched up to root. If not found, $(QAC_HOME)/config/rcf/mcpp-1_5_1-en_US.rcf will be used."
|
53
55
|
puts " --acf <file> Sets a specific analysis config file, otherwise $(QAC_HOME)/config/acf/default.acf will be used."
|
54
56
|
puts " --qacdata <dir> QAC writes data into this folder. Default is <working directory>/qacdata."
|
55
|
-
puts " --qacstep
|
57
|
+
puts " --qacstep admin|analyze|view Steps can be ORed. Per default all steps will be executed."
|
56
58
|
puts " --qacfilter on|off If off, output will be printed immediately and unfiltered, default is on to reduce noise."
|
57
59
|
puts " --qacretry <seconds> If build or result step fail due to refused license, the step will be retried until timeout. Works only if qacfilter is not off."
|
58
60
|
puts " --version Print version."
|
@@ -101,13 +103,22 @@ module Bake
|
|
101
103
|
|
102
104
|
if not ENV["QAC_HOME"]
|
103
105
|
Bake.formatter.printError("Error: specify the environment variable QAC_HOME.")
|
106
|
+
ExitHelper.exit(1)
|
107
|
+
end
|
108
|
+
|
109
|
+
if !@qacstep.nil?
|
110
|
+
@qacstep.split("|").each do |s|
|
111
|
+
if not ["admin", "analyze", "view"].include?s
|
112
|
+
Bake.formatter.printError("Error: incorrect qacstep name.")
|
113
|
+
ExitHelper.exit(1)
|
114
|
+
end
|
115
|
+
end
|
104
116
|
end
|
105
117
|
|
106
118
|
@qac_home = ENV["QAC_HOME"].gsub(/\\/,"/")
|
107
119
|
@qac_home = qac_home[0, qac_home.length-1] if qac_home.end_with?"/"
|
108
120
|
|
109
121
|
if @cct.empty?
|
110
|
-
|
111
122
|
gccVersion = Bake::Toolchain::getGccVersion
|
112
123
|
if gccVersion.length < 2
|
113
124
|
Bake.formatter.printError("Error: could not determine GCC version.")
|
@@ -123,9 +134,9 @@ module Bake
|
|
123
134
|
end
|
124
135
|
|
125
136
|
while (@cct.empty? or gccVersion[0]>=5)
|
126
|
-
@cct = [qac_home + "/config/cct/GNU_GCC-g++_#{gccVersion[0]}.#{gccVersion[1]}-i686-#{plStr}
|
137
|
+
@cct = [qac_home + "/config/cct/GNU_GCC-g++_#{gccVersion[0]}.#{gccVersion[1]}-i686-#{plStr}-C++#{@cVersion}.cct"]
|
127
138
|
break if File.exist?@cct[0]
|
128
|
-
@cct = [qac_home + "/config/cct/GNU_GCC-g++_#{gccVersion[0]}.#{gccVersion[1]}-x86_64-#{plStr}
|
139
|
+
@cct = [qac_home + "/config/cct/GNU_GCC-g++_#{gccVersion[0]}.#{gccVersion[1]}-x86_64-#{plStr}-C++#{@cVersion}.cct"]
|
129
140
|
break if File.exist?@cct[0]
|
130
141
|
if gccVersion[1]>0
|
131
142
|
gccVersion[1] -= 1
|
data/lib/common/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.23.
|
4
|
+
version: 2.23.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Schaal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|