bake-toolkit 2.23.5 → 2.23.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 265f68b00938485e6f24d5542efa7c5be350e20b
4
- data.tar.gz: f63c07e9d4d03676bed7c2c833ec8e5a7c1f1a20
3
+ metadata.gz: 449c8b67b3c9c52f57e004bf659413e412a98113
4
+ data.tar.gz: 121d479f496f93d7087b3f2541a772d9ecb8be0e
5
5
  SHA512:
6
- metadata.gz: b8e4cebafe455f82ea310301b439c2bd00d38b0e2b1802faf23a86842ca93bcf4752011c4afff349e0c05fdeaeb2febe70374d9a6717bfa5ef3cd42f823c34e2
7
- data.tar.gz: 87427f895ae52fd2c4fdc178c103f1526b3e932e223523396b6cf1061fb428cc20afea05acb27ad93393a8bae89bb1f6cc22c20f88e0e02a851553f9350159c8
6
+ metadata.gz: 5e90e6ef306fabd76ff8bfa02138f6cfe7dbae7a1993b6dd362eb878930944e5b5a3b74322f0ac42f21d997805c84c2012235fc57561868d15e27550b665bfda
7
+ data.tar.gz: a8d4f0a84c0dd85a34cda8e2c261930a09f66dac8bc042e2a6051c3d1d845a2ade164d7293cfe43fc8ead794026026aec7f510a8b66da51daf102186efdb41c4
@@ -16,13 +16,17 @@ module Bake
16
16
  bakeOptions = Options.new([])
17
17
  @options.parse_options(bakeOptions)
18
18
 
19
+ success = false
20
+ consoleOutput = ""
21
+ licenseError = false
22
+
19
23
  ###### PREREQUISITE 2: BAKE OPTIONS ######
20
24
 
21
25
  passedParams = []
22
26
  excludeParam = false
23
27
  wasMinus = false
24
28
  ARGV.each do |x|
25
- if ["--c++11", "--c++14", "--cct", "--rcf", "--acf", "--qacdata", "--qacstep", "--qacfilter"].include?x
29
+ if ["--c++11", "--c++14", "--cct", "--rcf", "--acf", "--qacdata", "--qacstep", "--qacfilter", "--qacnoformat", "--qacretry"].include?x
26
30
  excludeParam = true
27
31
  next
28
32
  end
@@ -76,15 +80,22 @@ module Bake
76
80
 
77
81
  puts "bakeqac: building and analyzing files..."
78
82
 
79
- success, consoleOutput = ProcessHelper.run(cmd, !@options.qacfilter)
83
+ timeStart = Time.now
84
+ loop do
85
+ success, consoleOutput = ProcessHelper.run(cmd, !@options.qacfilter)
86
+ licenseError = false
87
+ consoleOutput.each_line do |line|
88
+ licenseError = true if line.include?"License Refused"
89
+ end
90
+ break unless (@options.qacfilter and licenseError and (@options.qacretry > (Time.now - timeStart)))
91
+ puts "License refused, retry seconds left: %d" % (@options.qacretry - (Time.now - timeStart))
92
+ end
93
+
80
94
 
81
- # more complex because qacli returns with !=0 if a file could not be parsed, we want to ignore that
82
95
  filterOutput = []
83
96
  filter = []
84
97
  endFound = false
85
- licenseError = false
86
98
  consoleOutput.each_line do |line|
87
- licenseError = true if line.include?"License refused"
88
99
  scan_res = line.scan(/Project path: ([a-zA-Z]{0,1})(:{0,1})(.*)/)
89
100
  if scan_res.length > 0
90
101
  filter << (scan_res[0][0].downcase + scan_res[0][1] + scan_res[0][2].gsub(/\\/,"/").strip)
@@ -96,7 +107,6 @@ module Bake
96
107
  end
97
108
  end
98
109
  end
99
-
100
110
  success = false if licenseError
101
111
 
102
112
  if @options.qacfilter
@@ -129,12 +139,31 @@ module Bake
129
139
  end
130
140
 
131
141
  cmd = [@options.qac_home+"/common/bin/qacli", "view", "-P", @options.qacdata, "-m", "STDOUT"]
132
- success, consoleOutput = ProcessHelper.run(cmd, !@options.qacfilter)
142
+ if not @options.qacnoformat
143
+ cmd += ["-f", "%?u==0%(MSG: %:---- %)%F(%l,%c): (%r:%N)%t%?v%(\n%v%)"]
144
+ end
145
+
146
+ timeStart = Time.now
147
+ loop do
148
+ success, consoleOutput = ProcessHelper.run(cmd, !@options.qacfilter)
149
+ licenseError = false
150
+ consoleOutput.each_line do |line|
151
+ licenseError = true if line.include?"License Refused"
152
+ end
153
+ break unless (@options.qacfilter and licenseError and (@options.qacretry > (Time.now - timeStart)))
154
+ puts "License refused, retry seconds left: %d" % (@options.qacretry - (Time.now - timeStart))
155
+ end
156
+
133
157
 
