bake-toolkit 2.23.12 → 2.24.0

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: 6c8f189049e1e67b339d77d909150ae8ec2997e9
4
- data.tar.gz: 01690a0cfe6d955c963c440b465e4136e966d808
3
+ metadata.gz: 3b412ce47b7ae9906b6024f0ea704d7fdd690a08
4
+ data.tar.gz: ab3ce0965e618e14cd50b79b1358d1091b767f5e
5
5
  SHA512:
6
- metadata.gz: 34fdab97edd412eea25588aa82dfff5853a20d3a79fa1d35a11e25c48c6c987d8b9b29b100c6ce1dcc44ff5ad7710a74fa4e0a109d48e37e5b5cee8d4de7b46a
7
- data.tar.gz: c3c289b1908358e7fc6baeb750f3617a54acfa10807ecf1ca6265d67c9313e47e18f72b9bd83a9224e5b852cf5d67481873a0f5907ccaf72f9e0d7108107b6ce
6
+ metadata.gz: 94e3c68622cc16281b9d45c3b68afd23d1b2f5af66d4000f2dcc3082dab5b5400635d75ed9c5a33bde9a8d39dd01ef268d949d2cc98e68a2354322d17566372e
7
+ data.tar.gz: 5b0f6b4935991e6671455c146d9566391ba60222fa44f3a5d5e3ec3c9600edeb9e6292397ad06d5b5da120cfa40a9e67b27ced4da6c08783ec747a516edaee7a
data/bin/bakeclean ADDED
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $:.unshift(File.dirname(__FILE__)+"/../lib")
4
+ require "bakeclean/options/options"
5
+ require "fileutils"
6
+
7
+ $options = Bake::BakecleanOptions.new(ARGV)
8
+ $options.parse_options()
9
+
10
+ def remove(folder)
11
+ if File.exist?folder
12
+ puts folder
13
+ FileUtils.rm_rf(folder) unless $options.preview
14
+ end
15
+ end
16
+
17
+ puts $options.preview ? "*** Preview ***" : "*** Deleting ***"
18
+
19
+ bakes = Dir.glob("**/.bake")
20
+ bakes.each do |b|
21
+ remove(b)
22
+ projectDir = File.dirname(b)
23
+ remove(projectDir+"/build")
24
+
25
+ builds = Dir.glob(projectDir + "/build_*")
26
+ builds.each do |build|
27
+ remove(build)
28
+ end
29
+
30
+ end
31
+
32
+ exit(0)
data/bin/bakeqac CHANGED
@@ -10,6 +10,9 @@ require 'bake/options/options'
10
10
  require 'common/process'
11
11
  require 'common/utils'
12
12
 
13
+ STDOUT.sync = true
14
+ STDERR.sync = true
15
+
13
16
  module Bake
14
17
 
15
18
  ###### PREREQUISITE 1: BAKEQAC OPTIONS ######
@@ -28,7 +31,7 @@ module Bake
28
31
  excludeParam = false
29
32
  wasMinus = false
30
33
  ARGV.each do |x|
31
- if ["--c++11", "--c++14", "--qacnofilter", "--qacnoformat", "--qacrawformat", "--qacunittest", "--qacdoc"].include?x
34
+ if ["--c++11", "--c++14", "--qacnofilter", "--qacnoformat", "--qacrawformat", "--qacunittest", "--qacdoc", "--qaccctpatch"].include?x
32
35
  excludeParam = false
33
36
  next
34
37
  elsif ["--cct", "--rcf", "--acf", "--qacdata", "--qacstep", "--qacretry"].include?x
@@ -43,6 +46,7 @@ module Bake
43
46
  passedParams << "--rebuild" unless passedParams.include?"--rebuild"
44
47
  passedParams << "--compile-only" if (passedParams & ["--compile-only", "--compile_only", "-f"]).empty?
45
48
  passedParams << "--filter-paths" unless passedParams.include?"--filter-paths"
49
+ passedParams << "--qac" unless passedParams.include?"--qac"
46
50
 
47
51
  success = true
48
52
 
@@ -70,11 +74,14 @@ end
70
74
  cctFilename = @options.qacdata+"/prqa/config/"+File.basename(@options.cct[0])
71
75
  if File.exist?cctFilename
72
76
  File.open(cctFilename, 'a') do |f|
73
- f << "-coderegex='s/__attribute__\\s*\\(.*\\)//'\n"
74
- f << "-d __cdecl=\n"
75
- f << "-d _cdecl=\n"
76
- f << "-d _thiscall=\n"
77
- f << "-d __stdcall=\n"
77
+
78
+ if @options.cct_patch
79
+ f << "-coderegex='s/__attribute__\\s*\\(.*\\)//'\n"
80
+ f << "-d __cdecl=\n"
81
+ f << "-d _cdecl=\n"
82
+ f << "-d _thiscall=\n"
83
+ f << "-d __stdcall=\n"
84
+ end
78
85
 
79
86
  if @options.cct_append
80
87
  File.open(@options.cct_append, 'r') do |a|
@@ -1,6 +1,15 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ November 7, 2016 - bake-toolkit 2.24.0
5
+ * Bugfix: qac: output was not synced immediately to the console on some systems."
6
+ * Changed: qac: patching of cct introduced with 2.23.9 now opt-in via command line argument: --qaccctpatch.
7
+ * Changed: qac: default build output directory is now "build/.qac/" instead of "build/" (which does not overwrite regular build output anymore).
8
+ * Changed: if default build folder is used, the parent folder "build" will be also removed when the project is cleaned if the "build" folder will become empty.
9
+ * Added: bakeclean script to delete all .bake, .bake/../build and .bake/../build_* folders
10
+ * Added: prebuild feature now uses objects instead of the library if objects exist.
11
+ * Changed: default executable file ending on non-Windows systems now "" (except Diab and Greenhills, here it is always ".elf").
12
+
4
13
  October 26, 2016 - bake-toolkit 2.23.12
5
14
  * Bugfix: qac: now also files from .qacdata folder are filtered out.
6
15
  * Bugfix: qac: modules were not be filtered out correctly, e.g. swcAbcd was not filtered out if swcAbc was compiled.
@@ -43,6 +43,7 @@ This prebuild behaviour must be explicitly turned on by using the following the
43
43
 
44
44
  --prebuild
45
45
 
46
+ Note, that if objects files exist, the library will be built from existing object files (glob for *.o in appropriate build folder). If only the archive exists, the archive will be used without building it.
46
47
 
47
48
  Typical workflow
48
49
  ----------------
@@ -1,4 +1,4 @@
1
- bake 2.23.12
1
+ bake 2.24.0
2
2
  ==========================================
3
3
  bake, building software **fast** and **easy**!
4
4
 
@@ -0,0 +1,11 @@
1
+ bakeclean
2
+ *********
3
+
4
+ With bakeclean you can cleanup your workspace from .bake, .bake/../build and .bake/../build_* folders.
5
+
6
+ Folders are searched recursively from current working directory. Call it without any parameters to start the procedure.
7
+
8
+ To preview the deleted folders, use "--preview" as argument. The filesystem will not be changed in preview mode.
9
+
10
+ .. warning::
11
+ Folders will be deleted without any warning. They will be deleted even if they are not empty.
@@ -10,6 +10,7 @@ Additional features
10
10
  the_clang
11
11
  dot
12
12
  qac
13
+ bakeclean
13
14
 
14
15
 
15
16
  Unnecessary includes
@@ -140,6 +140,17 @@
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>November 7, 2016 - bake-toolkit 2.24.0</dt>
144
+ <dd><ul class="first last simple">
145
+ <li>Bugfix: qac: output was not synced immediately to the console on some systems.&#8221;</li>
146
+ <li>Changed: qac: patching of cct introduced with 2.23.9 now opt-in via command line argument: &#8211;qaccctpatch.</li>
147
+ <li>Changed: qac: default build output directory is now &#8220;build/.qac/&#8221; instead of &#8220;build/&#8221; (which does not overwrite regular build output anymore).</li>
148
+ <li>Changed: if default build folder is used, the parent folder &#8220;build&#8221; will be also removed when the project is cleaned if the &#8220;build&#8221; folder will become empty.</li>
149
+ <li>Added: bakeclean script to delete all .bake, .bake/../build and .bake/../build_* folders</li>
150
+ <li>Added: prebuild feature now uses objects instead of the library if objects exist.</li>
151
+ <li>Changed: default executable file ending on non-Windows systems now &#8220;&#8221; (except Diab and Greenhills, here it is always &#8221;.elf&#8221;).</li>
152
+ </ul>
153
+ </dd>
143
154
  <dt>October 26, 2016 - bake-toolkit 2.23.12</dt>
144
155
  <dd><ul class="first last simple">
145
156
  <li>Bugfix: qac: now also files from .qacdata folder are filtered out.</li>
@@ -74,7 +74,7 @@
74
74
  <li class="toctree-l1"><a class="reference internal" href="../syntax/syntax.html">Syntax</a></li>
75
75
  <li class="toctree-l1"><a class="reference internal" href="../commandline/commandline.html">Commandline</a></li>
76
76
  <li class="toctree-l1"><a class="reference internal" href="../ide/ide_integrations.html">IDE Support</a></li>
77
- <li class="toctree-l1"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Tips and Tricks</a></li>
77
+ <li class="toctree-l1"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Additional features</a></li>
78
78
  <li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
79
79
  <li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
80
80
  <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
@@ -75,7 +75,7 @@
75
75
  <li class="toctree-l1"><a class="reference internal" href="../syntax/syntax.html">Syntax</a></li>
76
76
  <li class="toctree-l1"><a class="reference internal" href="../commandline/commandline.html">Commandline</a></li>