134
158
  if @options.qacfilter
159
+ numberOfMessages = 0
135
160
  if success
136
161
  foundFile = false
137
162
  consoleOutput.each_line do |line|
163
+ if line.include?"License Refused"
164
+ puts line
165
+ next
166
+ end
138
167
  line.strip!
139
168
  foundFile = false if line.empty? or line.include? " ======= Results for "
140
169
  scan_res = line.scan(/\/\/ ======= Results for ([a-zA-Z]{0,1})(:{0,1})(.*)/)
@@ -147,8 +176,20 @@ module Bake
147
176
  end
148
177
  end
149
178
  end
150
- puts line if foundFile and not line.include?"QAC++ Deep Flow Static Analyser"
179
+ if foundFile
180
+ if not line.include?"QAC++ Deep Flow Static Analyser"
181
+ if (!@options.qacnoformat && line.start_with?("MSG: ")) || (@options.qacnoformat && line.include?(": Msg("))
182
+ Bake.formatter.printWarning(line)
183
+ numberOfMessages += 1
184
+ elsif scan_res.length > 0
185
+ Bake.formatter.printAdditionalInfo(line)
186
+ else
187
+ Bake.formatter.printInfo(line)
188
+ end
189
+ end
190
+ end
151
191
  end
192
+ Bake.formatter.printSuccess("\n**** Number of messages: #{numberOfMessages} ****")
152
193
  else
153
194
  puts consoleOutput
154
195
  end
@@ -1,19 +1,27 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ October 14, 2016 - bake-toolkit 2.23.6
5
+ * Bugfix: qac license refused error now really shown.
6
+ * Changed: QAC_RCF environment variable not supported anymore. Instead a file qac.rcf will be searched upwards from bake main project folder.
7
+ * Changed: qac messages reformatted, MISRA rule now completely shown. For plain qac style use --qacnoformat.
8
+ * Added: number of qac messages are printed at the end.
9
+ * Added: bakeqac now supports -a <color> like bake.
10
+ * Added: with --qacretry <seconds> a retry timeout can be specified if license is refused, default is no retry.
11
+
4
12
  October 14, 2016 - bake-toolkit 2.23.5
5
- * Bugfix: qac cct auto detection fixed
6
- * Bugfix: --prepro option fixed
13
+ * Bugfix: qac cct auto detection fixed.
14
+ * Bugfix: --prepro option fixed.
7
15
 
8
16
  October 14, 2016 - bake-toolkit 2.23.4
9
- * Bugfix: qac during analyse step license error not detected properly
17
+ * Bugfix: qac during analyse step license error not detected properly.
10
18
 
11
19
  October 13, 2016 - bake-toolkit 2.23.3
12
- * Bugfix: improved auto detection of cct for qac
13
- * Bugfix: print qac output in case of error
14
- * Changed: QAC_HOME can end now with a slash
15
- * Changed: qacli call now relative to QAC_HOME
16
- * Changed: qac create will now be done regardless if qacdata exists
20
+ * Bugfix: improved auto detection of cct for qac.
21
+ * Bugfix: print qac output in case of error.
22
+ * Changed: QAC_HOME can end now with a slash.
23
+ * Changed: qacli call now relative to QAC_HOME.
24
+ * Changed: qac create will now be done regardless if qacdata exists.
17
25
 
18
26
  October 13, 2016 - bake-toolkit 2.23.2
19
27
  * Added: bakeqac, see documentation.
@@ -1,4 +1,4 @@
1
- bake 2.23.5
1
+ bake 2.23.6
2
2
  ==========================================
3
3
  bake, building software **fast** and **easy**!
4
4
 
@@ -64,7 +64,7 @@ You have to set the environment variable QAC_HOME, e.g. to *c:\\tools\\prqa\\PRQ
64
64
 
65
65
  bakeqac <options> --rcf <rcf>
66
66
 
67
- If not specified, bakeqac uses the environment variable QAC_RCF. If also not specified, bake uses $(QAC_HOME)/config/rcf/mcpp-1_5_1-en_US.rcf.
67
+ If not specified, bakeqac searches for qac.rcf upwards from bake main project folder. If also not found, bake uses $(QAC_HOME)/config/rcf/mcpp-1_5_1-en_US.rcf.
68
68
 
69
69
  - Analysis configuration file (acf): Can be specified with:
70
70
 
@@ -140,24 +140,34 @@
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 14, 2016 - bake-toolkit 2.23.6</dt>
144
+ <dd><ul class="first last simple">
145
+ <li>Bugfix: qac license refused error now really shown.</li>
146
+ <li>Changed: QAC_RCF environment variable not supported anymore. Instead a file qac.rcf will be searched upwards from bake main project folder.</li>
147
+ <li>Changed: qac messages reformatted, MISRA rule now completely shown. For plain qac style use &#8211;qacnoformat.</li>
148
+ <li>Added: number of qac messages are printed at the end.</li>
149
+ <li>Added: bakeqac now supports -a &lt;color&gt; like bake.</li>
150
+ <li>Added: with &#8211;qacretry &lt;seconds&gt; a retry timeout can be specified if license is refused, default is no retry.</li>
151
+ </ul>
152
+ </dd>
143
153
  <dt>October 14, 2016 - bake-toolkit 2.23.5</dt>
144
154
  <dd><ul class="first last simple">
145
- <li>Bugfix: qac cct auto detection fixed</li>
146
- <li>Bugfix: &#8211;prepro option fixed</li>
155
+ <li>Bugfix: qac cct auto detection fixed.</li>
156
+ <li>Bugfix: &#8211;prepro option fixed.</li>
147
157
  </ul>
148
158
  </dd>
149
159
  <dt>October 14, 2016 - bake-toolkit 2.23.4</dt>
150
160
  <dd><ul class="first last simple">
151
- <li>Bugfix: qac during analyse step license error not detected properly</li>
161
+ <li>Bugfix: qac during analyse step license error not detected properly.</li>
152
162
  </ul>
153
163
  </dd>
154
164
  <dt>October 13, 2016 - bake-toolkit 2.23.3</dt>
155
165
  <dd><ul class="first last simple">
156
- <li>Bugfix: improved auto detection of cct for qac</li>
157
- <li>Bugfix: print qac output in case of error</li>
158
- <li>Changed: QAC_HOME can end now with a slash</li>
159
- <li>Changed: qacli call now relative to QAC_HOME</li>
160
- <li>Changed: qac create will now be done regardless if qacdata exists</li>
166
+ <li>Bugfix: improved auto detection of cct for qac.</li>
167
+ <li>Bugfix: print qac output in case of error.</li>
168
+ <li>Changed: QAC_HOME can end now with a slash.</li>
169
+ <li>Changed: qacli call now relative to QAC_HOME.</li>
170
+ <li>Changed: qac create will now be done regardless if qacdata exists.</li>
161
171
  </ul>
162
172
  </dd>
163
173
  <dt>October 13, 2016 - bake-toolkit 2.23.2</dt>
@@ -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.5 &mdash; bake documentation</title>
8
+ <title>bake 2.23.6 &mdash; 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.5</a><ul>
97
+ <li><a class="reference internal" href="#">bake 2.23.6</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-5">
138
- <h1>bake 2.23.5<a class="headerlink" href="#bake-2-23-5" title="Permalink to this headline">¶</a></h1>
137
+ <div class="section" id="bake-2-23-6">
138
+ <h1>bake 2.23.6<a class="headerlink" href="#bake-2-23-6" 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:[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:[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],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: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:[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],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:37,qacdata:[0,37],qacfilt:37,qacli:[0,37],qacpp:[],qacstep:37,qaf:37,quickstart:[],quot:[32,39],raid:27,rake:0,ram:27,rare:[0,38],rather:42,raw:[0,36],rcf: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],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,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: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:[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],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,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.5","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: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}})
@@ -194,7 +194,7 @@
194
194
  <div class="highlight-console"><div class="highlight"><pre><span class="go">bakeqac &lt;options&gt; --rcf &lt;rcf&gt;</span>
195
195
  </pre></div>
196
196
  </div>
197
- <p>If not specified, bakeqac uses the environment variable QAC_RCF. If also not specified, bake uses $(QAC_HOME)/config/rcf/mcpp-1_5_1-en_US.rcf.</p>
197
+ <p>If not specified, bakeqac searches for qac.rcf upwards from bake main project folder. If also not found, bake uses $(QAC_HOME)/config/rcf/mcpp-1_5_1-en_US.rcf.</p>
198
198
  </li>
199
199
  <li><p class="first">Analysis configuration file (acf): Can be specified with:</p>
200
200
  <div class="highlight-console"><div class="highlight"><pre><span class="go">bakeqac &lt;options&gt; --acf &lt;acf&gt;</span>
@@ -6,12 +6,14 @@ 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 # Boolean
9
+ attr_reader :c11, :c14, :qacfilter, :qacnoformat # Boolean
10
10
  attr_reader :cct # Array
11
+ attr_reader :qacretry # int
11
12
 
12
13
  def initialize(argv)
13
14
  super(argv)
14
15
 
16
+ @main_dir = nil
15
17
  @cVersion = "-C++"