77
77
  <li class="toctree-l1"><a class="reference internal" href="../ide/ide_integrations.html">IDE Support</a></li>
78
- <li class="toctree-l1"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Tips and Tricks</a></li>
78
+ <li class="toctree-l1"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Additional features</a></li>
79
79
  <li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
80
80
  <li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
81
81
  <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
@@ -172,6 +172,7 @@
172
172
  <div class="highlight-console"><div class="highlight"><pre><span class="go">--prebuild</span>
173
173
  </pre></div>
174
174
  </div>
175
+ <p>Note, that if objects files exist, the library will be built from existing object files (glob for <a href="#id1"><span class="problematic" id="id2">*</span></a>.o in appropriate build folder). If only the archive exists, the archive will be used without building it.</p>
175
176
  <div class="section" id="typical-workflow">
176
177
  <h2>Typical workflow<a class="headerlink" href="#typical-workflow" title="Permalink to this headline">¶</a></h2>
177
178
  <ol class="arabic simple">
@@ -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.12 &mdash; bake documentation</title>
8
+ <title>bake 2.24.0 &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.12</a><ul>
97
+ <li><a class="reference internal" href="#">bake 2.24.0</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-12">
138
- <h1>bake 2.23.12<a class="headerlink" href="#bake-2-23-12" title="Permalink to this headline">¶</a></h1>
137
+ <div class="section" id="bake-2-24-0">
138
+ <h1>bake 2.24.0<a class="headerlink" href="#bake-2-24-0" 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>
@@ -199,6 +199,7 @@
199
199
  <li class="toctree-l2"><a class="reference internal" href="tips_and_tricks/the_clang.html">Clang Analyze</a></li>
200
200
  <li class="toctree-l2"><a class="reference internal" href="tips_and_tricks/dot.html">Generating dot graphs</a></li>
201
201
  <li class="toctree-l2"><a class="reference internal" href="tips_and_tricks/qac.html">QACPP</a></li>
202
+ <li class="toctree-l2"><a class="reference internal" href="tips_and_tricks/bakeclean.html">bakeclean</a></li>
202
203
  <li class="toctree-l2"><a class="reference internal" href="tips_and_tricks/tips_and_tricks.html#unnecessary-includes">Unnecessary includes</a></li>
203
204
  <li class="toctree-l2"><a class="reference internal" href="tips_and_tricks/tips_and_tricks.html#symlinks-and-junctions">Symlinks and junctions</a></li>
204
205
  </ul>