16
18
  @c11 = false
17
19
  @acf = nil
@@ -21,8 +23,12 @@ module Bake
21
23
  @qacdata = "qacdata"
22
24
  @qacstep = nil
23
25
  @qacfilter = true
26
+ @qacnoformat = false
27
+ @qacretry = 0
24
28
 
25
29
  add_option(["-b", "" ], lambda { |x| setDefault(x) })
30
+ add_option(["-a" ], lambda { |x| Bake.formatter.setColorScheme(x.to_sym) })
31
+ add_option(["-m" ], lambda { |x| set_main_dir(x) })
26
32
  add_option(["--c++11" ], lambda { @cVersion = "-c++11" })
27
33
  add_option(["--c++14" ], lambda { @cVersion = "-c++14" })
28
34
  add_option(["--cct" ], lambda { |x| @cct << x.gsub(/\\/,"/") })
@@ -31,6 +37,8 @@ module Bake
31
37
  add_option(["--qacdata" ], lambda { |x| @qacdata = x.gsub(/\\/,"/") })
32
38
  add_option(["--qacstep" ], lambda { |x| @qacstep = x })
33
39
  add_option(["--qacfilter" ], lambda { |x| @qacfilter = (x == "on") })
40
+ add_option(["--qacretry" ], lambda { |x| @qacretry = x.to_i })
41
+ add_option(["--qacnoformat" ], lambda { @qacnoformat = true })
34
42
  add_option(["-h", "--help"], lambda { usage; ExitHelper.exit(0) })
35
43
  add_option(["--version" ], lambda { Bake::Version.printBakeqacVersion; ExitHelper.exit(0) })
36
44
 
@@ -46,9 +54,10 @@ module Bake
46
54
  puts " --qacdata <dir> QAC writes data into this folder. Default is <working directory>/qacdata."
47
55
  puts " --qacstep create|build|result Steps can be ORed. Per default all steps will be executed."
48
56
  puts " --qacfilter on|off If off, output will be printed immediately and unfiltered, default is on to reduce noise."
57
+ 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."
49
58
  puts " --version Print version."
50
59
  puts " -h, --help Print this help."
51
- puts "Note: all parameters from bake apply also here. Note, that --rebuild and --compily-only will be added to the internal bake call automatically."
60
+ puts "Note: all parameters from bake apply also here. Note, that --rebuild and --compile-only will be added to the internal bake call automatically."
52
61
  puts "Note: works only for GCC 4.1 and above"
53
62
  end
54
63
 
@@ -60,8 +69,35 @@ module Bake
60
69
  @default = x
61
70
  end
62
71
 
72
+ def check_valid_dir(dir)
73
+ if not File.exists?(dir)
74
+ Bake.formatter.printError("Error: Directory #{dir} does not exist")
75
+ ExitHelper.exit(1)
76
+ end
77
+ if not File.directory?(dir)
78
+ Bake.formatter.printError("Error: #{dir} is not a directory")
79
+ ExitHelper.exit(1)
80
+ end
81
+ end
82
+
83
+ def set_main_dir(dir)
84
+ check_valid_dir(dir)
85
+ @main_dir = File.expand_path(dir.gsub(/[\\]/,'/'))
86
+ end
87
+
88
+ def searchRcfFile(dir)
89
+ rcfFile = dir+"/qac.rcf"
90
+ return rcfFile if File.exist?(rcfFile)
91
+
92
+ parent = File.dirname(dir)
93
+ return searchRcfFile(parent) if parent != dir
94
+
95
+ return nil
96
+ end
97
+
63
98
  def parse_options(bakeOptions)
64
99
  parse_internal(true, bakeOptions)
100
+ set_main_dir(Dir.pwd) if @main_dir.nil?
65
101
 
66
102
  if not ENV["QAC_HOME"]
67
103
  Bake.formatter.printError("Error: specify the environment variable QAC_HOME.")
@@ -105,8 +141,9 @@ module Bake
105
141
  end
106
142
 
107
143
  if @rcf.nil?
108
- if ENV["QAC_RCF"]
109
- @rcf = ENV["QAC_RCF"].gsub(/\\/,"/")
144
+ rfcInDir = searchRcfFile(@main_dir)
145
+ if rfcInDir
146
+ @rcf = rfcInDir.gsub(/[\\]/,'/')
110
147
  else
111
148
  @rcf = qac_home + "/config/rcf/mcpp-1_5_1-en_US.rcf"
112
149
  end
@@ -1,7 +1,7 @@
1
1
  module Bake
2
2
  class Version
3
3
  def self.number
4
- "2.23.5"
4
+ "2.23.6"
5
5
  end
6
6
 
7
7
  def self.printBakeVersion(ry = "")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake-toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.23.5
4
+ version: 2.23.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Schaal