@@ -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,"float":37,"function":0,"import":[],"long":[0,19,27],"new":[],"return":[0,28,36],"static":[],"switch":[0,10,15,28,36,37,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,37],absolut:0,absolute_path_to_working_dir:41,accept:[0,14],access:0,account:0,acf:37,action:26,activ:0,actual:23,adapt:[],add:[],addit:[19,26,27],addition:37,adjust:[],adjustcdt:0,adjustinclud:0,admin:[],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],altern:37,alternativli:[],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],anymor:[0,7,10,36],anyth:25,appear:15,append:[0,37],appli:[0,13,26,29,30,36,37],appropri:[0,10,15,18,37],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,37],avoid:[0,7,23,36,42],back:[4,32,37],background:36,backward:0,bake:[],bakeqac:[],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,37,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,checkout:37,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],color_schem:37,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:[0,2,10,32,37],context:[4,7,10,12],contract:26,contrast:27,contributor:26,control:[10,12,29],conveni:[29,37],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,37],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,37,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:[],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:[0,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,37,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,hand: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,hopefulli:0,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,incomplet:37,inconsist:[0,7],incorrect:41,incorrectli:0,independ:[0,37,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,37],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,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,37,38],miss:[],mix:29,mkdir:28,mmd:0,mock:[4,37],mode:[0,36],modif:26,modifi:26,modul:0,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,37,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],nice:37,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],offici:0,often:[23,35,38],old:[0,12],omit:[0,1,6,39],onc:[10,31,39],onli:[],open:[0,6,23,38],opinion:42,optim:[6,7],option:[],order:[],org:35,origin:[0,4,29,36,37,41],other:[0,2,6,7,11,13,19,26,30,34,38,42],otherwis:[0,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:[0,32,39],overview:[],overwrit:[7,37],overwritten:[0,12],owner:26,packag:36,page:[0,9,12,15,18,37],paht:38,paket:24,paramet:[0,19,30,36,37,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],probabl:0,problem:[0,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,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],qacdoc:[0,37],qacfilt:0,qacli:[0,37],qacnofilt:[0,37],qacnoformat:0,qacpp:[],qacrawformat:[0,37],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,37],rcf:[0,37],rdoc:23,reach:[0,37],read:[0,8,10,14,36,42],readi:28,real:[29,34],realli:[0,1],reanm:0,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,37],refus:0,regardless:[0,29,38],regener:0,regular:[7,29,37,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,37],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,37],simliar:40,simpli:[7,10,12,15,31,37],singl:[],site:[9,14,21],size:[15,38],skip:0,slash:[0,32],slightli:37,slow:0,small:10,softwar:[9,14,22,26,41],solut:[18,23,38],some:[0,6,10,12,15,18,26,37,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,37,38],sure:[6,23,38],svn:41,swcabc:0,swcabcd:0,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,37],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,37],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,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:[0,26],unlock:23,unnecessari:[],unter:12,until:37,updat:[0,9,14,21],updatesit:14,upper:4,upward:0,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,violat: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,37],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.12","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:[37,41],adjust:[15,30],admin:37,advantag:7,analysi:38,analyz:[37,40],applic:[1,13],arbitrari:1,auto:30,bake:[1,14,15,17,19,21,22,23,27,34,36,38,42],bakeqac:37,bakeri:39,basic:38,bind:9,build:[1,2,15,24],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],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,37,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,37],order:5,output:[7,37],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],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:[],too:38,trick:[],type:[24,29],typic:6,unix:27,unnecessari:41,user:34,variabl:34,view:37,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/bakeclean","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":38,"2p180":27,"2p95":[23,28],"3p0":27,"6p398":27,"7p352":27,"__all__":29,"__main__":29,"_dev":37,"_lintout":39,"_one_":42,"break":43,"byte":24,"case":[0,6,12,30,39],"class":4,"default":[0,1,12,23,28,32,38,40],"export":10,"float":38,"function":0,"import":[],"long":[0,19,27],"new":[],"return":[0,28,37],"static":[],"switch":[0,10,15,28,37,38,43],"throw":23,"true":[4,29,32],"try":[0,10],"while":23,abc:[1,29,34],abi:0,abl:[39,43],abort:[0,24,37],about:[0,15],abov:[2,6,10,26,29,31,38],absolut:0,absolute_path_to_working_dir:42,accept:[0,14],access:0,account:0,acf:38,action:26,activ:0,actual:23,adapt:[],add:[],addit:[19,26,27],addition:38,adjust:[],adjustcdt:0,adjustinclud:0,admin:[],adr:32,advantag:[],advis:26,after:[0,14,37,39,40],again:[0,10,27],algorithm:6,alia:[0,37,39],all:[0,1,2,6,7,12,13,15,26,29,31,32,36,37,39,40,41,42],allow:[0,1,7,31,34],allunittest:40,almost:11,alpha:41,alphabet:0,alreadi:15,also:[0,11,12,13,15,18,34,38],altern:38,alternativli:[],although:0,alwai:[0,7,13,15,32],ambigu:0,analys:0,analysi:[],analyz:[],ani:[7,18,26,35],annot:[0,19],anoth:[0,1,18,25,39],anotherfold:38,ansi:[1,37],anymor:[0,7,10,37],anyth:25,appear:15,append:[0,38],appli:[0,13,26,29,30,37,38],appropri:[0,6,10,15,18,38],april:0,apropri:23,ar470:0,archiv:[0,2,6,8,25,32,34],archiverpath:[0,15,34],aren:43,argument:[0,6,18,35],aris:26,around:39,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:39,assembl:[34,42],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,38],avail:[0,4,6,12,14,18,21,38],avoid:[0,7,23,37,43],back:[4,32,38],background:37,backward:0,bake:[],bakeclean:[],bakeqac:[],bakeri:[],base:[0,6,31,34],basedon:32,basi:42,basic:[],bat:[18,37],batch:[0,18],becaus:[4,8,31,39,43],becom:0,been:[0,1,25,26],befor:[0,5,10,15],begin:0,behaviour:[0,6,38],below:[0,14,18,21],best:42,beteween:43,better:0,between:[0,15,43],big:43,bin:[0,18,34,37],binari:[0,26,37,39],bla:0,black:[1,28,37,40],blue:[32,40],bootload:34,bootloader_1:34,bootloaderupdat:30,both:[6,31],bottom:2,box:[13,15],broken:0,browser:23,bsp:40,bspabc:1,bspcorez6:0,bug:23,bugfix:0,build:[],build_:[0,35],built:[0,1,6,7,8,25,37,38,39,43],bundl:0,busi:26,cach:[0,28],calcul:[0,30,38],calcvar:34,call:[0,1,8,18,35,37,38,39,40,41],can:[],candriv:[0,34],cannot:[0,4,7,13],care:0,caus:[23,26],cc2j:0,ccsv5:0,cct:[0,38],cdt:[],certain:38,chang:[0,6,7,10,13,15,23,25,29,35],charact:[0,37],charg:26,check:[0,1,18,21,23,40,42],checkbox:10,checker:41,checkout:38,child:[29,31],choos:[],chosen:[0,15,38],circl:15,circular:0,cl470:0,claim:26,clang:[],clang_analyz:[0,41],clean:[],cleanup:35,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:40,color:[0,1,23,28,37,38,40],color_schem:38,com:[14,21],combin:[0,2,38],come:[17,39],comma:[0,1,31],command:[0,2,6,9,15,18,19,24,28,29,32,34,37,38,39,40,43],commandlin:[],comment:[0,1,32,40],commit:[10,12,42],common7:18,compar:12,compat:[0,43],compil:[],complet:[0,6,10,15,39],complex:[],compon:[4,26],concaten:31,concret:4,condit:26,config:[],confignam:[0,34,39],configpkg:0,configur:[],confnam:34,confus:0,connect:[23,24,26],consecut:38,consequenti:26,consist:[0,8,26],consol:[0,1,15,37,40],contain:[8,26,30],content:[0,2,10,32,38],context:[4,7,10,12],contract:26,contrast:27,contributor:26,control:[10,12,29],conveni:[29,38],convers:[0,10],conversion_info:0,convert:[],copi:[0,6,26],copyright:26,corez6:0,corpor:26,correct:[0,37],correctli:[0,21,23],cosmet:0,could:0,cpath:[0,15,34],cplusplu:41,cpp:[1,7,8,18,28,29,31,32,39,41],cpppath:[0,15,34],cprojec:12,cproject:[10,11,12,15],cpu:27,crash:0,creat:[],createvsproject:[0,17],ctrl:[0,37],ctt:[],current:[0,1,6,32,34,35,39,40],cursor:[32,40],custom:[2,8,39],customconfig:[0,2,29,31,32,36,41],cxxproject:[0,26],cyan:36,cyclic:0,cygdriv:[13,37],cygwin:[],damag:26,darwin13:[23,28],data:26,databas:38,deadcod:41,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,39,41],defin:[],definit:[0,5,7,34],delet:[0,10,25,35],deped:23,depenc:43,depend:[],dependend:43,deprec:0,deprect:0,deriv:[],derv:31,describ:[15,18],descript:[0,32,34,40],deselect:19,desgin:[],design:43,detail:28,detect:0,develop:[],devenv:18,diab:[0,29,31],diag_warn:0,dialog:[0,13],did:0,differ:[],dir:[0,32,34],direct:[0,26],directli:[6,15,34,38],directori:[],disabl:[0,19],discard:24,disclaim:26,disk:10,dismiss:38,displai:[0,15,19,32,40],distribut:[],doc:[0,39],docu:[0,32],document:[0,23,26,38,43],doe:[],don:[13,18,30,43],done:[0,7,13,28],dot:[],doubl:[21,32,40],download:[9,21],due:[],eabi:0,each:[0,26],earli:0,earlier:0,easi:[11,22,23,31,36,43],easier:[],easiest:[37,43],easili:[7,41,43],echo:8,eclips:[],eclipseord:[0,29,32],edit:[12,25,41],editor:9,either:[31,41],element:[29,30,31,32,40],elf:[0,34],ellips:36,els:[1,25],email:32,embrac:43,empti:[0,7,11,34,35],en_u:[23,38],enabl:[0,9,12,15],end:0,energi:43,enforc:38,english:23,ensur:[0,10],entir:43,env:[0,32],environ:[],environmentvari:[],equal:[0,34],equip:2,equival:26,error:[],escap:37,especi:0,esrlab:[14,21],etc:[8,18,34,37,38,39,42],evalu:[23,34],evalut:34,even:[0,26,35,39,43],event:26,everi:[0,2,8,39],everyth:7,exactli:[29,38],exampl:[],except:[0,6,15,24,28,32],exclud:[0,40],exclude_filt:0,excludefil:[0,32],execut:[0,2,6,8,13,18,25,39,42],executableconfig:[0,2,4,7,8,29,31,32,36,39,41],exemplari:26,exens:34,exist:[],exit:[0,28],exitstep:[0,32],expand:0,experiment:0,explicit:39,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:39,fail:[],failur:43,fals:[0,32],fan:43,fast:[22,43],faster:27,featur:[12,14,15],februari:0,fetch:23,few:[0,6,15,38,43],file:[],filenam:[0,24,36],filesystem:35,fill:[10,11,15],filter:[0,32,38],find:10,finish:12,first:[0,1,18,30,31,38,39,40],fit:[26,43],fix:[0,27],flag:[0,7,8,18,31,32,39,41],flex:39,focu:43,folder:[0,1,6,11,30,35,38,39],follow:[6,13,14,21,26,28,30,31,34,37,39,41],follw:28,forget:13,form:26,format:[0,38,39],format_specif:39,forward:[0,31,39],found:[0,10,12,13,23,28,29,34,37],framework:38,free:26,from:[],front:[4,32],fstab:37,full:34,furnish:26,gcc:[0,7,8,13,18,29,31,34,38,39,41],gcc_env:0,gdb:13,gem:[0,23],gener:[],get:[],ghz:27,git:42,github:[0,9],given:24,glob:[0,6],gmock:38,goal:[],good:[12,26,43],googl:23,googletest:4,govern:26,grant:26,graphic:26,graphviz:36,greater:[0,24],green:[13,36],greenhil:0,gsub:23,gtest:38,had:0,hand:0,handl:[0,39],handler:37,happen:8,hard:[4,30,36,43],hardcod:0,hash:[32,40],have:[0,1,4,7,10,11,12,13,15,18,23,26,30,31,32,37,38,39,40,41,43],hdd:27,header:[],hello:34,helper:39,here:[0,12,18,29,43],herebi:26,hereinaft:26,hide:[0,6],high:31,higher:0,highest:0,highlin:23,hinder:43,hit:37,holder:26,hopefulli:0,host:[0,1,8,23,28,29,34,39],hostnam:34,hour:43,howev:[0,13,23,26,42],http:[14,21,36],idea:12,ignor:[0,12,14],ignore_cach:0,iinclud:[8,28],imag:36,imagin:41,immedi:0,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,incomplet:38,inconsist:[0,7],incorrect:42,incorrectli:0,independ:[0,38,40,43],indirect:[0,26],infix:0,info:[0,24,28,42],informationen:10,inherit:[],inject:[],input:0,instal:[],instead:[0,4,7,10,37,38,41],integr:[],intel:27,intend:0,intern:[],internaldefin:[0,15,32],internalinclud:[0,15,32],internat:23,interrupt:[26,37],introduc:0,invalid:[],invert:0,invok:41,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:43,kind:26,know:4,known:[],lab:[14,21,26],label:15,lake:26,larg:43,larger:[0,36],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:43,let:8,level:[0,4,29],liabil:26,liabl:26,lib2:36,lib:[0,4,7,8,32,34,37],lib_bootloader_debug:34,lib_some_debug:34,libpostfixflag:32,libprefixflag:32,librari:[],libraryconfig:[0,2,4,7,8,29,31,32,36,39],libsub:8,licens:[],life:34,lightweight:43,like:[0,1,2,7,15,18,21,23,29,30,31,34,37,39,41],limit:26,line:[0,6,15,18,19,24,26,29,32,34,37,38,39,40,43],link:[],link_onli:0,linker:[0,2,18,29,31,32,34],linkerpath:[0,15,34],linkerscript:[0,32],lint:[],lint_cmac:39,lint_cppmac:39,lint_max:0,lint_min:0,lintpolici:[32,39],linux:[0,42],list:[0,12,26,31,39,42],listen:[0,24],llvm:0,lnt:[0,39],load:[0,28],local:0,localhost:24,locat:[0,8,11],lock:0,logic:6,longer:0,look:[21,31,34,43],loss:26,lower:4,machin:0,made:[0,13],magic:0,mai:[0,6,37,38],main1:40,main2:40,main:[],mainconfignam:[0,7,34],mainproj:[1,40],mainprojectdir:[0,34,39],mainprojectnam:[0,7,34],maintain:43,maintanc:43,major:[6,12,32,37],mak:39,make:[0,4,6,10,23,37,39,43],makefil:[],mani:[],manipul:29,manual:[9,10,25],map:[],mapfil:32,mar:13,march:0,mark:[0,10,15,32,40],marker:0,match:[0,1,29],materi:26,matter:31,max:[0,39],maximum:[0,32],mcpp:38,mean:[10,29,41,43],mechan:12,mention:38,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,42],min:[0,27,39],mind:32,mingw:0,minimum:[0,32],minor:[0,32],minut:[15,28,43],misra:[0,38,39],miss:[],mix:29,mkdir:28,mmd:0,mock:[4,38],mode:[0,35,37],modif:26,modifi:26,modul:0,more:[],mount:13,mous:[32,40],move:[0,32,40],msvc:[0,18],multi:0,multipl:[],must:[0,5,6,7,13,15,26,37,39,40,43],mv7a8:0,my_comput:34,my_project:[8,28],myinclud:[],mylib:4,mylibraryproject:39,myproj:[0,1,17],myproject:34,myprojectnam:30,myspecialcollect:40,myvar:34,name:[0,1,6,7,11,13,15,23,24,29,30,32,34,38,39,40,41],narrow:38,nativ:[18,27],navig:11,nbsp:[32,40],ndebug:7,ndefault:40,necessari:[0,37,43],need:[0,4,6,7,9,10,27,30,34,38,39],neglig:26,nest:[],network:23,never:0,nevertheless:13,newer:37,newlib:6,next:[13,39],nice:38,nicer:0,nico:0,nicoretti:28,nil:23,nilclass:23,nmake:17,no_autodir:0,non:[0,6],none:[26,37],noninfring:26,note:[],noth:28,notic:26,novemb:0,now:[],number:[0,7,15,24,38],oathnam:0,object:[0,5,6],obtain:26,octob:0,off:[0,15,32],offici:0,often:[23,36,39],old:[0,12],omit:[0,1,6,40],onc:[10,31,40],onli:[],open:[0,6,23,39],opinion:43,opt:0,optim:[6,7],option:[],order:[],org:36,origin:[0,4,29,37,38,42],other:[0,2,6,7,11,13,19,26,30,34,39,43],otherwis:[0,13,26,38,39],our:[37,43],out:[0,1,10,15,18,26,38,40,42],output:[],outputdir:[0,32,34],outsid:[4,7],over:[0,32,40],overview:[],overwrit:[0,7,38],overwritten:[0,12],owner:26,packag:37,page:[0,9,12,15,18,38],paht:39,paket:24,paramet:[0,19,30,35,37,38,39],parent:[0,1,29,31,32],pars:29,parser:[0,23],part:[6,26,30,36,39,40],parti:[6,26],particular:26,pass:0,password:23,patch:[0,32],path:[],path_separ:0,pathnam:0,pathto:32,pattern:[0,1,32],pclint:39,peak:27,peopl:43,per:[0,12,23,38],perfect:10,perform:[],perman:37,permiss:26,permit:26,person:[26,32],personali:43,phisolophi:43,phrase:26,pictur:0,pipe:0,place:[0,39,41],plain:0,platform:[28,34,38],pleas:[14,21],plugin:[0,14,18,21],png:36,point:43,polici:32,port:24,portion:26,posix:37,possibl:[0,1,4,6,9,10,26,29,31,34,36,39,40,42],post:[2,8],poststep:[0,8,32],practic:42,pragma:39,pre:[],prebuild:[],predefin:[],prefer:[],prefix:[0,37],prepro:0,preproc_with_compil:0,press:12,prestep:[0,32,39],prestepmain:2,pretti:[31,43],preview:35,previou:0,primarybootloader2includ:30,print:[0,38,42],print_less:0,prioriti:[0,31,34],probabl:0,problem:[0,15,39],procedur:35,process:[0,26,43],procur:26,product:26,profit:26,program:[26,37],programm:37,progress:43,progressbar:[0,23],proj:0,projec:[10,34],project:[],projectdir:[0,34,39],projectnam:[0,34,39],projnam:34,properli:0,properti:[12,18],protect:23,prove:43,provid:[0,9,26,28,39,43],proxi:23,prqa:38,publish:26,puh:[],purpos:[26,43],put:31,qac:[0,38],qac_hom:[0,38],qac_rcf:0,qaccctpatch:0,qacdata:[0,38],qacdoc:[0,38],qacfilt:0,qacli:[0,38],qacnofilt:[0,38],qacnoformat:0,qacpp:[],qacrawformat:[0,38],qacretri:[0,38],qacstep:38,qaf:38,quickstart:[],quot:[32,40],raid:27,rake:0,ram:27,rare:[0,39],rather:43,raw:[0,37,38],rcf:[0,38],rdoc:23,reach:[0,38],read:[0,8,10,14,37,43],readi:28,real:[29,34],realli:[0,1],reanm:0,reason:[37,43],rebuild:[15,25,27,38],rebuilt:0,recogn:[0,30],recommend:17,recompil:0,recorgn:39,recreat:[0,12],rectangl:36,recurs:[0,31,35],red:36,redirect:39,redistribut:26,reduc:7,redund:0,refactor:25,refer:[0,6,7,30],referenc:[0,7,26,30],reformat:[0,38],refus:0,regardless:[0,29,39],regener:0,regular:[0,7,29,38,41],rel:[0,30,32],releas:[0,6,7,40],relev:6,reload:[0,28],remov:[],renam:[0,37],render:36,repetet:31,replac:[],report:0,repositori:[10,42],reproduc:26,requir:0,requiredbakevers:32,reserv:26,resourc:0,respons:32,rest:[24,39],restart:14,restrict:[0,26],result:[],retain:26,retri:[0,38],retriev:[],reus:0,revis:23,rework:0,rewrit:17,rfc:[],rgen:[0,23],rid:[12,37],right:[0,15,19,26,38],robust:0,root1:[1,40],root2:[1,40],root:[],rtext:[0,9,23],rtext_eclipse_plugin:9,rubi:[],ruby192:37,rubygem:[0,23],rule:[0,38],run:[0,13,23,27,37,40,43],same:[],satisfi:10,script:[0,6,10,17,32,43],scroll:0,search:[],sec:27,second:[0,15,38],secur:[14,41],see:[0,15,19,23,26,36,37,41,43],seem:42,seen:[0,15],select:[],sell:26,sens:10,sensit:0,separ:[0,1,26,31,39],seper:34,septemb:0,sequenc:37,server:21,servic:26,set:[],setup:[],sever:[0,1,10,24,31,40],shall:[4,6,12,26],shell:[2,37],shift:0,shortcut:0,should:[],show:[0,39],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,38],signal:37,similar:[12,38],simliar:41,simpli:[7,10,12,15,31,38],singl:[],site:[9,14,21],size:[15,39],skip:0,slash:[0,32],slightli:38,slow:0,small:10,softwar:[9,14,22,26,42],solut:[18,23,39],some:[0,6,10,12,15,18,26,38,39],someth:[0,1,34],sometim:43,soon:9,sort:0,sourc:[0,6,8,10,12,13,19,23,25,26,41],space:[0,32],special:[0,26,30],specifi:[0,1,2,6,7,8,10,15,19,29,32,38,39,40,42],spefici:[],spent:43,spider:13,src:[0,8,28],standard:12,start:[],startup:[0,27],startupcod:0,startupstep:[0,32],state:26,statement:[15,42],stdin:[0,37],stdout:38,step:[2,8,10,14,21,37,39,41,43],stick:43,still:[0,10],stop:[0,1,40],stoponfirsterror:0,store:0,straight:31,strategi:0,stream:0,strict:26,string:[0,32,34,40],structur:[28,36],stty:37,studio:[],stuff:[2,7,34],style:0,sub1:42,sub2:42,sub3:40,sub:[0,7,8,12,31],subcollect:40,subfold:[0,38],subject:26,sublicens:26,subprocess:37,subproject:7,subset:10,substanti:26,substitu:[],substitut:[0,8,26,32,34],subtag:0,success:0,successful:14,successfulli:[23,25,42],suitabl:13,suppli:39,supplier:6,support:[],suppress:[0,38,39],sure:[6,23,39],svn:42,swcabc:0,swcabcd:0,symbol:13,symlink:[],sync:[0,42],system:[0,7,10,23,27,34,37,39],tag:[0,6],take:[0,15,27,41,43],taken:[0,8],target:[0,32],team:10,templat:[0,38],term:26,test:[],testa:36,text:[32,36],than:[],thank:0,theconfig:34,thei:[6,12,29,35,43],them:[0,12,29,38],themselv:4,theori:26,theproject:34,therefor:[7,34,43],thi:[0,1,4,6,10,11,12,13,15,18,19,21,23,24,26,28,29,30,31,34,37,38,39,40,41,42,43],thing:38,think:43,third:[6,26,38],those:[6,15,43],though:[39,43],thread:[0,27],three:[6,11,32,38],through:43,ti_ar:0,ti_cl:0,ti_hom:0,time:[0,10,28,34],timeout:[0,38],tip:[],tms470:0,too:[],tool:[0,10,18,21,30,34,38,43],toolchain:[0,7,8,18,32,38,39],toolchain_info:0,toolchain_nam:0,toolchainnam:[0,34],toolkit:[0,17,23,40],toolsprqaprqa:[],top:29,tort:26,touch:25,tpng:36,treat:0,tred:36,tree:0,tri:[24,38],trick:[],trust:14,tty:37,turn:[0,6],two:[0,1,6,18,34,40],type:[],typic:[],typo:0,unchang:25,uncommon:1,undefin:23,under:[0,10,13],underscor:26,understand:[36,43],unfilt:38,uniniti:0,unintention:0,uniqu:40,unit:[0,40],unittest:[0,4,40],unittestlib:40,unittestlibswithoutbsp:40,unix:[],unknown:24,unless:[0,26],unlock:23,unnecessari:[],unter:12,until:38,updat:[0,9,14,21],updatesit:14,upper:4,upward:0,usag:34,user:[],userlibrari:[30,32],usr:34,usual:[1,2,15,18,34,43],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,40],version:[0,17,23,27,37,38,39,43],via:[0,10,15,19,21,29,37],view:15,violat:38,virtual:0,visibl:37,visual:[],vs2013:0,w3520:27,wai:[0,17,23,26,34,37,43],wait:43,wall:8,want:[0,1,6,10,12,28,29,41,43],warn:[],warn_sect:0,warranti:26,web:23,webpag:23,well:[0,39],were:[0,23,26],what:[],whatev:[7,30],when:[0,6,17,25,26,42],where:[0,43],whether:[26,43],which:[],white:37,whole:[0,10,26,27,36],whom:26,why:[],wildcard:[1,40],window:[0,9,10,15,19,27,34,37,42],wishlist:0,without:[18,25,26,27,29,34],wizard:[0,10],won:[2,39],word:0,work:[0,10,13,15,29,35,37,41,42],workaround:[0,25],workflow:[],workspac:[],world:34,would:[0,4,34],wrap:0,wrapper:[10,11,12,38],write:[0,29,30,38,41],writecc2j:0,written:[0,1,15],wrong:0,www:[14,21,36],wysiwyg:43,x86_64:[23,28],xeon:27,xml:[21,39],yesquant:40,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.24.0","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","bakeclean","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":39,adapt:29,add:13,addit:[38,42],adjust:[15,30],admin:38,advantag:7,analysi:39,analyz:[38,41],applic:[1,13],arbitrari:1,auto:30,bake:[1,14,15,17,19,21,22,23,27,34,37,39,43],bakeclean:35,bakeqac:38,bakeri:40,basic:39,bind:9,build:[1,2,15,24],can:13,cdt:[10,15],changelog:0,choos:15,clang:41,clean:[1,15],cmake:27,code:[13,39],collect:40,commandlin:[1,40],compil:[13,39],complex:34,concept:3,config:[29,31],configur:[6,13,15,39],convert:10,creat:[11,12,13,17],cygwin:37,debug:[13,18],defin:[15,34,39],depend:4,deriv:31,desgin:43,develop:24,differ:27,differnt:1,directori:[1,7],distribut:6,doe:23,dot:36,due:39,dure:23,eclips:[9,11,12,13,14,15,27],effect:29,environ:[27,34],error:[23,24,39],exampl:[1,2,5,7,8,23,38,39],exist:[10,30],extend:29,extern:5,fail:39,featur:42,file:[1,8,15,32],from:1,gener:36,get:1,goal:43,graph:[2,36],header:24,help:1,hierarchi:2,highlight:9,how:[1,10,11,12,13,14,15,17,18,19,21,23,37,40],implic:31,includ:[15,39,42],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,39],junction:42,just:1,kei:9,known:[23,25,39],languag:23,librari:5,licens:26,link:5,lint:39,main:[7,15],makefil:27,mani:39,map:13,messag:23,meta:[8,32,34,40],miss:39,more:1,most:1,multipl:31,nest:34,note:[24,34],now:13,occurr:29,onli:39,option:[1,38],order:5,output:[7,38],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:38,quickstart:28,receiv:24,remov:29,replac:29,result:[15,27],root:1,rubi:27,same:5,search:39,select:15,send:24,set:23,setup:39,should:43,singl:1,socket:24,specif:1,start:[23,24],step:38,studio:[18,19,20,21],support:16,symlink:42,syntax:[9,32,33,40],test:27,than:1,tip:[],todo:[],too:39,trick:[],type:[24,29],typic:6,unix:27,unnecessari:42,user:34,variabl:34,view:38,viewer:32,visual:[18,19,20,21],warn:34,what:[8,40],which:1,why:43,within:1,without:38,workflow:6,workspac:[10,12],you:[13,43],your:13}})
@@ -0,0 +1,170 @@
1
+ <!DOCTYPE html>
2
+
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+
8
+ <title>bakeclean &mdash; bake documentation</title>
9
+
10
+ <link rel="stylesheet" href="../_static/basic.css" type="text/css" />
11
+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
12
+ <link rel="stylesheet" href="../_static/bootswatch-3.3.4/sandstone/bootstrap.min.css" type="text/css" />
13
+ <link rel="stylesheet" href="../_static/bootstrap-sphinx.css" type="text/css" />
14
+
15
+ <script type="text/javascript">
16
+ var DOCUMENTATION_OPTIONS = {
17
+ URL_ROOT: '../',
18
+ VERSION: '',
19
+ COLLAPSE_INDEX: false,
20
+ FILE_SUFFIX: '.html',
21
+ HAS_SOURCE: true
22
+ };
23
+ </script>
24
+ <script type="text/javascript" src="../_static/jquery.js"></script>
25
+ <script type="text/javascript" src="../_static/underscore.js"></script>
26
+ <script type="text/javascript" src="../_static/doctools.js"></script>
27
+ <script type="text/javascript" src="../_static/js/jquery-1.11.0.min.js"></script>
28
+ <script type="text/javascript" src="../_static/js/jquery-fix.js"></script>
29
+ <script type="text/javascript" src="../_static/bootstrap-3.3.4/js/bootstrap.min.js"></script>
30
+ <script type="text/javascript" src="../_static/bootstrap-sphinx.js"></script>
31
+ <link rel="shortcut icon" href="../_static/logo_tiny_32.ico"/>
32
+ <link rel="top" title="bake documentation" href="../index.html" />
33
+ <link rel="up" title="Additional features" href="tips_and_tricks.html" />
34
+ <link rel="next" title="Performance" href="../performance/performance.html" />
35
+ <link rel="prev" title="QACPP" href="qac.html" />
36
+ <meta charset='utf-8'>
37
+ <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
38
+ <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
39
+ <meta name="apple-mobile-web-app-capable" content="yes">
40
+
41
+ </head>
42
+ <body role="document">
43
+
44
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top">
45
+ <div class="container">
46
+ <div class="navbar-header">
47
+ <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
48
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
49
+ <span class="icon-bar"></span>
50
+ <span class="icon-bar"></span>
51
+ <span class="icon-bar"></span>
52
+ </button>
53
+ <a class="navbar-brand" href="../index.html"><img src="../_static/logo_conformant_48.png">
54
+ </a>
55
+ <span class="navbar-text navbar-version pull-left"><b></b></span>
56
+ </div>
57
+
58
+ <div class="collapse navbar-collapse nav-collapse">
59
+ <ul class="nav navbar-nav">
60
+
61
+
62
+ <li class="dropdown globaltoc-container">
63
+ <a role="button"
64
+ id="dLabelGlobalToc"
65
+ data-toggle="dropdown"
66
+ data-target="#"
67
+ href="../index.html">Section <b class="caret"></b></a>
68
+ <ul class="dropdown-menu globaltoc"
69
+ role="menu"
70
+ aria-labelledby="dLabelGlobalToc"><ul class="current">
71
+ <li class="toctree-l1"><a class="reference internal" href="../why_bake/why_bake.html">Why you should use bake</a></li>
72
+ <li class="toctree-l1"><a class="reference internal" href="../install/install_bake.html">Install bake</a></li>
73
+ <li class="toctree-l1"><a class="reference internal" href="../quickstart/quickstart.html">Quickstart</a></li>
74
+ <li class="toctree-l1"><a class="reference internal" href="../concepts/concepts.html">Concepts</a></li>
75
+ <li class="toctree-l1"><a class="reference internal" href="../syntax/syntax.html">Syntax</a></li>
76
+ <li class="toctree-l1"><a class="reference internal" href="../commandline/commandline.html">Commandline</a></li>
77
+ <li class="toctree-l1"><a class="reference internal" href="../ide/ide_integrations.html">IDE Support</a></li>
78
+ <li class="toctree-l1 current"><a class="reference internal" href="tips_and_tricks.html">Additional features</a></li>
79
+ <li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
80
+ <li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
81
+ <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
82
+ <li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
83
+ </ul>
84
+ <ul>
85
+ <li class="toctree-l1"><a class="reference internal" href="../internal.html">Internal developing notes</a></li>
86
+ </ul>
87
+ </ul>
88
+ </li>
89
+
90
+ <li class="dropdown">
91
+ <a role="button"
92
+ id="dLabelLocalToc"
93
+ data-toggle="dropdown"
94
+ data-target="#"
95
+ href="#">SubSections <b class="caret"></b></a>
96
+ <ul class="dropdown-menu localtoc"
97
+ role="menu"
98
+ aria-labelledby="dLabelLocalToc"><ul>
99
+ <li><a class="reference internal" href="#">bakeclean</a></li>
100
+ </ul>
101
+ </ul>
102
+ </li>
103
+
104
+
105
+
106
+
107
+
108
+ <li>
109
+ <a href="qac.html" title="Previous Chapter: QACPP"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; QACPP</span>
110
+ </a>
111
+ </li>
112
+ <li>
113
+ <a href="../performance/performance.html" title="Next Chapter: Performance"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Performance &raquo;</span>
114
+ </a>
115
+ </li>
116
+
117
+
118
+
119
+
120
+
121
+ </ul>
122
+
123
+
124
+
125
+ <form class="navbar-form navbar-right" action="../search.html" method="get">
126
+ <div class="form-group">
127
+ <input type="text" name="q" class="form-control" placeholder="Search" />
128
+ </div>
129
+ <input type="hidden" name="check_keywords" value="yes" />
130
+ <input type="hidden" name="area" value="default" />
131
+ </form>
132
+
133
+ </div>
134
+ </div>
135
+ </div>
136
+
137
+ <div class="container">
138
+ <div class="row">
139
+ <div class="col-md-12">
140
+
141
+ <div class="section" id="bakeclean">
142
+ <h1>bakeclean<a class="headerlink" href="#bakeclean" title="Permalink to this headline">¶</a></h1>
143
+ <p>With bakeclean you can cleanup your workspace from .bake, .bake/../build and .bake/../build_* folders.</p>
144
+ <p>Folders are searched recursively from current working directory. Call it without any parameters to start the procedure.</p>
145
+ <p>To preview the deleted folders, use &#8220;&#8211;preview&#8221; as argument. The filesystem will not be changed in preview mode.</p>
146
+ <div class="admonition warning">
147
+ <p class="first admonition-title">Warning</p>
148
+ <p class="last">Folders will be deleted without any warning. They will be deleted even if they are not empty.</p>
149
+ </div>
150
+ </div>
151
+
152
+
153
+ </div>
154
+
155
+ </div>
156
+ </div>
157
+ <footer class="footer">
158
+ <div class="container">
159
+ <p class="pull-right">
160
+ <a href="#">Back to top</a>
161
+
162
+ </p>
163
+ <p>
164
+ &copy; Copyright 2016, E.S.R.Labs AG.<br/>
165
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
166
+ </p>
167
+ </div>
168
+ </footer>
169
+ </body>
170
+ </html>
@@ -151,6 +151,7 @@
151
151
  <li class="toctree-l1"><a class="reference internal" href="the_clang.html">Clang Analyze</a></li>
152
152
  <li class="toctree-l1"><a class="reference internal" href="dot.html">Generating dot graphs</a></li>
153
153
  <li class="toctree-l1"><a class="reference internal" href="qac.html">QACPP</a></li>
154
+ <li class="toctree-l1"><a class="reference internal" href="bakeclean.html">bakeclean</a></li>
154
155
  </ul>
155
156
  </div>
156
157
  <div class="section" id="unnecessary-includes">
@@ -1,320 +1,322 @@
1
- require 'bake/toolchain/colorizing_formatter'
2
- require 'common/options/parser'
3
- require 'bake/options/showToolchains'
4
- require 'bake/options/showLicense'
5
- require 'bake/options/showDoc'
6
- require 'bake/options/usage'
7
- require 'bake/options/create'
8
- require 'bake/bundle'
9
-
10
- module Bake
11
-
12
- def self.options
13
- @@options
14
- end
15
- def self.options=(options)
16
- @@options = options
17
- end
18
-
19
- class Options < Parser
20
- attr_accessor :build_config, :nocache, :analyze, :eclipseOrder, :envToolchain, :showConfigs
21
- attr_reader :main_dir, :project, :filename, :main_project_name, :bundleDir, :buildDirDelimiter, :dot, :cc2j_filename # String
22
- attr_reader :roots, :include_filter, :exclude_filter, :adapt # String List
23
- attr_reader :conversion_info, :stopOnFirstError, :clean, :rebuild, :show_includes, :show_includes_and_defines, :projectPaths # Boolean
24
- attr_reader :linkOnly, :compileOnly, :no_autodir, :clobber, :lint, :docu, :debug, :prepro, :oldLinkOrder, :prebuild, :printTime, :json, :wparse # Boolean
25
- attr_reader :threads, :socket, :lint_min, :lint_max # Fixnum
26
- attr_reader :vars # map
27
- attr_reader :verbose
28
- attr_reader :consoleOutput_fullnames, :consoleOutput_visualStudio
29
-
30
-
31
- def initialize(argv)
32
- super(argv)
33
-
34
- @projectPaths = false
35
- @wparse = false
36
- @dot = nil
37
- @prebuild = false
38
- @printTime = false
39
- @buildDirDelimiter = "/"
40
- @oldLinkOrder = false
41
- @conversion_info = false
42
- @envToolchain = false
43
- @analyze = false
44
- @eclipseOrder = false
45
- @showConfigs = false
46
- @consoleOutput_fullnames = false
47
- @consoleOutput_visualStudio = false
48
- @prepro = false
49
- @stopOnFirstError = false
50
- @verbose = 1
51
- @vars = {}
52
- @build_config = ""
53
- @main_dir = nil
54
- @project = nil
55
- @filename = nil
56
- @cc2j_filename = nil
57
- @json = false
58
- @clean = false
59
- @clobber = false
60
- @lint = false
61
- @docu = false
62
- @debug = false
63
- @rebuild = false
64
- @nocache = false
65
- @show_includes = false
66
- @show_includes_and_defines = false
67
- @linkOnly = false
68
- @compileOnly = false
69
- @no_autodir = false
70
- @threads = 8
71
- @lint_min = 0
72
- @lint_max = -1
73
- @roots = []
74
- @socket = 0
75
- @include_filter = []
76
- @exclude_filter = []
77
- @def_roots = []
78
- @main_project_name = ""
79
- @adapt = []
80
- @bundleDir = nil
81
-
82
- add_option(["-b", "" ], lambda { |x| set_build_config(x) })
83
- add_option(["-m" ], lambda { |x| set_main_dir(x) })
84
- add_option(["-p" ], lambda { |x| @project = x })
85
- add_option(["-f" ], lambda { |x| @filename = x.gsub(/[\\]/,'/') })
86
- add_option(["-c" ], lambda { @clean = true })
87
- add_option(["-a" ], lambda { |x| Bake.formatter.setColorScheme(x.to_sym) })
88
- add_option(["-w" ], lambda { |x| set_root(x) })
89
- add_option(["-r" ], lambda { @stopOnFirstError = true })
90
- add_option(["--rebuild" ], lambda { @rebuild = true })
91
- add_option(["--prepro" ], lambda { @prepro = true })
92
- add_option(["--link-only", "--link_only" ], lambda { @linkOnly = true; })
93
- add_option(["--compile-only", "--compile_only" ], lambda { @compileOnly = true; })
94
- add_option(["--no-autodir", "--no_autodir" ], lambda { @no_autodir = true })
95
- add_option(["--lint" ], lambda { @lint = true })
96
- add_option(["--lint-min", "--lint_min" ], lambda { |x| @lint_min = String === x ? x.to_i : x })
97
- add_option(["--lint-max", "--lint_max" ], lambda { |x| @lint_max = String === x ? x.to_i : x })
98
-
99
- add_option(["--create" ], lambda { |x| Bake::Create.proj(x) })
100
- add_option(["--conversion-info", "--conversion_info" ], lambda { @conversion_info = true })
101
- add_option(["--filter-paths" ], lambda { @projectPaths = true })
102
-
103
- add_option(["--generate-doc", "--docu" ], lambda { @docu = true })
104
-
105
- add_option(["--adapt" ], lambda { |x| set_adapt(x) })
106
-
107
- add_option(["-v0" ], lambda { @verbose = 0 })
108
- add_option(["-v1" ], lambda { @verbose = 1 })
109
- add_option(["-v2" ], lambda { @verbose = 2 })
110
- add_option(["-v3" ], lambda { @verbose = 3 })
111
-
112
- add_option(["--debug" ], lambda { @debug = true })
113
- add_option(["--set" ], lambda { |x| set_set(x) })
114
-
115
- add_option(["--clobber" ], lambda { @clobber = true; @clean = true })
116
- add_option(["--ignore-cache", "--ignore_cache" ], lambda { @nocache = true })
117
- add_option(["-j", "--threads" ], lambda { |x| set_threads(x) })
118
- add_option(["--socket" ], lambda { |x| @socket = String === x ? x.to_i : x })
119
- add_option(["--toolchain-info", "--toolchain_info" ], lambda { |x| ToolchainInfo.showToolchain(x) })
120
- add_option(["--toolchain-names", "--toolchain_names" ], lambda { ToolchainInfo.showToolchainList })
121
- add_option(["--dot", ], lambda { |x| @dot = x })
122
- add_option(["--do", "--include_filter" ], lambda { |x| @include_filter << x })
123
- add_option(["--omit", "--exclude_filter" ], lambda { |x| @exclude_filter << x })
124
- add_option(["--abs-paths", "--show_abs_paths" ], lambda { @consoleOutput_fullnames = true })
125
- add_option(["--bundle" ], lambda { |x| Bake::Usage.bundle })
126
- add_option(["--bundle" ], lambda { Bake::Usage.bundle })
127
- # add_option(["--bundle" ], lambda { |x| set_bundle_dir(x) })
128
- # OLD flag renamed in case someone uses this feature
129
- add_option(["--bundleDeprecated" ], lambda { |x| set_bundle_dir(x) })
130
- add_option(["--prebuild" ], lambda { @prebuild = true })
131
- add_option(["--Wparse" ], lambda { @wparse = true })
132
-
133
- add_option(["-h", "--help" ], lambda { Bake::Usage.show })
134
- add_option(["--time", ], lambda { @printTime = true })
135
-
136
- add_option(["--incs-and-defs", "--show_incs_and_defs" ], lambda { @show_includes_and_defines = true })
137
- add_option(["--incs-and-defs=bake", ], lambda { @show_includes_and_defines = true })
138
- add_option(["--incs-and-defs=json" ], lambda { @show_includes_and_defines=true; @json=true })
139
- add_option(["--license", "--show_license" ], lambda { License.show })
140
- add_option(["--doc", "--show_doc" ], lambda { Doc.show })
141
-
142
- add_option(["--version" ], lambda { Bake::Usage.version })
143
- add_option(["--list", "--show_configs" ], lambda { @showConfigs = true })
144
- add_option(["--compilation-db" ], lambda { |x,dummy| @cc2j_filename = (x ? x : "compilation-db.json" )})
145
- add_option(["--link-2-17", "--link_2_17" ], lambda { @oldLinkOrder = true })
146
- add_option(["--build_", ], lambda { @buildDirDelimiter = "_" })
147
-
148
-
149
- # hidden
150
- add_option(["--visualStudio" ], lambda { @consoleOutput_visualStudio = true })
151
-
152
- # deprecated and not replaced by new command
153
- add_option(["--show_include_paths" ], lambda { @show_includes = true })
154
-
155
- end
156
-
157
- def parse_options()
158
- Bake::Bundle.instance.cleanup()
159
- parse_internal(false)
160
- set_main_dir(Dir.pwd) if @main_dir.nil?
161
- @roots = @def_roots if @roots.length == 0
162
- @roots.uniq!
163
- @adapt.uniq!
164
-
165
- if @project
166
- if @project.split(',').length > 2
167
- Bake.formatter.printError("Error: only one comma allowed for -p")
168
- ExitHelper.exit(1)
169
- end
170
- end
171
-
172
- if @conversion_info
173
- if @rebuild
174
- Bake.formatter.printError("Error: --conversion-info and --rebuild not allowed at the same time")
175
- ExitHelper.exit(1)
176
- end
177
- if @clean
178
- Bake.formatter.printError("Error: --conversion-info and -c not allowed at the same time")
179
- ExitHelper.exit(1)
180
- end
181
- if @prepro
182
- Bake.formatter.printError("Error: --conversion-info and --prepro not allowed at the same time")
183
- ExitHelper.exit(1)
184
- end
185
- if @linkOnly
186
- Bake.formatter.printError("Error: --conversion-info and --linkOnly not allowed at the same time")
187
- ExitHelper.exit(1)
188
- end
189
- if @compileOnly
190
- Bake.formatter.printError("Error: --conversion-info and --compileOnly not allowed at the same time")
191
- ExitHelper.exit(1)
192
- end
193
- if @lint
194
- Bake.formatter.printError("Error: --conversion-info and --lint not allowed at the same time")
195
- ExitHelper.exit(1)
196
- end
197
- if @docu
198
- Bake.formatter.printError("Error: --conversion-info and --docu not allowed at the same time")
199
- ExitHelper.exit(1)
200
- end
201
- if not @project
202
- Bake.formatter.printError("Error: --conversion-info must be used with -p")
203
- ExitHelper.exit(1)
204
- end
205
- end
206
-
207
- if @linkOnly
208
- if @rebuild
209
- Bake.formatter.printError("Error: --link-only and --rebuild not allowed at the same time")
210
- ExitHelper.exit(1)
211
- end
212
- if @clean
213
- Bake.formatter.printError("Error: --link-only and -c not allowed at the same time")
214
- ExitHelper.exit(1)
215
- end
216
- if @prepro
217
- Bake.formatter.printError("Error: --link-only and --prepro not allowed at the same time")
218
- ExitHelper.exit(1)
219
- end
220
- if @filename
221
- Bake.formatter.printError("Error: --link-only and --filename not allowed at the same time")
222
- ExitHelper.exit(1)
223
- end
224
- end
225
-
226
- if @compileOnly
227
- if @linkOnly
228
- Bake.formatter.printError("Error: --compile-only and --link-only not allowed at the same time")
229
- ExitHelper.exit(1)
230
- end
231
- if @filename
232
- Bake.formatter.printError("Error: --compile-only and --filename not allowed at the same time")
233
- ExitHelper.exit(1)
234
- end
235
- end
236
-
237
- if @prepro
238
- if @rebuild
239
- Bake.formatter.printError("Error: --prepro and --rebuild not allowed at the same time")
240
- ExitHelper.exit(1)
241
- end
242
- if @clean
243
- Bake.formatter.printError("Error: --prepro and -c not allowed at the same time")
244
- ExitHelper.exit(1)
245
- end
246
- end
247
-
248
- if @lint and @docu
249
- Bake.formatter.printError("Error: --lint and --docu not allowed at the same time")
250
- ExitHelper.exit(1)
251
- end
252
-
253
- @filename = "." if @compileOnly
254
-
255
- end
256
-
257
- def check_valid_dir(dir)
258
- if not File.exists?(dir)
259
- Bake.formatter.printError("Error: Directory #{dir} does not exist")
260
- ExitHelper.exit(1)
261
- end
262
- if not File.directory?(dir)
263
- Bake.formatter.printError("Error: #{dir} is not a directory")
264
- ExitHelper.exit(1)
265
- end
266
- end
267
-
268
- def set_build_config(config)
269
- if not @build_config.empty?
270
- Bake.formatter.printError("Error: Cannot set build config '#{config}', because build config is already set to '#{@build_config}'")
271
- ExitHelper.exit(1)
272
- end
273
- @build_config = config
274
- end
275
-
276
- def set_main_dir(dir)
277
- check_valid_dir(dir)
278
- @main_dir = File.expand_path(dir.gsub(/[\\]/,'/'))
279
- @main_project_name = File::basename(@main_dir)
280
- @def_roots = calc_def_roots(@main_dir)
281
- end
282
-
283
- def set_bundle_dir(dir)
284
- d = File.expand_path(dir.gsub(/[\\]/,'/'))
285
- Bake::Bundle.instance.setOutputDir(d)
286
- end
287
-
288
-
289
- def set_root(dir)
290
- check_valid_dir(dir)
291
- r = File.expand_path(dir.gsub(/[\\]/,'/'))
292
- @roots << r if not @roots.include?r
293
- end
294
-
295
- def set_adapt(name)
296
- @adapt << name if not @adapt.include?name
297
- end
298
-
299
- def set_threads(num)
300
- @threads = String === num ? num.to_i : num
301
- if @threads <= 0
302
- Bake.formatter.printError("Error: number of threads must be > 0")
303
- ExitHelper.exit(1)
304
- end
305
- end
306
-
307
- def set_set(str)
308
- ar = str.split("=")
309
- if not str.include?"=" or ar[0].length == 0
310
- Bake.formatter.printError("Error: --set must be followed by key=value")
311
- ExitHelper.exit(1)
312
- end
313
- @vars[ar[0]] = ar[1..-1].join("=")
314
- end
315
-
316
- end
317
-
318
- end
319
-
320
-
1
+ require 'bake/toolchain/colorizing_formatter'
2
+ require 'common/options/parser'
3
+ require 'bake/options/showToolchains'
4
+ require 'bake/options/showLicense'
5
+ require 'bake/options/showDoc'
6
+ require 'bake/options/usage'
7
+ require 'bake/options/create'
8
+ require 'bake/bundle'
9
+
10
+ module Bake
11
+
12
+ def self.options
13
+ @@options
14
+ end
15
+ def self.options=(options)
16
+ @@options = options
17
+ end
18
+
19
+ class Options < Parser
20
+ attr_accessor :build_config, :nocache, :analyze, :eclipseOrder, :envToolchain, :showConfigs
21
+ attr_reader :main_dir, :project, :filename, :main_project_name, :bundleDir, :buildDirDelimiter, :dot, :cc2j_filename # String
22
+ attr_reader :roots, :include_filter, :exclude_filter, :adapt # String List
23
+ attr_reader :conversion_info, :stopOnFirstError, :clean, :rebuild, :show_includes, :show_includes_and_defines, :projectPaths, :qac # Boolean
24
+ attr_reader :linkOnly, :compileOnly, :no_autodir, :clobber, :lint, :docu, :debug, :prepro, :oldLinkOrder, :prebuild, :printTime, :json, :wparse # Boolean
25
+ attr_reader :threads, :socket, :lint_min, :lint_max # Fixnum
26
+ attr_reader :vars # map
27
+ attr_reader :verbose
28
+ attr_reader :consoleOutput_fullnames, :consoleOutput_visualStudio
29
+
30
+
31
+ def initialize(argv)
32
+ super(argv)
33
+
34
+ @qac = false
35
+ @projectPaths = false
36
+ @wparse = false
37
+ @dot = nil
38
+ @prebuild = false
39
+ @printTime = false
40
+ @buildDirDelimiter = "/"
41
+ @oldLinkOrder = false
42
+ @conversion_info = false
43
+ @envToolchain = false
44
+ @analyze = false
45
+ @eclipseOrder = false
46
+ @showConfigs = false
47
+ @consoleOutput_fullnames = false
48
+ @consoleOutput_visualStudio = false
49
+ @prepro = false
50
+ @stopOnFirstError = false
51
+ @verbose = 1
52
+ @vars = {}
53
+ @build_config = ""
54
+ @main_dir = nil
55
+ @project = nil
56
+ @filename = nil
57
+ @cc2j_filename = nil
58
+ @json = false
59
+ @clean = false
60
+ @clobber = false
61
+ @lint = false
62
+ @docu = false
63
+ @debug = false
64
+ @rebuild = false
65
+ @nocache = false
66
+ @show_includes = false
67
+ @show_includes_and_defines = false
68
+ @linkOnly = false
69
+ @compileOnly = false
70
+ @no_autodir = false
71
+ @threads = 8
72
+ @lint_min = 0
73
+ @lint_max = -1
74
+ @roots = []
75
+ @socket = 0
76
+ @include_filter = []
77
+ @exclude_filter = []
78
+ @def_roots = []
79
+ @main_project_name = ""
80
+ @adapt = []
81
+ @bundleDir = nil
82
+
83
+ add_option(["-b", "" ], lambda { |x| set_build_config(x) })
84
+ add_option(["-m" ], lambda { |x| set_main_dir(x) })
85
+ add_option(["-p" ], lambda { |x| @project = x })
86
+ add_option(["-f" ], lambda { |x| @filename = x.gsub(/[\\]/,'/') })
87
+ add_option(["-c" ], lambda { @clean = true })
88
+ add_option(["-a" ], lambda { |x| Bake.formatter.setColorScheme(x.to_sym) })
89
+ add_option(["-w" ], lambda { |x| set_root(x) })
90
+ add_option(["-r" ], lambda { @stopOnFirstError = true })
91
+ add_option(["--rebuild" ], lambda { @rebuild = true })
92
+ add_option(["--prepro" ], lambda { @prepro = true })
93
+ add_option(["--link-only", "--link_only" ], lambda { @linkOnly = true; })
94
+ add_option(["--compile-only", "--compile_only" ], lambda { @compileOnly = true; })
95
+ add_option(["--no-autodir", "--no_autodir" ], lambda { @no_autodir = true })
96
+ add_option(["--lint" ], lambda { @lint = true })
97
+ add_option(["--lint-min", "--lint_min" ], lambda { |x| @lint_min = String === x ? x.to_i : x })
98
+ add_option(["--lint-max", "--lint_max" ], lambda { |x| @lint_max = String === x ? x.to_i : x })
99
+
100
+ add_option(["--create" ], lambda { |x| Bake::Create.proj(x) })
101
+ add_option(["--conversion-info", "--conversion_info" ], lambda { @conversion_info = true })
102
+ add_option(["--filter-paths" ], lambda { @projectPaths = true })
103
+ add_option(["--qac" ], lambda { @qac = true })
104
+
105
+ add_option(["--generate-doc", "--docu" ], lambda { @docu = true })
106
+
107
+ add_option(["--adapt" ], lambda { |x| set_adapt(x) })
108
+
109
+ add_option(["-v0" ], lambda { @verbose = 0 })
110
+ add_option(["-v1" ], lambda { @verbose = 1 })
111
+ add_option(["-v2" ], lambda { @verbose = 2 })
112
+ add_option(["-v3" ], lambda { @verbose = 3 })
113
+
114
+ add_option(["--debug" ], lambda { @debug = true })
115
+ add_option(["--set" ], lambda { |x| set_set(x) })
116
+
117
+ add_option(["--clobber" ], lambda { @clobber = true; @clean = true })
118
+ add_option(["--ignore-cache", "--ignore_cache" ], lambda { @nocache = true })
119
+ add_option(["-j", "--threads" ], lambda { |x| set_threads(x) })
120
+ add_option(["--socket" ], lambda { |x| @socket = String === x ? x.to_i : x })
121
+ add_option(["--toolchain-info", "--toolchain_info" ], lambda { |x| ToolchainInfo.showToolchain(x) })
122
+ add_option(["--toolchain-names", "--toolchain_names" ], lambda { ToolchainInfo.showToolchainList })
123
+ add_option(["--dot", ], lambda { |x| @dot = x })
124
+ add_option(["--do", "--include_filter" ], lambda { |x| @include_filter << x })
125
+ add_option(["--omit", "--exclude_filter" ], lambda { |x| @exclude_filter << x })
126
+ add_option(["--abs-paths", "--show_abs_paths" ], lambda { @consoleOutput_fullnames = true })
127
+ add_option(["--bundle" ], lambda { |x| Bake::Usage.bundle })
128
+ add_option(["--bundle" ], lambda { Bake::Usage.bundle })
129
+ # add_option(["--bundle" ], lambda { |x| set_bundle_dir(x) })
130
+ # OLD flag renamed in case someone uses this feature
131
+ add_option(["--bundleDeprecated" ], lambda { |x| set_bundle_dir(x) })
132
+ add_option(["--prebuild" ], lambda { @prebuild = true })
133
+ add_option(["--Wparse" ], lambda { @wparse = true })
134
+
135
+ add_option(["-h", "--help" ], lambda { Bake::Usage.show })
136
+ add_option(["--time", ], lambda { @printTime = true })
137
+
138
+ add_option(["--incs-and-defs", "--show_incs_and_defs" ], lambda { @show_includes_and_defines = true })
139
+ add_option(["--incs-and-defs=bake", ], lambda { @show_includes_and_defines = true })
140
+ add_option(["--incs-and-defs=json" ], lambda { @show_includes_and_defines=true; @json=true })
141
+ add_option(["--license", "--show_license" ], lambda { License.show })
142
+ add_option(["--doc", "--show_doc" ], lambda { Doc.show })
143
+
144
+ add_option(["--version" ], lambda { Bake::Usage.version })
145
+ add_option(["--list", "--show_configs" ], lambda { @showConfigs = true })
146
+ add_option(["--compilation-db" ], lambda { |x,dummy| @cc2j_filename = (x ? x : "compilation-db.json" )})
147
+ add_option(["--link-2-17", "--link_2_17" ], lambda { @oldLinkOrder = true })
148
+ add_option(["--build_", ], lambda { @buildDirDelimiter = "_" })
149
+
150
+
151
+ # hidden
152
+ add_option(["--visualStudio" ], lambda { @consoleOutput_visualStudio = true })
153
+
154
+ # deprecated and not replaced by new command
155
+ add_option(["--show_include_paths" ], lambda { @show_includes = true })
156
+
157
+ end
158
+
159
+ def parse_options()
160
+ Bake::Bundle.instance.cleanup()
161
+ parse_internal(false)
162
+ set_main_dir(Dir.pwd) if @main_dir.nil?
163
+ @roots = @def_roots if @roots.length == 0
164
+ @roots.uniq!
165
+ @adapt.uniq!
166
+
167
+ if @project
168
+ if @project.split(',').length > 2
169
+ Bake.formatter.printError("Error: only one comma allowed for -p")
170
+ ExitHelper.exit(1)
171
+ end
172
+ end
173
+
174
+ if @conversion_info
175
+ if @rebuild
176
+ Bake.formatter.printError("Error: --conversion-info and --rebuild not allowed at the same time")
177
+ ExitHelper.exit(1)
178
+ end
179
+ if @clean
180
+ Bake.formatter.printError("Error: --conversion-info and -c not allowed at the same time")
181
+ ExitHelper.exit(1)
182
+ end
183
+ if @prepro
184
+ Bake.formatter.printError("Error: --conversion-info and --prepro not allowed at the same time")
185
+ ExitHelper.exit(1)
186
+ end
187
+ if @linkOnly
188
+ Bake.formatter.printError("Error: --conversion-info and --linkOnly not allowed at the same time")
189
+ ExitHelper.exit(1)
190
+ end
191
+ if @compileOnly
192
+ Bake.formatter.printError("Error: --conversion-info and --compileOnly not allowed at the same time")
193
+ ExitHelper.exit(1)
194
+ end
195
+ if @lint
196
+ Bake.formatter.printError("Error: --conversion-info and --lint not allowed at the same time")
197
+ ExitHelper.exit(1)
198
+ end
199
+ if @docu
200
+ Bake.formatter.printError("Error: --conversion-info and --docu not allowed at the same time")
201
+ ExitHelper.exit(1)
202
+ end
203
+ if not @project
204
+ Bake.formatter.printError("Error: --conversion-info must be used with -p")
205
+ ExitHelper.exit(1)
206
+ end
207
+ end
208
+
209
+ if @linkOnly
210
+ if @rebuild
211
+ Bake.formatter.printError("Error: --link-only and --rebuild not allowed at the same time")
212
+ ExitHelper.exit(1)
213
+ end
214
+ if @clean
215
+ Bake.formatter.printError("Error: --link-only and -c not allowed at the same time")
216
+ ExitHelper.exit(1)
217
+ end
218
+ if @prepro
219
+ Bake.formatter.printError("Error: --link-only and --prepro not allowed at the same time")
220
+ ExitHelper.exit(1)
221
+ end
222
+ if @filename
223
+ Bake.formatter.printError("Error: --link-only and --filename not allowed at the same time")
224
+ ExitHelper.exit(1)
225
+ end
226
+ end
227
+
228
+ if @compileOnly
229
+ if @linkOnly
230
+ Bake.formatter.printError("Error: --compile-only and --link-only not allowed at the same time")
231
+ ExitHelper.exit(1)
232
+ end
233
+ if @filename
234
+ Bake.formatter.printError("Error: --compile-only and --filename not allowed at the same time")
235
+ ExitHelper.exit(1)
236
+ end
237
+ end
238
+
239
+ if @prepro
240
+ if @rebuild
241
+ Bake.formatter.printError("Error: --prepro and --rebuild not allowed at the same time")
242
+ ExitHelper.exit(1)
243
+ end
244
+ if @clean
245
+ Bake.formatter.printError("Error: --prepro and -c not allowed at the same time")
246
+ ExitHelper.exit(1)
247
+ end
248
+ end
249
+
250
+ if @lint and @docu
251
+ Bake.formatter.printError("Error: --lint and --docu not allowed at the same time")
252
+ ExitHelper.exit(1)
253
+ end
254
+
255
+ @filename = "." if @compileOnly
256
+
257
+ end
258
+
259
+ def check_valid_dir(dir)
260
+ if not File.exists?(dir)
261
+ Bake.formatter.printError("Error: Directory #{dir} does not exist")
262
+ ExitHelper.exit(1)
263
+ end
264
+ if not File.directory?(dir)
265
+ Bake.formatter.printError("Error: #{dir} is not a directory")
266
+ ExitHelper.exit(1)
267
+ end
268
+ end
269
+
270
+ def set_build_config(config)
271
+ if not @build_config.empty?
272
+ Bake.formatter.printError("Error: Cannot set build config '#{config}', because build config is already set to '#{@build_config}'")
273
+ ExitHelper.exit(1)
274
+ end
275
+ @build_config = config
276
+ end
277
+
278
+ def set_main_dir(dir)
279
+ check_valid_dir(dir)
280
+ @main_dir = File.expand_path(dir.gsub(/[\\]/,'/'))
281
+ @main_project_name = File::basename(@main_dir)
282
+ @def_roots = calc_def_roots(@main_dir)
283
+ end
284
+
285
+ def set_bundle_dir(dir)
286
+ d = File.expand_path(dir.gsub(/[\\]/,'/'))
287
+ Bake::Bundle.instance.setOutputDir(d)
288
+ end
289
+
290
+
291
+ def set_root(dir)
292
+ check_valid_dir(dir)
293
+ r = File.expand_path(dir.gsub(/[\\]/,'/'))
294
+ @roots << r if not @roots.include?r
295
+ end
296
+
297
+ def set_adapt(name)
298
+ @adapt << name if not @adapt.include?name
299
+ end
300
+
301
+ def set_threads(num)
302
+ @threads = String === num ? num.to_i : num
303
+ if @threads <= 0
304
+ Bake.formatter.printError("Error: number of threads must be > 0")
305
+ ExitHelper.exit(1)
306
+ end
307
+ end
308
+
309
+ def set_set(str)
310
+ ar = str.split("=")
311
+ if not str.include?"=" or ar[0].length == 0
312
+ Bake.formatter.printError("Error: --set must be followed by key=value")
313
+ ExitHelper.exit(1)
314
+ end
315
+ @vars[ar[0]] = ar[1..-1].join("=")
316
+ end
317
+
318
+ end
319
+
320
+ end
321
+
322
+