bake-toolkit 2.29.0 → 2.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/documentation/_build/html/_sources/changelog.txt +4 -0
- data/documentation/_build/html/_sources/index.txt +1 -1
- data/documentation/_build/html/changelog.html +6 -0
- data/documentation/_build/html/index.html +4 -4
- data/documentation/_build/html/searchindex.js +1 -1
- data/lib/bake/config/loader.rb +11 -6
- data/lib/bake/options/options.rb +6 -5
- data/lib/bake/options/usage.rb +2 -1
- data/lib/blocks/block.rb +23 -2
- data/lib/blocks/blockBase.rb +7 -29
- data/lib/blocks/compile.rb +46 -16
- data/lib/blocks/convert.rb +3 -3
- data/lib/blocks/executable.rb +6 -6
- data/lib/blocks/library.rb +6 -6
- data/lib/blocks/showIncludes.rb +1 -1
- data/lib/common/version.rb +1 -1
- data/lib/tocxx.rb +20 -13
- metadata +2 -3
- data/lib/blocks/fileList.rb +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5c78d0ea9fcb856cab4d65057462fe6fad8b2f8
|
4
|
+
data.tar.gz: c3fe8f0a5a444d3be4b4b4d84306972eb504a295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3fab78ccf8ca70a65d2ad6b60db705c393c6035d333429e20c678ce0ad9f93d9910e330d3563aecfd65edb5ecc601d0b86e9715a445c3cb9fc15b576a91071b
|
7
|
+
data.tar.gz: b50e7c51733fccdbf2ede3f87c37987e0acb903745bb3d136eb61b13416ac283a384ad02f361e81753120e46b6b0a9a5d4745dbd93a5b233162c462aa3b26d46
|
@@ -1,6 +1,10 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
January 10, 2017 - bake-toolkit 2.29.2
|
5
|
+
* Changed: --file-list output now written into files instead of stdout, see "bake -h".
|
6
|
+
* Bugfix: adapt condition "toolchain" not evaluated correctly in all cases
|
7
|
+
|
4
8
|
January 4, 2017 - bake-toolkit 2.29.0
|
5
9
|
* Added: CleanSteps, executed only when calling bake with "-c" or "--rebuild".
|
6
10
|
* Added: Wildcard "*" is allowed for project/config names in Adapt.
|
@@ -140,6 +140,12 @@
|
|
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>January 10, 2017 - bake-toolkit 2.29.2</dt>
|
144
|
+
<dd><ul class="first last simple">
|
145
|
+
<li>Changed: –file-list output now written into files instead of stdout, see “bake -h”.</li>
|
146
|
+
<li>Bugfix: adapt condition “toolchain” not evaluated correctly in all cases</li>
|
147
|
+
</ul>
|
148
|
+
</dd>
|
143
149
|
<dt>January 4, 2017 - bake-toolkit 2.29.0</dt>
|
144
150
|
<dd><ul class="first last simple">
|
145
151
|
<li>Added: CleanSteps, executed only when calling bake with “-c” or “–rebuild”.</li>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
7
|
|
8
|
-
<title>bake 2.29.
|
8
|
+
<title>bake 2.29.2 — 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.29.
|
97
|
+
<li><a class="reference internal" href="#">bake 2.29.2</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-29-
|
138
|
-
<h1>bake 2.29.
|
137
|
+
<div class="section" id="bake-2-29-2">
|
138
|
+
<h1>bake 2.29.2<a class="headerlink" href="#bake-2-29-2" 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/bakeclean","tips_and_tricks/dot","tips_and_tricks/how_to_use_bake_with_cygwin","tips_and_tricks/qac","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,"__this__":29,"_dev":37,"_one_":41,"break":[0,42],"byte":24,"case":[0,6,12,29,30],"class":4,"default":[0,1,12,23,28,32,38,39],"export":10,"float":38,"function":0,"import":[],"long":[0,19,27],"new":9,"null":0,"return":[0,28,37],"switch":[0,10,15,28,37,38,42],"throw":23,"true":[0,4,29,32],"try":[0,10],"while":23,abc:[1,29,34],abi:0,abl:42,abort:[0,24,37],about:[0,15,38],abov:[0,2,6,10,16,26,31,38],absolut:0,absolute_path_to_working_dir:41,accept:[0,14],access:0,account:0,acf:38,action:26,activ:0,actual:23,adapt:10,add:[6,8],addit:[19,26,27],addition:38,adjust:[7,8],adjustcdt:0,adjustinclud:0,admin:[],adr:32,advantag:3,advis:26,after:[0,14,37,39],again:[0,10,27],algorithm:6,alia:[0,37],all:[0,1,2,6,7,12,13,15,26,29,31,32,36,37,39,40,41],allow:[0,1,7,29,31,34],allunittest:39,almost:11,along:0,alpha:40,alphabet:0,alreadi:15,also:[0,11,12,13,15,18,34,38],altern:38,although:0,alwai:[0,7,13,15,32],ambigu:0,analys:0,analysi:38,analyz:[],ani:[7,18,26,35],annot:[0,19],anoth:[0,1,18,25],anotherfold:38,ansi:[1,37],anymor:[0,7,10,37],anyth:25,appear:15,append:[0,29,38],appli:[13,26],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:42,arg:0,argument:[0,6,18,35],aris:26,arrai:32,arrow:13,articular:26,artifact:34,artifactnam:[0,8,31,32,34],artifactnamebas:[0,34],asm:[1,32],asmpath:[0,15,34],assembl:[34,41],associ:[9,26],assum:[1,8,23],atom:21,attribut:[0,29,31],august:0,author:26,auto:[15,28],autodir:0,automat:[0,8,13,30,38],avail:[0,4,6,12,14,18,21,38],avoid:[0,7,23,37,42],awar:29,back:[4,32,38],background:37,backward:0,bake:[],bakeclean:[],bakeqac:[],bakeri:[],base:[0,6,31,34],basedon:32,basi:41,bat:[18,37],batch:[0,18],beauti:16,becaus:[4,8,31,42],becom:0,been:[0,1,25,26],befor:[0,5,10,15],begin:[0,29],behaviour:[0,6,38],below:[0,14,18,21,29],best:[16,41],beteween:42,better:0,between:[0,15,42],big:42,bin:[0,18,34,37],binari:[0,26,37],bla:0,black:[1,28,37,39],blue:[32,39],bootload:34,bootloader_1:34,bootloaderupdat:30,both:[6,29,31],bottom:2,box:[13,15],broken:0,browser:23,bsp:39,bspabc:1,bspcorez6:0,bug:[0,23],bugfix:0,build:[],build_:[0,35],built:[0,1,6,7,8,25,37,38,42],bundl:0,busi:26,cach:[0,28],calcul:[0,30,38],calcvar:34,call:[0,1,8,18,35,37,38,39,40],can:[1,2,7,8,9,10,11,12],candriv:[0,34],cannot:[0,4,7,13],care:0,caus:[23,26],cc2j:0,ccsv5:0,cct:[0,38],cdt:[7,9],certain:[0,38],chang:[0,6,7,10,13,15,23,25,29,35],charact:[0,37],charg:26,check:[0,1,18,21,23,39,41],checkbox:10,checker:40,checkout:38,child:[29,31],choos:[1,11,12,13],chosen:[0,15,38],cip:0,circl:15,circular:0,circumst:0,cl470:0,claim:26,clang:[],clang_analyz:[0,40],clean:[],cleanstep:[0,32],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:[1,4,6],code_st:0,collect:[],collectionmandatori:39,color:[0,1,23,28,37,38,39],color_schem:38,com:[14,21],combin:[0,2,38],come:17,comma:[0,1,31],command:[2,6,9,15,18,19,24,28],commandlin:[],comment:[0,1,32,39],commit:[10,12,41],common7:18,common:16,compar:[12,16],compat:[0,42],compil:[1,2,6,7,8],complet:[0,6,10,15],complex:27,compon:[4,26],concaten:31,concret:4,condit:26,config:[1,2,4,6,7,8,15,19,24],confignam:[0,34],configpkg:0,configur:[1,3,4],confnam:34,confus:0,connect:[23,24,26],consecut:38,consequenti:26,consist:[0,8,26],consol:[0,1,15,37,39],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:9,copi:[0,6,26],copyright:26,corez6:0,corpor:26,correct:[0,37],correctli:[0,21,23],corrupt:0,cosmet:0,could:0,cpath:[0,15,34],cplusplu:40,cpp:[1,7,8,18,28,29,31,32,40],cpppath:[0,15,34],cprojec:12,cproject:[10,11,12,15],cpu:27,crash:0,creat:[2,9],createvsproject:[0,17],creativ:16,ctrl:[0,37],current:[0,1,6,29,32,34,35,39],cursor:[32,39],custom:[2,8],customconfig:[0,2,29,31,32,36,40],cxxproject:[0,26],cyan:36,cyclic:0,cygdriv:[13,37],cygwin:13,damag:26,darwin13:[23,28],data:[0,26],databas:38,deadcod:40,deal:26,debug:[1,4,6,7,8,9],debug_info:7,debug_main:8,decemb:0,decor:15,def:[0,34],defaulttoolchain:[0,7,8,15,18,19,29,31,32,34,40],defin:[1,2,7],definit:[0,5,7,34],delet:[0,10,25,35],deped:23,depenc:42,depend:[1,2,3],dependend:42,deprec:0,deprect:0,deriv:[],derv:31,describ:[15,18],descript:[0,32,34,39],deselect:19,desgin:[],design:[16,42],detail:[28,29,32],detect:0,develop:10,devenv:18,diab:[0,29,31],diag_warn:0,dialog:[0,13],did:0,differ:[7,12,13,23],dir:[0,32,34],direct:[0,26],directli:[0,6,15,34,38],directori:[],disabl:[0,19],discard:24,disclaim:26,disk:10,dismiss:38,displai:[0,15,19,32,39],distribut:3,doc:0,docu:[0,32],document:[0,16,23,26,32,38,42],doe:[2,10],don:[13,18,30,42],done:[0,7,13,28],dot:[],doubl:[21,32,39],download:[9,21],due:0,dure:[],eabi:0,each:[0,26],earli:0,earlier:0,easi:[11,22,23,31,36,42],easiest:[37,42],easili:[7,40,42],echo:[0,8,32],eclips:7,eclipseord:[0,29,32],edit:[12,25,40],editor:9,either:[29,31,40],element:[29,30,31,32,39],elf:[0,34],ellips:36,els:[1,25],email:32,embrac:42,empti:[0,7,11,29,34,35],en_u:[23,38],enabl:[0,9,12,15],end:0,energi:42,enforc:38,english:23,ensur:[0,10],entir:42,env:[0,32],environ:[13,18,23],equal:[0,34],equip:2,equival:26,error:[1,15,18,19],escap:37,especi:0,esrlab:[14,21],etc:[8,18,34,37,38,41],evalu:[0,23,34],evalut:34,even:[0,26,35,42],event:26,everi:[0,2,8],everyth:7,exactli:[29,38],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,41],executableconfig:[0,2,4,7,8,29,31,32,36,40],exemplari:26,exens:34,exist:[6,9],exit:[0,28],exitstep:[0,32],expand:0,experiment:0,explain:29,explicitli:[0,6,26],explor:[10,12,15],express:26,extend:15,extens:21,extern:3,externallibrari:[0,5,8,30,32],externallibrarysearchpath:[8,30,32],extrem:0,fail:[0,2,38],failur:42,fals:[0,32],fan:42,fast:[22,42],faster:27,featur:[6,12,14,15,16,38],februari:0,fetch:23,few:[0,6,15,38,42],file:[],filenam:[0,24,36],filesystem:35,fill:[10,11,15],filter:[0,32,38],find:10,finish:12,first:[0,1,18,29,30,31,38,39],fit:[26,42],fix:[0,27],flag:[0,7,8,18,31,32,40],focu:42,folder:[0,1,6,11,30,35,38],follow:[6,13,14,16,21,26,28,30,31,34,37,40],follw:28,forget:13,form:26,format:[0,38],forth:38,forward:[0,31],found:[0,10,12,13,23,28,29,34,37,38],four:29,framework:38,free:26,from:[],front:[0,4,32],fstab:37,full:34,furnish:26,gcc:[0,7,8,13,18,29,31,34,38,40],gcc_env:0,gdb:13,gem:[0,23],gener:[2,5,10,15,23,28,31],get:[],ghz:27,git:41,github:[0,9],given:24,gizmomogwai:0,glob:[0,6],gmock:38,goal:[],goe:0,good:[12,26,42],googl:23,googletest:4,govern:26,grant:26,graph:[],graphic:26,graphviz:36,greater:[0,24],green:[13,36],greenhil:0,gsub:23,gtest:38,had:0,hand:0,handl:0,handler:37,happen:[0,8],hard:[4,30,36,42],hardcod:0,hash:[32,39],have:[0,1,4,7,10,11,12,13,15,18,23,26,29,30,31,32,37,38,39,40,42],hdd:27,header:6,hello:34,help:[],here:[0,12,18,29,42],herebi:26,hereinaft:26,hide:[0,6],high:31,higher:0,highest:0,highlin:23,hinder:42,hit:37,holder:26,hopefulli:0,host:[0,1,8,23,28,29,34],hostnam:34,hour:42,howev:[0,13,23,26,41],http:[14,21,36],icon:16,idea:12,ignor:[0,12,14],ignore_cach:0,iinclud:[8,28],imag:36,imagin:40,immedi:[0,29],impact:0,implement:4,impli:26,implicitli:31,improv:0,inc:[0,31],incident:26,includ:[1,4,7,8],include_filt:0,include_path:0,includedir:3,inclus:0,incomplet:38,inconsist:[0,7],incorrect:[0,41],incorrectli:0,independ:[0,38,39,42],indirect:[0,26],individu:0,infix:0,info:[0,24,28,29,41],inform:[],informationen:10,inherit:3,inject:3,input:0,instal:9,instead:[0,4,7,10,37,38,40],integr:[6,9],intel:27,intend:0,intern:15,internaldefin:[0,15,32],internalinclud:[0,15,32],internat:23,interrupt:[26,37],introduc:0,invalid:[],invert:0,invok:40,issu:10,istal:23,isystem:0,item:[15,19],itself:7,januari:0,java:0,json:0,juli:0,junction:[],june:0,kat:16,keep:32,keil:0,keyword:[0,29],kicker:42,kind:26,know:4,known:4,lab:[14,21,26],label:15,lack:16,lake:26,larg:42,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:42,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:[2,3,4],libraryconfig:[0,2,4,7,8,29,31,32,36],libsub:8,licens:[14,16],life:34,lightweight:42,like:[0,1,2,7,15,18,21,23,29,30,31,34,37,40],limit:26,line:[6,15,18,19,24,26],link:[2,3],link_onli:0,linker:[0,2,18,29,31,32,34],linkerpath:[0,15,34],linkerscript:[0,32],lint:0,lint_max:0,lint_min:0,lintpolici:0,linux:[0,29,41],list:[0,12,26,29,31,41],listen:[0,24],llvm:0,lnt:0,load:[0,28],local:[0,29],localhost:24,locat:[0,8,11],lock:0,logic:6,longer:0,look:[21,29,31,34,42],loss:26,lower:4,luckili:0,mac:29,machin:0,made:[0,13],magic:0,mai:[0,6,37,38],main1:39,main2:39,main:[1,2,3,4,6],mainconfig:[29,32],mainconfignam:[0,7,34,38],mainproj:[1,39],mainproject:[29,32],mainprojectdir:[0,34],mainprojectnam:[0,7,34],maintain:42,maintanc:42,major:[6,12,29,32,37],make:[0,4,6,10,23,37,42],makefil:[2,17],mani:7,manipul:29,manual:[0,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,matur:16,max:0,maximum:[0,32],mcpp:38,mean:[0,10,29,40,42],mechan:12,mention:38,menu:[0,10,12,15,19],merchant:26,merg:[0,1,6,26,31],messag:[],met:26,meta:[2,3,4,5,6,7],method:23,microsoft:18,might:[0,10,15,23,41],min:[0,27],mind:32,mingw:0,minimum:[0,32],minor:[0,32],minut:[15,28,42],misra:[0,38],miss:0,mix:29,mkdir:28,mmd:0,mock:[4,38],mode:[0,35,37],modif:26,modifi:[0,26],modul:0,more:[],most:[],mount:13,mous:[32,39],move:[0,32,39],msvc:[0,18],multi:0,multipl:27,must:[0,5,6,7,13,15,26,37,39,42],mv7a8:0,my_comput:34,my_project:[8,28],mylib:4,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:38,nativ:[18,27],navig:11,nbsp:[32,39],ndebug:7,ndefault:39,necessari:[0,37,38,42],need:[0,4,6,7,9,10,27,30,34,38],neglig:26,nest:[],network:23,never:0,nevertheless:13,newer:37,newlib:6,next:[0,13],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:[6,12,13,15],noth:28,notic:26,novemb:0,now:[8,9],number:[0,7,15,24,38],oathnam:0,object:[0,5,6],obtain:26,occur:0,octob:0,off:[0,15,32],offici:0,often:[23,36],old:[0,12],omit:[0,1,6,39],onc:[10,31,39],onli:[0,1,4,6,7,10,12,15,18,19,26,27,29,31,36,37,38,40,42],open:[0,6,23],oper:29,opinion:42,opt:0,optim:[6,7],option:[],order:3,org:36,origin:[0,4,29,37,38,41],other:[0,2,6,7,11,13,19,26,30,34,42],otherwis:[0,13,26,38],our:[37,42],out:[0,1,10,15,18,26,38,39,41],output:[3,6],outputdir:[0,32,34],outsid:[0,4,7,29],over:[0,32,39],overwrit:[0,7,38],overwritten:[0,12],owner:26,packag:37,page:[0,9,12,15,18,38],paket:24,paramet:[0,19,30,35,37,38],parent:[0,1,29,31,32],pars:29,parser:[0,23],part:[6,26,30,36,39],parti:[0,6,26],particular:26,pass:0,password:23,patch:[0,32],path:8,path_separ:0,pathnam:0,pathto:32,pattern:[0,1,32],peak:27,peopl:42,per:[0,12,23,38],perfect:10,perform:[],perman:37,permiss:26,permit:26,person:[26,32],personali:42,phisolophi:42,phrase:26,pictur:0,pipe:0,place:[0,40],plain:0,platform:[0,28,34,38],pleas:[14,21,38],plugin:[0,14,18,21],png:36,point:[16,42],pointer:0,port:24,portion:26,posix:37,possibl:[0,1,4,6,9,10,26,29,31,34,36,39,41],post:[2,8],poststep:[0,8,32],practic:41,pre:2,prebuild:3,predefin:7,prefer:9,prefix:[0,37],prepro:0,preproc_with_compil:0,press:12,prestep:[0,32],prestepmain:2,pretti:[31,42],preview:35,previou:0,primarybootloader2includ:30,print:[0,38,41],print_less:0,prior:0,prioriti:[0,31,34],privat:[0,32],probabl:0,problem:[0,15],procedur:35,process:[0,26,42],procur:26,product:26,profit:26,program:[26,37],programm:37,progress:42,progressbar:[0,23],proj:0,projec:[10,34],project:[],projectdir:[0,34],projectnam:[0,34],projnam:34,properli:0,properti:[12,18],protect:23,prove:42,provid:[0,9,16,26,28,42],proxi:23,prqa:38,publish:26,purpos:[26,42],put:31,python:38,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:[0,38],qaf:38,quickstart:[],quot:[32,39],raid:27,rake:0,ram:27,rare:0,rather:42,raw:[0,37,38],rcf:[0,38],rcr:38,rdoc:23,reach:[0,38],read:[0,8,10,14,29,37,42],readi:28,real:[29,34],realli:[0,1],reanm:0,reason:[37,42],rebuild:[0,15,25,27,38],rebuilt:0,recogn:[0,30],recognit:0,recommend:17,recompil:0,recreat:[0,12],rectangl:36,recurs:[0,31,35],red:36,redistribut:26,reduc:7,redund:0,refer:[0,6,7,30],referenc:[0,7,26,29,30],reformat:[0,38],refus:0,regardless:[0,29],regener:0,regular:[0,7,29,38,40],rel:[0,30,32],releas:[0,6,7,39],relev:6,reload:[0,28],rememb:29,remov:10,renam:[0,37],render:36,repetet:31,replac:10,report:[],repositori:[10,41],reproduc:26,requir:0,requiredbakevers:32,reserv:26,resourc:0,respons:32,rest:24,restart:14,restrict:[0,26,29],result:10,retain:26,retri:[0,38],reus:0,revis:23,rework:0,rewrit:17,rgen:[0,23],rid:[12,37],right:[0,15,19,26,38],robust:0,root1:[1,39],root2:[1,39],root:[],rtext:[0,9,23],rtext_eclipse_plugin:9,rubi:[10,23],ruby192:37,rubygem:[0,23],rule:[0,38],run:[0,13,23,27,37,39,42],same:3,satisfi:10,scenario:0,script:[0,6,10,17,32,38,42],scroll:0,search:[0,1,8,29,32,35,38,42],sec:27,second:[0,15,38],secur:[14,40],see:[0,15,19,23,26,32,36,37,40,42],seem:41,seen:[0,15],select:[10,14],sell:26,sens:10,sensit:0,separ:[0,1,26,31],seper:34,septemb:0,sequenc:37,server:21,servic:26,set:[7,8,15,18],setup:[6,14,18,42],sever:[0,1,10,24,31,39],shall:[4,6,12,26],shell:[2,37],shift:0,shortcut:0,should:[],show:0,show_abs_path:0,show_config:0,show_doc:0,show_incs_and_def:0,show_licens:0,shown:[0,10,15,18,19,38],signal:37,similar:[12,29,38],simliar:40,simpli:[7,10,12,15,31,38],singl:[],site:[9,14,21],size:15,skip:0,slash:[0,32],slightli:[0,38],slow:0,small:[0,10],softwar:[9,14,22,26,41],solut:[18,23],some:[0,6,10,12,15,18,26,38],someconfig:29,someth:[0,1,34],sometim:42,soon:[0,9],sorri:0,sort:0,sourc:[0,6,8,10,12,13,19,23,25,26,40],space:[0,32],spam:0,special:[0,26,30],specifi:[0,1,2,6,7,8,10,15,19,29,32,38,39,41],spent:42,spider:13,src:[0,8,28],standard:12,start:[10,16,18],startup:[0,27],startupcod:0,startupstep:[0,32],state:26,statement:[15,41],stdin:[0,37],stdout:38,step:[2,8,10,14,21,37],stick:42,still:[0,10,16],stop:[0,1,39],stoponfirsterror:0,store:0,straight:31,strategi:0,stream:0,strict:26,string:[0,32,34,39],structur:[28,36],stty:37,studio:16,stuff:[2,7,34],style:0,sub1:41,sub2:41,sub3:39,sub:[0,7,8,12,31],subcollect:39,subconfig:0,subfold:[0,38],subject:26,sublicens:26,subprocess:37,subproject:7,subset:10,substanti:26,substitut:[0,8,26,32,34],subtag:0,success:0,successful:14,successfulli:[23,25,41],suitabl:13,supplier:6,support:1,suppress:[0,38],sur:38,sure:[6,23],svn:41,swcabc:0,swcabcd:0,symbol:13,symlink:[],sync:[0,41],system:[0,7,10,23,27,29,32,34,37],tag:[0,6],take:[0,15,27,40,42],taken:[0,8],target:[0,32],team:10,templat:[0,38],temporari:0,term:26,test:18,testa:36,text:[32,36],than:[],thank:0,theconfig:34,thei:[1,6,12,16,29,35,42],them:[0,12,29,38],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,37,38,39,40,41,42],thing:[29,38],think:42,third:[0,6,26,38],those:[6,15,42],though:42,thread:[0,27],three:[6,11,32,38],through:42,ti_ar:0,ti_cl:0,ti_hom:0,time:[0,10,28,34],timeout:[0,38],tms470:0,too:[0,13],tool:[0,10,18,21,30,34,38,42],toolchain:[0,7,8,18,29,32,38],toolchain_info:0,toolchain_nam:0,toolchainnam:[0,34],toolkit:[0,17,23,39],top:29,tort:26,touch:25,tpng:36,treat:0,tred:36,tree:0,tri:[24,38],trust:14,tty:37,turn:[0,6],two:[0,1,6,18,29,34,39],type:2,typic:[3,4],typo:0,uncach:0,unchang:25,uncommon:1,undefin:23,under:[0,10,13,16],underscor:26,understand:[36,42],unfilt:38,uniniti:0,unintention:0,uniqu:39,unit:[0,38,39],unittest:[0,4,29,39],unittestlib:39,unittestlibswithoutbsp:39,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:[1,8,23,28],userlibrari:[30,32],usr:34,usual:[1,2,15,18,29,34,42],usuali:23,valid:[0,7,29,30,31,32],validexitcod:[0,32],valu:[0,32,34],variabl:[8,15,23],vcvarsal:18,verbos:0,veri:[0,11,12,23,27,29,31,39],version:[0,17,23,27,37,38,42],via:[0,10,15,19,21,29,37],view:15,violat:38,virtual:0,visibl:37,visual:16,vs2013:0,w3520:27,wai:[0,17,23,26,34,37,42],wait:42,wall:8,want:[0,1,6,10,12,28,29,40,42],warn:[14,24],warn_sect:0,warranti:26,web:23,webpag:23,well:0,were:[0,23,26,29],what:[3,4],whatev:[7,30],when:[0,6,17,25,26,29,41],where:[0,42],whether:[26,42],which:[],white:37,whole:[0,10,26,27,36],whom:26,why:[7,10,37],wildcard:[0,1,39],window:[0,9,10,15,19,27,29,34,37,41],wishlist:0,without:[6,18,25,26,27,34,35],wizard:[0,10],won:2,word:0,work:[0,10,13,15,29,35,37,40,41],workaround:[0,25],workflow:3,workspac:[1,6,8,9],world:34,would:[0,4,34],wrap:0,wrapper:[10,11,12,38],write:[0,29,30,38,40],writecc2j:0,written:[0,1,15],wrong:0,www:[14,21,36],wysiwyg:42,x86_64:[23,28],xeon:27,xml:21,yesquant:39,yet:[10,18],you:[1,6,7,9,10,11,12],your:[10,12]},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.29.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","The Bakery","Clang Analyze","Additional features","Why you should use bake"],titleterms:{"0x01":24,"0x0a":24,"import":[1,12],"new":11,adapt:29,add:13,addit:[38,41],adjust:[15,30],admin:38,advantag:7,analyz:[38,40],appli:29,applic:[1,13],arbitrari:1,auto:30,bake:[1,14,15,17,19,21,22,23,27,34,37,42],bakeclean:35,bakeqac:38,bakeri:39,basic:16,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,collect:39,command:29,commandlin:[1,39],compil:13,complex:34,concept:3,condit:29,config:[29,31],configur:[6,13,15],convert:10,creat:[11,12,13,17],cygwin:37,debug:[13,18],defin:[15,34],depend:4,deriv:31,desgin:42,develop:24,differ:27,differnt:1,directori:[1,7],distribut:6,doe:23,dot:36,dure:23,eclips:[9,11,12,13,14,15,27],effect:29,environ:[27,34],error:[23,24],exampl:[1,2,5,7,8,23,38],exist:[10,30],extend:29,extern:5,featur:41,file:[1,8,15,32],from:[1,29],gener:36,get:1,goal:42,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,39],implic:31,includ:[15,41],includedir:4,inform:13,inherit:[4,31],inject:4,instal:[14,21,23],instruct:32,integr:[14,16,21],interact:32,intern:24,introduct:29,invalid:23,issu:[23,25],junction:41,just:1,kei:9,known:[23,25],languag:23,librari:5,licens:26,line:29,link:5,main:[7,15],makefil:27,map:13,messag:23,meta:[8,29,32,34,39],more:1,most:1,multipl:31,nest:34,note:[24,34,38],now:13,occurr:29,option:[1,38],order:[5,29],output:[7,38],packet:24,path:[13,30],perform:27,perspect:15,prebuild:6,predefin:34,prefer:15,project:[1,7,8,11,15,17,24,29,30,32,34],qacpp:38,quickstart:28,receiv:24,remov:29,replac:29,report:38,result:[15,27],root:1,rubi:27,same:5,select:15,send:24,set:23,should:42,singl:1,socket:24,specif:1,start:[23,24],step:38,studio:[18,19,20,21],support:16,symlink:41,syntax:[9,32,33,39],test:27,than:1,type:[24,29],typic:6,unix:27,unnecessari:41,user:34,variabl:34,view:38,viewer:32,visual:[18,19,20,21],warn:34,what:[8,39],which:1,why:42,wildcard:29,within:1,without:38,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/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,"__this__":29,"_dev":37,"_one_":41,"break":[0,42],"byte":24,"case":[0,6,12,29,30],"class":4,"default":[0,1,12,23,28,32,38,39],"export":10,"float":38,"function":0,"import":[],"long":[0,19,27],"new":9,"null":0,"return":[0,28,37],"switch":[0,10,15,28,37,38,42],"throw":23,"true":[0,4,29,32],"try":[0,10],"while":23,abc:[1,29,34],abi:0,abl:42,abort:[0,24,37],about:[0,15,38],abov:[0,2,6,10,16,26,31,38],absolut:0,absolute_path_to_working_dir:41,accept:[0,14],access:0,account:0,acf:38,action:26,activ:0,actual:23,adapt:10,add:[6,8],addit:[19,26,27],addition:38,adjust:[7,8],adjustcdt:0,adjustinclud:0,admin:[],adr:32,advantag:3,advis:26,after:[0,14,37,39],again:[0,10,27],algorithm:6,alia:[0,37],all:[0,1,2,6,7,12,13,15,26,29,31,32,36,37,39,40,41],allow:[0,1,7,29,31,34],allunittest:39,almost:11,along:0,alpha:40,alphabet:0,alreadi:15,also:[0,11,12,13,15,18,34,38],altern:38,although:0,alwai:[0,7,13,15,32],ambigu:0,analys:0,analysi:38,analyz:[],ani:[7,18,26,35],annot:[0,19],anoth:[0,1,18,25],anotherfold:38,ansi:[1,37],anymor:[0,7,10,37],anyth:25,appear:15,append:[0,29,38],appli:[13,26],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:42,arg:0,argument:[0,6,18,35],aris:26,arrai:32,arrow:13,articular:26,artifact:34,artifactnam:[0,8,31,32,34],artifactnamebas:[0,34],asm:[1,32],asmpath:[0,15,34],assembl:[34,41],associ:[9,26],assum:[1,8,23],atom:21,attribut:[0,29,31],august:0,author:26,auto:[15,28],autodir:0,automat:[0,8,13,30,38],avail:[0,4,6,12,14,18,21,38],avoid:[0,7,23,37,42],awar:29,back:[4,32,38],background:37,backward:0,bake:[],bakeclean:[],bakeqac:[],bakeri:[],base:[0,6,31,34],basedon:32,basi:41,bat:[18,37],batch:[0,18],beauti:16,becaus:[4,8,31,42],becom:0,been:[0,1,25,26],befor:[0,5,10,15],begin:[0,29],behaviour:[0,6,38],below:[0,14,18,21,29],best:[16,41],beteween:42,better:0,between:[0,15,42],big:42,bin:[0,18,34,37],binari:[0,26,37],bla:0,black:[1,28,37,39],blue:[32,39],bootload:34,bootloader_1:34,bootloaderupdat:30,both:[6,29,31],bottom:2,box:[13,15],broken:0,browser:23,bsp:39,bspabc:1,bspcorez6:0,bug:[0,23],bugfix:0,build:[],build_:[0,35],built:[0,1,6,7,8,25,37,38,42],bundl:0,busi:26,cach:[0,28],calcul:[0,30,38],calcvar:34,call:[0,1,8,18,35,37,38,39,40],can:[1,2,7,8,9,10,11,12],candriv:[0,34],cannot:[0,4,7,13],care:0,caus:[23,26],cc2j:0,ccsv5:0,cct:[0,38],cdt:[7,9],certain:[0,38],chang:[0,6,7,10,13,15,23,25,29,35],charact:[0,37],charg:26,check:[0,1,18,21,23,39,41],checkbox:10,checker:40,checkout:38,child:[29,31],choos:[1,11,12,13],chosen:[0,15,38],cip:0,circl:15,circular:0,circumst:0,cl470:0,claim:26,clang:[],clang_analyz:[0,40],clean:[],cleanstep:[0,32],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:[1,4,6],code_st:0,collect:[],collectionmandatori:39,color:[0,1,23,28,37,38,39],color_schem:38,com:[14,21],combin:[0,2,38],come:17,comma:[0,1,31],command:[2,6,9,15,18,19,24,28],commandlin:[],comment:[0,1,32,39],commit:[10,12,41],common7:18,common:16,compar:[12,16],compat:[0,42],compil:[1,2,6,7,8],complet:[0,6,10,15],complex:27,compon:[4,26],concaten:31,concret:4,condit:26,config:[1,2,4,6,7,8,15,19,24],confignam:[0,34],configpkg:0,configur:[1,3,4],confnam:34,confus:0,connect:[23,24,26],consecut:38,consequenti:26,consist:[0,8,26],consol:[0,1,15,37,39],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:9,copi:[0,6,26],copyright:26,corez6:0,corpor:26,correct:[0,37],correctli:[0,21,23],corrupt:0,cosmet:0,could:0,cpath:[0,15,34],cplusplu:40,cpp:[1,7,8,18,28,29,31,32,40],cpppath:[0,15,34],cprojec:12,cproject:[10,11,12,15],cpu:27,crash:0,creat:[2,9],createvsproject:[0,17],creativ:16,ctrl:[0,37],current:[0,1,6,29,32,34,35,39],cursor:[32,39],custom:[2,8],customconfig:[0,2,29,31,32,36,40],cxxproject:[0,26],cyan:36,cyclic:0,cygdriv:[13,37],cygwin:13,damag:26,darwin13:[23,28],data:[0,26],databas:38,deadcod:40,deal:26,debug:[1,4,6,7,8,9],debug_info:7,debug_main:8,decemb:0,decor:15,def:[0,34],defaulttoolchain:[0,7,8,15,18,19,29,31,32,34,40],defin:[1,2,7],definit:[0,5,7,34],delet:[0,10,25,35],deped:23,depenc:42,depend:[1,2,3],dependend:42,deprec:0,deprect:0,deriv:[],derv:31,describ:[15,18],descript:[0,32,34,39],deselect:19,desgin:[],design:[16,42],detail:[28,29,32],detect:0,develop:10,devenv:18,diab:[0,29,31],diag_warn:0,dialog:[0,13],did:0,differ:[7,12,13,23],dir:[0,32,34],direct:[0,26],directli:[0,6,15,34,38],directori:[],disabl:[0,19],discard:24,disclaim:26,disk:10,dismiss:38,displai:[0,15,19,32,39],distribut:3,doc:0,docu:[0,32],document:[0,16,23,26,32,38,42],doe:[2,10],don:[13,18,30,42],done:[0,7,13,28],dot:[],doubl:[21,32,39],download:[9,21],due:0,dure:[],eabi:0,each:[0,26],earli:0,earlier:0,easi:[11,22,23,31,36,42],easiest:[37,42],easili:[7,40,42],echo:[0,8,32],eclips:7,eclipseord:[0,29,32],edit:[12,25,40],editor:9,either:[29,31,40],element:[29,30,31,32,39],elf:[0,34],ellips:36,els:[1,25],email:32,embrac:42,empti:[0,7,11,29,34,35],en_u:[23,38],enabl:[0,9,12,15],end:0,energi:42,enforc:38,english:23,ensur:[0,10],entir:42,env:[0,32],environ:[13,18,23],equal:[0,34],equip:2,equival:26,error:[1,15,18,19],escap:37,especi:0,esrlab:[14,21],etc:[8,18,34,37,38,41],evalu:[0,23,34],evalut:34,even:[0,26,35,42],event:26,everi:[0,2,8],everyth:7,exactli:[29,38],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,41],executableconfig:[0,2,4,7,8,29,31,32,36,40],exemplari:26,exens:34,exist:[6,9],exit:[0,28],exitstep:[0,32],expand:0,experiment:0,explain:29,explicitli:[0,6,26],explor:[10,12,15],express:26,extend:15,extens:21,extern:3,externallibrari:[0,5,8,30,32],externallibrarysearchpath:[8,30,32],extrem:0,fail:[0,2,38],failur:42,fals:[0,32],fan:42,fast:[22,42],faster:27,featur:[6,12,14,15,16,38],februari:0,fetch:23,few:[0,6,15,38,42],file:[],filenam:[0,24,36],filesystem:35,fill:[10,11,15],filter:[0,32,38],find:10,finish:12,first:[0,1,18,29,30,31,38,39],fit:[26,42],fix:[0,27],flag:[0,7,8,18,31,32,40],focu:42,folder:[0,1,6,11,30,35,38],follow:[6,13,14,16,21,26,28,30,31,34,37,40],follw:28,forget:13,form:26,format:[0,38],forth:38,forward:[0,31],found:[0,10,12,13,23,28,29,34,37,38],four:29,framework:38,free:26,from:[],front:[0,4,32],fstab:37,full:34,furnish:26,gcc:[0,7,8,13,18,29,31,34,38,40],gcc_env:0,gdb:13,gem:[0,23],gener:[2,5,10,15,23,28,31],get:[],ghz:27,git:41,github:[0,9],given:24,gizmomogwai:0,glob:[0,6],gmock:38,goal:[],goe:0,good:[12,26,42],googl:23,googletest:4,govern:26,grant:26,graph:[],graphic:26,graphviz:36,greater:[0,24],green:[13,36],greenhil:0,gsub:23,gtest:38,had:0,hand:0,handl:0,handler:37,happen:[0,8],hard:[4,30,36,42],hardcod:0,hash:[32,39],have:[0,1,4,7,10,11,12,13,15,18,23,26,29,30,31,32,37,38,39,40,42],hdd:27,header:6,hello:34,help:[],here:[0,12,18,29,42],herebi:26,hereinaft:26,hide:[0,6],high:31,higher:0,highest:0,highlin:23,hinder:42,hit:37,holder:26,hopefulli:0,host:[0,1,8,23,28,29,34],hostnam:34,hour:42,howev:[0,13,23,26,41],http:[14,21,36],icon:16,idea:12,ignor:[0,12,14],ignore_cach:0,iinclud:[8,28],imag:36,imagin:40,immedi:[0,29],impact:0,implement:4,impli:26,implicitli:31,improv:0,inc:[0,31],incident:26,includ:[1,4,7,8],include_filt:0,include_path:0,includedir:3,inclus:0,incomplet:38,inconsist:[0,7],incorrect:[0,41],incorrectli:0,independ:[0,38,39,42],indirect:[0,26],individu:0,infix:0,info:[0,24,28,29,41],inform:[],informationen:10,inherit:3,inject:3,input:0,instal:9,instead:[0,4,7,10,37,38,40],integr:[6,9],intel:27,intend:0,intern:15,internaldefin:[0,15,32],internalinclud:[0,15,32],internat:23,interrupt:[26,37],introduc:0,invalid:[],invert:0,invok:40,issu:10,istal:23,isystem:0,item:[15,19],itself:7,januari:0,java:0,json:0,juli:0,junction:[],june:0,kat:16,keep:32,keil:0,keyword:[0,29],kicker:42,kind:26,know:4,known:4,lab:[14,21,26],label:15,lack:16,lake:26,larg:42,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:42,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:[2,3,4],libraryconfig:[0,2,4,7,8,29,31,32,36],libsub:8,licens:[14,16],life:34,lightweight:42,like:[0,1,2,7,15,18,21,23,29,30,31,34,37,40],limit:26,line:[6,15,18,19,24,26],link:[2,3],link_onli:0,linker:[0,2,18,29,31,32,34],linkerpath:[0,15,34],linkerscript:[0,32],lint:0,lint_max:0,lint_min:0,lintpolici:0,linux:[0,29,41],list:[0,12,26,29,31,41],listen:[0,24],llvm:0,lnt:0,load:[0,28],local:[0,29],localhost:24,locat:[0,8,11],lock:0,logic:6,longer:0,look:[21,29,31,34,42],loss:26,lower:4,luckili:0,mac:29,machin:0,made:[0,13],magic:0,mai:[0,6,37,38],main1:39,main2:39,main:[1,2,3,4,6],mainconfig:[29,32],mainconfignam:[0,7,34,38],mainproj:[1,39],mainproject:[29,32],mainprojectdir:[0,34],mainprojectnam:[0,7,34],maintain:42,maintanc:42,major:[6,12,29,32,37],make:[0,4,6,10,23,37,42],makefil:[2,17],mani:7,manipul:29,manual:[0,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,matur:16,max:0,maximum:[0,32],mcpp:38,mean:[0,10,29,40,42],mechan:12,mention:38,menu:[0,10,12,15,19],merchant:26,merg:[0,1,6,26,31],messag:[],met:26,meta:[2,3,4,5,6,7],method:23,microsoft:18,might:[0,10,15,23,41],min:[0,27],mind:32,mingw:0,minimum:[0,32],minor:[0,32],minut:[15,28,42],misra:[0,38],miss:0,mix:29,mkdir:28,mmd:0,mock:[4,38],mode:[0,35,37],modif:26,modifi:[0,26],modul:0,more:[],most:[],mount:13,mous:[32,39],move:[0,32,39],msvc:[0,18],multi:0,multipl:27,must:[0,5,6,7,13,15,26,37,39,42],mv7a8:0,my_comput:34,my_project:[8,28],mylib:4,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:38,nativ:[18,27],navig:11,nbsp:[32,39],ndebug:7,ndefault:39,necessari:[0,37,38,42],need:[0,4,6,7,9,10,27,30,34,38],neglig:26,nest:[],network:23,never:0,nevertheless:13,newer:37,newlib:6,next:[0,13],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:[6,12,13,15],noth:28,notic:26,novemb:0,now:[8,9],number:[0,7,15,24,38],oathnam:0,object:[0,5,6],obtain:26,occur:0,octob:0,off:[0,15,32],offici:0,often:[23,36],old:[0,12],omit:[0,1,6,39],onc:[10,31,39],onli:[0,1,4,6,7,10,12,15,18,19,26,27,29,31,36,37,38,40,42],open:[0,6,23],oper:29,opinion:42,opt:0,optim:[6,7],option:[],order:3,org:36,origin:[0,4,29,37,38,41],other:[0,2,6,7,11,13,19,26,30,34,42],otherwis:[0,13,26,38],our:[37,42],out:[0,1,10,15,18,26,38,39,41],output:[3,6],outputdir:[0,32,34],outsid:[0,4,7,29],over:[0,32,39],overwrit:[0,7,38],overwritten:[0,12],owner:26,packag:37,page:[0,9,12,15,18,38],paket:24,paramet:[0,19,30,35,37,38],parent:[0,1,29,31,32],pars:29,parser:[0,23],part:[6,26,30,36,39],parti:[0,6,26],particular:26,pass:0,password:23,patch:[0,32],path:8,path_separ:0,pathnam:0,pathto:32,pattern:[0,1,32],peak:27,peopl:42,per:[0,12,23,38],perfect:10,perform:[],perman:37,permiss:26,permit:26,person:[26,32],personali:42,phisolophi:42,phrase:26,pictur:0,pipe:0,place:[0,40],plain:0,platform:[0,28,34,38],pleas:[14,21,38],plugin:[0,14,18,21],png:36,point:[16,42],pointer:0,port:24,portion:26,posix:37,possibl:[0,1,4,6,9,10,26,29,31,34,36,39,41],post:[2,8],poststep:[0,8,32],practic:41,pre:2,prebuild:3,predefin:7,prefer:9,prefix:[0,37],prepro:0,preproc_with_compil:0,press:12,prestep:[0,32],prestepmain:2,pretti:[31,42],preview:35,previou:0,primarybootloader2includ:30,print:[0,38,41],print_less:0,prior:0,prioriti:[0,31,34],privat:[0,32],probabl:0,problem:[0,15],procedur:35,process:[0,26,42],procur:26,product:26,profit:26,program:[26,37],programm:37,progress:42,progressbar:[0,23],proj:0,projec:[10,34],project:[],projectdir:[0,34],projectnam:[0,34],projnam:34,properli:0,properti:[12,18],protect:23,prove:42,provid:[0,9,16,26,28,42],proxi:23,prqa:38,publish:26,purpos:[26,42],put:31,python:38,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:[0,38],qaf:38,quickstart:[],quot:[32,39],raid:27,rake:0,ram:27,rare:0,rather:42,raw:[0,37,38],rcf:[0,38],rcr:38,rdoc:23,reach:[0,38],read:[0,8,10,14,29,37,42],readi:28,real:[29,34],realli:[0,1],reanm:0,reason:[37,42],rebuild:[0,15,25,27,38],rebuilt:0,recogn:[0,30],recognit:0,recommend:17,recompil:0,recreat:[0,12],rectangl:36,recurs:[0,31,35],red:36,redistribut:26,reduc:7,redund:0,refer:[0,6,7,30],referenc:[0,7,26,29,30],reformat:[0,38],refus:0,regardless:[0,29],regener:0,regular:[0,7,29,38,40],rel:[0,30,32],releas:[0,6,7,39],relev:6,reload:[0,28],rememb:29,remov:10,renam:[0,37],render:36,repetet:31,replac:10,report:[],repositori:[10,41],reproduc:26,requir:0,requiredbakevers:32,reserv:26,resourc:0,respons:32,rest:24,restart:14,restrict:[0,26,29],result:10,retain:26,retri:[0,38],reus:0,revis:23,rework:0,rewrit:17,rgen:[0,23],rid:[12,37],right:[0,15,19,26,38],robust:0,root1:[1,39],root2:[1,39],root:[],rtext:[0,9,23],rtext_eclipse_plugin:9,rubi:[10,23],ruby192:37,rubygem:[0,23],rule:[0,38],run:[0,13,23,27,37,39,42],same:3,satisfi:10,scenario:0,script:[0,6,10,17,32,38,42],scroll:0,search:[0,1,8,29,32,35,38,42],sec:27,second:[0,15,38],secur:[14,40],see:[0,15,19,23,26,32,36,37,40,42],seem:41,seen:[0,15],select:[10,14],sell:26,sens:10,sensit:0,separ:[0,1,26,31],seper:34,septemb:0,sequenc:37,server:21,servic:26,set:[7,8,15,18],setup:[6,14,18,42],sever:[0,1,10,24,31,39],shall:[4,6,12,26],shell:[2,37],shift:0,shortcut:0,should:[],show:0,show_abs_path:0,show_config:0,show_doc:0,show_incs_and_def:0,show_licens:0,shown:[0,10,15,18,19,38],signal:37,similar:[12,29,38],simliar:40,simpli:[7,10,12,15,31,38],singl:[],site:[9,14,21],size:15,skip:0,slash:[0,32],slightli:[0,38],slow:0,small:[0,10],softwar:[9,14,22,26,41],solut:[18,23],some:[0,6,10,12,15,18,26,38],someconfig:29,someth:[0,1,34],sometim:42,soon:[0,9],sorri:0,sort:0,sourc:[0,6,8,10,12,13,19,23,25,26,40],space:[0,32],spam:0,special:[0,26,30],specifi:[0,1,2,6,7,8,10,15,19,29,32,38,39,41],spent:42,spider:13,src:[0,8,28],standard:12,start:[10,16,18],startup:[0,27],startupcod:0,startupstep:[0,32],state:26,statement:[15,41],stdin:[0,37],stdout:[0,38],step:[2,8,10,14,21,37],stick:42,still:[0,10,16],stop:[0,1,39],stoponfirsterror:0,store:0,straight:31,strategi:0,stream:0,strict:26,string:[0,32,34,39],structur:[28,36],stty:37,studio:16,stuff:[2,7,34],style:0,sub1:41,sub2:41,sub3:39,sub:[0,7,8,12,31],subcollect:39,subconfig:0,subfold:[0,38],subject:26,sublicens:26,subprocess:37,subproject:7,subset:10,substanti:26,substitut:[0,8,26,32,34],subtag:0,success:0,successful:14,successfulli:[23,25,41],suitabl:13,supplier:6,support:1,suppress:[0,38],sur:38,sure:[6,23],svn:41,swcabc:0,swcabcd:0,symbol:13,symlink:[],sync:[0,41],system:[0,7,10,23,27,29,32,34,37],tag:[0,6],take:[0,15,27,40,42],taken:[0,8],target:[0,32],team:10,templat:[0,38],temporari:0,term:26,test:18,testa:36,text:[32,36],than:[],thank:0,theconfig:34,thei:[1,6,12,16,29,35,42],them:[0,12,29,38],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,37,38,39,40,41,42],thing:[29,38],think:42,third:[0,6,26,38],those:[6,15,42],though:42,thread:[0,27],three:[6,11,32,38],through:42,ti_ar:0,ti_cl:0,ti_hom:0,time:[0,10,28,34],timeout:[0,38],tms470:0,too:[0,13],tool:[0,10,18,21,30,34,38,42],toolchain:[0,7,8,18,29,32,38],toolchain_info:0,toolchain_nam:0,toolchainnam:[0,34],toolkit:[0,17,23,39],top:29,tort:26,touch:25,tpng:36,treat:0,tred:36,tree:0,tri:[24,38],trust:14,tty:37,turn:[0,6],two:[0,1,6,18,29,34,39],txt:[],type:2,typic:[3,4],typo:0,uncach:0,unchang:25,uncommon:1,undefin:23,under:[0,10,13,16],underscor:26,understand:[36,42],unfilt:38,uniniti:0,unintention:0,uniqu:39,unit:[0,38,39],unittest:[0,4,29,39],unittestlib:39,unittestlibswithoutbsp:39,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:[1,8,23,28],userlibrari:[30,32],usr:34,usual:[1,2,15,18,29,34,42],usuali:23,valid:[0,7,29,30,31,32],validexitcod:[0,32],valu:[0,32,34],variabl:[8,15,23],vcvarsal:18,verbos:0,veri:[0,11,12,23,27,29,31,39],version:[0,17,23,27,37,38,42],via:[0,10,15,19,21,29,37],view:15,violat:38,virtual:0,visibl:37,visual:16,vs2013:0,w3520:27,wai:[0,17,23,26,34,37,42],wait:42,wall:8,want:[0,1,6,10,12,28,29,40,42],warn:[14,24],warn_sect:0,warranti:26,web:23,webpag:23,well:0,were:[0,23,26,29],what:[3,4],whatev:[7,30],when:[0,6,17,25,26,29,41],where:[0,42],whether:[26,42],which:[],white:37,whole:[0,10,26,27,36],whom:26,why:[7,10,37],wildcard:[1,39],window:[0,9,10,15,19,27,29,34,37,41],wishlist:0,without:[6,18,25,26,27,34,35],wizard:[0,10],won:2,word:0,work:[0,10,13,15,29,35,37,40,41],workaround:[0,25],workflow:3,workspac:[1,6,8,9],world:34,would:[0,4,34],wrap:0,wrapper:[10,11,12,38],write:[0,29,30,38,40],writecc2j:0,written:[0,1,15],wrong:0,www:[14,21,36],wysiwyg:42,x86_64:[23,28],xeon:27,xml:21,yesquant:39,yet:[10,18],you:[1,6,7,9,10,11,12],your:[10,12]},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.29.2","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","The Bakery","Clang Analyze","Additional features","Why you should use bake"],titleterms:{"0x01":24,"0x0a":24,"import":[1,12],"new":11,adapt:29,add:13,addit:[38,41],adjust:[15,30],admin:38,advantag:7,analyz:[38,40],appli:29,applic:[1,13],arbitrari:1,auto:30,bake:[1,14,15,17,19,21,22,23,27,34,37,42],bakeclean:35,bakeqac:38,bakeri:39,basic:16,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,collect:39,command:29,commandlin:[1,39],compil:13,complex:34,concept:3,condit:29,config:[29,31],configur:[6,13,15],convert:10,creat:[11,12,13,17],cygwin:37,debug:[13,18],defin:[15,34],depend:4,deriv:31,desgin:42,develop:24,differ:27,differnt:1,directori:[1,7],distribut:6,doe:23,dot:36,dure:23,eclips:[9,11,12,13,14,15,27],effect:29,environ:[27,34],error:[23,24],exampl:[1,2,5,7,8,23,38],exist:[10,30],extend:29,extern:5,featur:41,file:[1,8,15,32],from:[1,29],gener:36,get:1,goal:42,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,39],implic:31,includ:[15,41],includedir:4,inform:13,inherit:[4,31],inject:4,instal:[14,21,23],instruct:32,integr:[14,16,21],interact:32,intern:24,introduct:29,invalid:23,issu:[23,25],junction:41,just:1,kei:9,known:[23,25],languag:23,librari:5,licens:26,line:29,link:5,main:[7,15],makefil:27,map:13,messag:23,meta:[8,29,32,34,39],more:1,most:1,multipl:31,nest:34,note:[24,34,38],now:13,occurr:29,option:[1,38],order:[5,29],output:[7,38],packet:24,path:[13,30],perform:27,perspect:15,prebuild:6,predefin:34,prefer:15,project:[1,7,8,11,15,17,24,29,30,32,34],qacpp:38,quickstart:28,receiv:24,remov:29,replac:29,report:38,result:[15,27],root:1,rubi:27,same:5,select:15,send:24,set:23,should:42,singl:1,socket:24,specif:1,start:[23,24],step:38,studio:[18,19,20,21],support:16,symlink:41,syntax:[9,32,33,39],test:27,than:1,type:[24,29],typic:6,unix:27,unnecessari:41,user:34,variabl:34,view:38,viewer:32,visual:[18,19,20,21],warn:34,what:[8,39],which:1,why:42,wildcard:29,within:1,without:38,workflow:6,workspac:[10,12],you:[13,42],your:13}})
|
data/lib/bake/config/loader.rb
CHANGED
@@ -88,18 +88,18 @@ module Bake
|
|
88
88
|
# check if config has to be manipulated
|
89
89
|
@adaptConfigs.each do |c|
|
90
90
|
|
91
|
+
if isMain
|
92
|
+
@defaultToolchainName = config.defaultToolchain.basedOn unless config.defaultToolchain.nil?
|
93
|
+
@mainProjectName = config.parent.name
|
94
|
+
@mainConfigName = config.name
|
95
|
+
end
|
96
|
+
|
91
97
|
projPattern = /\A#{c.project.gsub("*", "(\\w*)")}\z/
|
92
98
|
confPattern = /\A#{c.name.gsub("*", "(\\w*)")}\z/
|
93
99
|
|
94
100
|
if projPattern.match(config.parent.name) or (isMain and c.project == "__MAIN__") or c.project == "__ALL__"
|
95
101
|
if confPattern.match(config.name) or (isMain and c.name == "__MAIN__") or c.name == "__ALL__"
|
96
102
|
|
97
|
-
if isMain
|
98
|
-
@defaultToolchainName = config.defaultToolchain.basedOn unless config.defaultToolchain.nil?
|
99
|
-
@mainProjectName = config.parent.name
|
100
|
-
@mainConfigName = config.name
|
101
|
-
end
|
102
|
-
|
103
103
|
conditionProjPattern = /\A#{c.parent.mainProject.gsub("*", "(\\w*)")}\z/
|
104
104
|
conditionConfPattern = /\A#{c.parent.mainConfig.gsub("*", "(\\w*)")}\z/
|
105
105
|
|
@@ -109,6 +109,11 @@ module Bake
|
|
109
109
|
next if c.parent.mainConfig != "" && !conditionConfPattern.match(@mainConfigName)
|
110
110
|
|
111
111
|
MergeConfig.new(c, config).merge(c.type.to_sym)
|
112
|
+
|
113
|
+
if isMain # can be changed after adapt
|
114
|
+
@defaultToolchainName = config.defaultToolchain.basedOn unless config.defaultToolchain.nil?
|
115
|
+
end
|
116
|
+
|
112
117
|
end
|
113
118
|
end
|
114
119
|
end
|
data/lib/bake/options/options.rb
CHANGED
@@ -19,17 +19,19 @@ module Bake
|
|
19
19
|
attr_accessor :build_config, :nocache, :analyze, :eclipseOrder, :envToolchain, :showConfigs
|
20
20
|
attr_reader :main_dir, :project, :filename, :main_project_name, :buildDirDelimiter, :dot, :cc2j_filename # String
|
21
21
|
attr_reader :roots, :include_filter, :exclude_filter, :adapt # String List
|
22
|
-
attr_reader :
|
22
|
+
attr_reader :conversion_info, :stopOnFirstError, :clean, :rebuild, :show_includes, :show_includes_and_defines, :projectPaths, :qac # Boolean
|
23
23
|
attr_reader :linkOnly, :compileOnly, :no_autodir, :clobber, :docu, :debug, :prepro, :oldLinkOrder, :prebuild, :printTime, :json, :wparse # Boolean
|
24
24
|
attr_reader :threads, :socket # Fixnum
|
25
25
|
attr_reader :vars # map
|
26
26
|
attr_reader :verbose
|
27
|
+
attr_reader :filelist # set
|
27
28
|
attr_reader :consoleOutput_fullnames, :consoleOutput_visualStudio
|
28
29
|
|
29
30
|
|
30
31
|
def initialize(argv)
|
31
32
|
super(argv)
|
32
33
|
|
34
|
+
@filelist = nil
|
33
35
|
@qac = false
|
34
36
|
@projectPaths = false
|
35
37
|
@wparse = false
|
@@ -39,7 +41,6 @@ module Bake
|
|
39
41
|
@buildDirDelimiter = "/"
|
40
42
|
@oldLinkOrder = false
|
41
43
|
@conversion_info = false
|
42
|
-
@file_list = false
|
43
44
|
@envToolchain = false
|
44
45
|
@analyze = false
|
45
46
|
@eclipseOrder = false
|
@@ -92,7 +93,7 @@ module Bake
|
|
92
93
|
|
93
94
|
add_option(["--create" ], lambda { |x| Bake::Create.proj(x) })
|
94
95
|
add_option(["--conversion-info", "--conversion_info" ], lambda { @conversion_info = true })
|
95
|
-
add_option(["--file-list", "--file_list" ], lambda { @
|
96
|
+
add_option(["--file-list", "--file_list" ], lambda { @filelist = Set.new })
|
96
97
|
add_option(["--filter-paths" ], lambda { @projectPaths = true })
|
97
98
|
add_option(["--qac" ], lambda { @qac = true })
|
98
99
|
|
@@ -159,8 +160,8 @@ module Bake
|
|
159
160
|
end
|
160
161
|
end
|
161
162
|
|
162
|
-
if @conversion_info || @
|
163
|
-
if @conversion_info && @
|
163
|
+
if @conversion_info || @filelist
|
164
|
+
if @conversion_info && @filelist
|
164
165
|
Bake.formatter.printError("Error: --conversion-info and --file-list not allowed at the same time")
|
165
166
|
ExitHelper.exit(1)
|
166
167
|
end
|
data/lib/bake/options/usage.rb
CHANGED
@@ -49,7 +49,8 @@ module Bake
|
|
49
49
|
puts " --incs-and-defs=json Prints includes and defines of all projects in json format"
|
50
50
|
puts " --incs-and-defs=bake Used by IDEs plugins"
|
51
51
|
puts " --conversion-info Prints infos for an external tool which converts bake configs for other build systems"
|
52
|
-
puts " --file-list
|
52
|
+
puts " --file-list Writes all sources and headers used by a SINGLE config into '<config output folder>/file-list.txt'."
|
53
|
+
puts " Writes all sources and headers used by ALL configs into '<main config output folder/global-file-list.txt'."
|
53
54
|
puts " --prebuild Does not build configs which are marked as 'prebuild', this feature is used for distributions."
|
54
55
|
puts " --compilation-db [<fn>] Writes compilation information into filename fn in json format, default for fn is compilation-db.json"
|
55
56
|
puts " --create exe|lib|custom Creates a project with exe, lib or custom template"
|
data/lib/blocks/block.rb
CHANGED
@@ -15,7 +15,7 @@ module Bake
|
|
15
15
|
|
16
16
|
class Block
|
17
17
|
|
18
|
-
attr_reader :lib_elements, :projectDir, :library, :config, :projectName, :prebuild
|
18
|
+
attr_reader :lib_elements, :projectDir, :library, :config, :projectName, :prebuild, :output_dir, :tcs
|
19
19
|
attr_accessor :visited, :inDeps, :result
|
20
20
|
|
21
21
|
def startupSteps
|
@@ -62,7 +62,7 @@ module Bake
|
|
62
62
|
@library = library
|
63
63
|
end
|
64
64
|
|
65
|
-
def initialize(config, referencedConfigs, prebuild)
|
65
|
+
def initialize(config, referencedConfigs, prebuild, tcs)
|
66
66
|
@inDeps = false
|
67
67
|
@prebuild = prebuild
|
68
68
|
@visited = false
|
@@ -74,8 +74,11 @@ module Bake
|
|
74
74
|
@projectDir = config.get_project_dir
|
75
75
|
@@block_counter = 0
|
76
76
|
@result = true
|
77
|
+
@tcs = tcs
|
77
78
|
|
78
79
|
@lib_elements = Bake::LibElements.calcLibElements(self)
|
80
|
+
|
81
|
+
calcOutputDir
|
79
82
|
end
|
80
83
|
|
81
84
|
def getCompileBlocks()
|
@@ -339,6 +342,24 @@ module Bake
|
|
339
342
|
return @otherBlocks
|
340
343
|
end
|
341
344
|
|
345
|
+
def isMainProject?
|
346
|
+
@projectName == Bake.options.main_project_name and @config.name == Bake.options.build_config
|
347
|
+
end
|
348
|
+
|
349
|
+
def calcOutputDir
|
350
|
+
if @tcs[:OUTPUT_DIR] != nil
|
351
|
+
p = convPath(@tcs[:OUTPUT_DIR])
|
352
|
+
@output_dir = p
|
353
|
+
else
|
354
|
+
qacPart = Bake.options.qac ? (".qac" + Bake.options.buildDirDelimiter) : ""
|
355
|
+
if isMainProject?
|
356
|
+
@output_dir = "build" + Bake.options.buildDirDelimiter + qacPart + Bake.options.build_config
|
357
|
+
else
|
358
|
+
@output_dir = "build" + Bake.options.buildDirDelimiter + qacPart + @config.name + "_" + Bake.options.main_project_name + "_" + Bake.options.build_config
|
359
|
+
end
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
342
363
|
end
|
343
364
|
|
344
365
|
|
data/lib/blocks/blockBase.rb
CHANGED
@@ -3,22 +3,18 @@ module Bake
|
|
3
3
|
|
4
4
|
class BlockBase
|
5
5
|
|
6
|
-
attr_reader :
|
7
|
-
attr_reader :projectDir
|
6
|
+
attr_reader :projectDir, :block
|
8
7
|
|
9
|
-
def initialize(block, config, referencedConfigs
|
8
|
+
def initialize(block, config, referencedConfigs)
|
10
9
|
@block = block
|
11
10
|
@config = config
|
12
11
|
@referencedConfigs = referencedConfigs
|
13
12
|
@projectName = config.parent.name
|
14
13
|
@projectDir = config.get_project_dir
|
15
|
-
@tcs = tcs
|
16
14
|
@config_date = Time.now
|
17
15
|
|
18
16
|
@printedCmdAlternate = false
|
19
17
|
@lastCommand = nil
|
20
|
-
|
21
|
-
calcOutputDir
|
22
18
|
end
|
23
19
|
|
24
20
|
def check_config_file()
|
@@ -89,24 +85,6 @@ module Bake
|
|
89
85
|
end
|
90
86
|
end
|
91
87
|
|
92
|
-
def isMainProject?
|
93
|
-
@projectName == Bake.options.main_project_name and @config.name == Bake.options.build_config
|
94
|
-
end
|
95
|
-
|
96
|
-
def calcOutputDir
|
97
|
-
if @tcs[:OUTPUT_DIR] != nil
|
98
|
-
p = @block.convPath(@tcs[:OUTPUT_DIR])
|
99
|
-
@output_dir = p
|
100
|
-
else
|
101
|
-
qacPart = Bake.options.qac ? (".qac" + Bake.options.buildDirDelimiter) : ""
|
102
|
-
if isMainProject?
|
103
|
-
@output_dir = "build" + Bake.options.buildDirDelimiter + qacPart + Bake.options.build_config
|
104
|
-
else
|
105
|
-
@output_dir = "build" + Bake.options.buildDirDelimiter + qacPart + @config.name + "_" + Bake.options.main_project_name + "_" + Bake.options.build_config
|
106
|
-
end
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
88
|
def printCmd(cmd, alternate, reason, forceVerbose)
|
111
89
|
if (cmd == @lastCommand)
|
112
90
|
if (Bake.options.verbose >= 2 or (@printedCmdAlternate and not forceVerbose))
|
@@ -199,12 +177,12 @@ module Bake
|
|
199
177
|
|
200
178
|
def cleanProjectDir
|
201
179
|
Dir.chdir(@projectDir) do
|
202
|
-
if File.exist?@output_dir
|
203
|
-
puts "Deleting folder #{@output_dir}" if Bake.options.verbose >= 2
|
204
|
-
FileUtils.rm_rf(@output_dir)
|
180
|
+
if File.exist?@block.output_dir
|
181
|
+
puts "Deleting folder #{@block.output_dir}" if Bake.options.verbose >= 2
|
182
|
+
FileUtils.rm_rf(@block.output_dir)
|
205
183
|
|
206
|
-
if (@tcs[:OUTPUT_DIR] == nil) && (Bake.options.buildDirDelimiter == "/") # in this case all builds are placed in a "build" folder
|
207
|
-
buildDir = File.dirname(@output_dir)
|
184
|
+
if (@block.tcs[:OUTPUT_DIR] == nil) && (Bake.options.buildDirDelimiter == "/") # in this case all builds are placed in a "build" folder
|
185
|
+
buildDir = File.dirname(@block.output_dir)
|
208
186
|
if (File.basename(buildDir) == "build") && (Dir.entries(buildDir).size == 2)# double check if it's really "build" and check if it's empty (except "." and "..")
|
209
187
|
puts "Deleting folder #{buildDir}" if Bake.options.verbose >= 2
|
210
188
|
FileUtils.rm_rf(buildDir)
|
data/lib/blocks/compile.rb
CHANGED
@@ -13,8 +13,8 @@ module Bake
|
|
13
13
|
|
14
14
|
attr_reader :objects, :include_list
|
15
15
|
|
16
|
-
def initialize(block, config, referencedConfigs
|
17
|
-
super(block, config, referencedConfigs
|
16
|
+
def initialize(block, config, referencedConfigs)
|
17
|
+
super(block, config, referencedConfigs)
|
18
18
|
@objects = []
|
19
19
|
@object_files = {}
|
20
20
|
@system_includes = Set.new
|
@@ -28,9 +28,9 @@ module Bake
|
|
28
28
|
def get_object_file(source)
|
29
29
|
|
30
30
|
# until now all OBJECT_FILE_ENDING are equal in all three types
|
31
|
-
adaptedSource = source.chomp(File.extname(source)).gsub(/\.\./, "##") + (Bake.options.prepro ? ".i" : @tcs[:COMPILER][:CPP][:OBJECT_FILE_ENDING])
|
31
|
+
adaptedSource = source.chomp(File.extname(source)).gsub(/\.\./, "##") + (Bake.options.prepro ? ".i" : @block.tcs[:COMPILER][:CPP][:OBJECT_FILE_ENDING])
|
32
32
|
return adaptedSource if File.is_absolute?source
|
33
|
-
File.join([@output_dir, adaptedSource])
|
33
|
+
File.join([@block.output_dir, adaptedSource])
|
34
34
|
end
|
35
35
|
|
36
36
|
def ignore?(type)
|
@@ -51,6 +51,8 @@ module Bake
|
|
51
51
|
|
52
52
|
begin
|
53
53
|
File.readlines(dep_filename_conv).map{|line| line.strip}.each do |dep|
|
54
|
+
Thread.current[:filelist].add(File.expand_path(dep)) if Bake.options.filelist
|
55
|
+
|
54
56
|
if not File.exist?(dep)
|
55
57
|
# we need a hack here. with some windows configurations the compiler prints unix paths
|
56
58
|
# into the dep file which cannot be found easily. this will be true for system includes,
|
@@ -97,7 +99,7 @@ module Bake
|
|
97
99
|
def get_source_type(source)
|
98
100
|
ex = File.extname(source)
|
99
101
|
[:CPP, :C, :ASM].each do |t|
|
100
|
-
return t if @tcs[:COMPILER][t][:SOURCE_FILE_ENDINGS].include?(ex)
|
102
|
+
return t if @block.tcs[:COMPILER][t][:SOURCE_FILE_ENDINGS].include?(ex)
|
101
103
|
end
|
102
104
|
nil
|
103
105
|
end
|
@@ -106,6 +108,8 @@ module Bake
|
|
106
108
|
type = get_source_type(source)
|
107
109
|
return if type.nil?
|
108
110
|
|
111
|
+
@headerFilesFromDep = []
|
112
|
+
|
109
113
|
object = @object_files[source]
|
110
114
|
|
111
115
|
dep_filename = calcDepFile(object, type)
|
@@ -121,12 +125,14 @@ module Bake
|
|
121
125
|
reason = config_changed?(cmdLineFile)
|
122
126
|
end
|
123
127
|
|
128
|
+
Thread.current[:filelist].add(File.expand_path(source)) if Bake.options.filelist
|
129
|
+
|
124
130
|
if @fileTcs.include?(source)
|
125
131
|
compiler = @fileTcs[source][:COMPILER][type]
|
126
132
|
defines = getDefines(compiler)
|
127
133
|
flags = getFlags(compiler)
|
128
134
|
else
|
129
|
-
compiler = @tcs[:COMPILER][type]
|
135
|
+
compiler = @block.tcs[:COMPILER][type]
|
130
136
|
defines = @define_array[type]
|
131
137
|
flags = @flag_array[type]
|
132
138
|
end
|
@@ -141,9 +147,9 @@ module Bake
|
|
141
147
|
cmd += compiler[:COMPILE_FLAGS].split(" ")
|
142
148
|
|
143
149
|
if dep_filename
|
144
|
-
cmd += @tcs[:COMPILER][type][:DEP_FLAGS].split(" ")
|
145
|
-
if @tcs[:COMPILER][type][:DEP_FLAGS_FILENAME]
|
146
|
-
if @tcs[:COMPILER][type][:DEP_FLAGS_SPACE]
|
150
|
+
cmd += @block.tcs[:COMPILER][type][:DEP_FLAGS].split(" ")
|
151
|
+
if @block.tcs[:COMPILER][type][:DEP_FLAGS_FILENAME]
|
152
|
+
if @block.tcs[:COMPILER][type][:DEP_FLAGS_SPACE]
|
147
153
|
cmd << dep_filename
|
148
154
|
else
|
149
155
|
if dep_filename.include?" "
|
@@ -190,12 +196,18 @@ module Bake
|
|
190
196
|
incList = process_result(cmd, consoleOutput, compiler[:ERROR_PARSER], "#{outputType} #{source}", reason, success)
|
191
197
|
|
192
198
|
if type != :ASM and not Bake.options.analyze and not Bake.options.prepro
|
193
|
-
incList = Compile.read_depfile(dep_filename, @projectDir, @tcs[:COMPILER][:DEP_FILE_SINGLE_LINE]) if incList.nil?
|
199
|
+
incList = Compile.read_depfile(dep_filename, @projectDir, @block.tcs[:COMPILER][:DEP_FILE_SINGLE_LINE]) if incList.nil?
|
194
200
|
Compile.write_depfile(incList, dep_filename_conv)
|
201
|
+
|
202
|
+
incList.each do |h|
|
203
|
+
Thread.current[:filelist].add(File.expand_path(h))
|
204
|
+
end if Bake.options.filelist
|
195
205
|
end
|
196
206
|
check_config_file
|
197
207
|
end
|
198
208
|
|
209
|
+
|
210
|
+
|
199
211
|
end
|
200
212
|
|
201
213
|
def self.read_depfile(dep_filename, projDir, singleLine)
|
@@ -248,6 +260,7 @@ module Bake
|
|
248
260
|
|
249
261
|
@error_strings = {}
|
250
262
|
|
263
|
+
fileListBlock = Set.new if Bake.options.filelist
|
251
264
|
compileJobs = Multithread::Jobs.new(@source_files) do |jobs|
|
252
265
|
while source = jobs.get_next_or_nil do
|
253
266
|
|
@@ -259,6 +272,8 @@ module Bake
|
|
259
272
|
tmp = Thread.current[:stdout]
|
260
273
|
Thread.current[:stdout] = s unless tmp
|
261
274
|
|
275
|
+
Thread.current[:filelist] = Set.new if Bake.options.filelist
|
276
|
+
|
262
277
|
result = false
|
263
278
|
begin
|
264
279
|
compileFile(source)
|
@@ -277,6 +292,8 @@ module Bake
|
|
277
292
|
Thread.current[:stdout] = tmp
|
278
293
|
|
279
294
|
mutex.synchronize do
|
295
|
+
fileListBlock.merge(Thread.current[:filelist]) if Bake.options.filelist
|
296
|
+
|
280
297
|
if s.string.length > 0
|
281
298
|
if Bake.options.stopOnFirstError and not result
|
282
299
|
@error_strings[source] = s.string
|
@@ -290,6 +307,19 @@ module Bake
|
|
290
307
|
end
|
291
308
|
compileJobs.join
|
292
309
|
|
310
|
+
if Bake.options.filelist
|
311
|
+
Bake.options.filelist.merge(fileListBlock.merge(fileListBlock))
|
312
|
+
|
313
|
+
FileUtils.mkdir_p(@block.output_dir)
|
314
|
+
File.open(@block.output_dir + "/" + "file-list.txt", 'wb') do |f|
|
315
|
+
fileListBlock.sort.each do |entry|
|
316
|
+
f.puts(entry)
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
end
|
321
|
+
|
322
|
+
|
293
323
|
# can only happen in case of bail_on_first_error.
|
294
324
|
# if not sorted, it may be confusing when builing more than once and the order of the error appearances changes from build to build
|
295
325
|
# (it is not deterministic which file compilation finishes first)
|
@@ -477,9 +507,9 @@ module Bake
|
|
477
507
|
[:CPP, :C, :ASM].each do |type|
|
478
508
|
@include_array[type] = @include_list.map do |k|
|
479
509
|
if @system_includes.include?(k)
|
480
|
-
"#{@tcs[:COMPILER][type][:SYSTEM_INCLUDE_PATH_FLAG]}#{k}"
|
510
|
+
"#{@block.tcs[:COMPILER][type][:SYSTEM_INCLUDE_PATH_FLAG]}#{k}"
|
481
511
|
else
|
482
|
-
"#{@tcs[:COMPILER][type][:INCLUDE_PATH_FLAG]}#{k}"
|
512
|
+
"#{@block.tcs[:COMPILER][type][:INCLUDE_PATH_FLAG]}#{k}"
|
483
513
|
end
|
484
514
|
end
|
485
515
|
end
|
@@ -496,13 +526,13 @@ module Bake
|
|
496
526
|
def calcDefines
|
497
527
|
@define_array = {}
|
498
528
|
[:CPP, :C, :ASM].each do |type|
|
499
|
-
@define_array[type] = getDefines(@tcs[:COMPILER][type])
|
529
|
+
@define_array[type] = getDefines(@block.tcs[:COMPILER][type])
|
500
530
|
end
|
501
531
|
end
|
502
532
|
def calcFlags
|
503
533
|
@flag_array = {}
|
504
534
|
[:CPP, :C, :ASM].each do |type|
|
505
|
-
@flag_array[type] = getFlags(@tcs[:COMPILER][type])
|
535
|
+
@flag_array[type] = getFlags(@block.tcs[:COMPILER][type])
|
506
536
|
end
|
507
537
|
end
|
508
538
|
|
@@ -519,14 +549,14 @@ module Bake
|
|
519
549
|
err_res.message = "Toolchain settings not allowed for file patterns"
|
520
550
|
Bake::IDEInterface.instance.set_errors([err_res])
|
521
551
|
else
|
522
|
-
@fileTcs[f.name] = integrateCompilerFile(Utils.deep_copy(@tcs),f)
|
552
|
+
@fileTcs[f.name] = integrateCompilerFile(Utils.deep_copy(@block.tcs),f)
|
523
553
|
end
|
524
554
|
end
|
525
555
|
end
|
526
556
|
end
|
527
557
|
|
528
558
|
def tcs4source(source)
|
529
|
-
@fileTcs[source] || @tcs
|
559
|
+
@fileTcs[source] || @block.tcs
|
530
560
|
end
|
531
561
|
|
532
562
|
|
data/lib/blocks/convert.rb
CHANGED
@@ -6,8 +6,8 @@ module Bake
|
|
6
6
|
|
7
7
|
class Convert < Compile
|
8
8
|
|
9
|
-
def initialize(block, config, referencedConfigs
|
10
|
-
super(block, config, referencedConfigs
|
9
|
+
def initialize(block, config, referencedConfigs)
|
10
|
+
super(block, config, referencedConfigs)
|
11
11
|
end
|
12
12
|
|
13
13
|
def execute
|
@@ -22,7 +22,7 @@ module Bake
|
|
22
22
|
puts " BAKE_INCLUDES"
|
23
23
|
@include_list.each { |s| puts " #{s}" }
|
24
24
|
puts " BAKE_DEFINES"
|
25
|
-
(@tcs[:COMPILER][:CPP][:DEFINES] + @tcs[:COMPILER][:C][:DEFINES] + @tcs[:COMPILER][:ASM][:DEFINES]).uniq.each { |s| puts " #{s}" }
|
25
|
+
(@block.tcs[:COMPILER][:CPP][:DEFINES] + @block.tcs[:COMPILER][:C][:DEFINES] + @block.tcs[:COMPILER][:ASM][:DEFINES]).uniq.each { |s| puts " #{s}" }
|
26
26
|
puts " BAKE_DEPENDENCIES"
|
27
27
|
@block.childs.each { |dep| puts " #{dep.projectName}" }
|
28
28
|
puts " BAKE_DEPENDENCIES_FILTERED"
|
data/lib/blocks/executable.rb
CHANGED
@@ -6,8 +6,8 @@ module Bake
|
|
6
6
|
|
7
7
|
class Executable < BlockBase
|
8
8
|
|
9
|
-
def initialize(block, config, referencedConfigs,
|
10
|
-
super(block, config, referencedConfigs
|
9
|
+
def initialize(block, config, referencedConfigs, compileBlock)
|
10
|
+
super(block, config, referencedConfigs)
|
11
11
|
@compileBlock = compileBlock
|
12
12
|
|
13
13
|
calcArtifactName
|
@@ -24,9 +24,9 @@ module Bake
|
|
24
24
|
if not @config.artifactName.nil? and @config.artifactName.name != ""
|
25
25
|
baseFilename = @config.artifactName.name
|
26
26
|
else
|
27
|
-
baseFilename = "#{@projectName}#{Bake::Toolchain.outputEnding(@tcs)}"
|
27
|
+
baseFilename = "#{@projectName}#{Bake::Toolchain.outputEnding(@block.tcs)}"
|
28
28
|
end
|
29
|
-
@exe_name ||= File.join([@output_dir, baseFilename])
|
29
|
+
@exe_name ||= File.join([@block.output_dir, baseFilename])
|
30
30
|
end
|
31
31
|
|
32
32
|
def calcCmdlineFile()
|
@@ -94,7 +94,7 @@ module Bake
|
|
94
94
|
Bake.formatter.printWarning("Source compiled more than once: #{d}")
|
95
95
|
end
|
96
96
|
|
97
|
-
libs, linker_libs_array = LibElements.calc_linker_lib_string(@block, @tcs)
|
97
|
+
libs, linker_libs_array = LibElements.calc_linker_lib_string(@block, @block.tcs)
|
98
98
|
|
99
99
|
cmdLineCheck = false
|
100
100
|
cmdLineFile = calcCmdlineFile()
|
@@ -106,7 +106,7 @@ module Bake
|
|
106
106
|
reason = config_changed?(cmdLineFile)
|
107
107
|
end
|
108
108
|
|
109
|
-
linker = @tcs[:LINKER]
|
109
|
+
linker = @block.tcs[:LINKER]
|
110
110
|
|
111
111
|
cmd = Utils.flagSplit(linker[:COMMAND], false) # g++
|
112
112
|
cmd += linker[:MUST_FLAGS].split(" ")
|
data/lib/blocks/library.rb
CHANGED
@@ -8,8 +8,8 @@ module Bake
|
|
8
8
|
|
9
9
|
attr_reader :compileBlock, :archive_name
|
10
10
|
|
11
|
-
def initialize(block, config, referencedConfigs,
|
12
|
-
super(block,config, referencedConfigs
|
11
|
+
def initialize(block, config, referencedConfigs, compileBlock)
|
12
|
+
super(block,config, referencedConfigs)
|
13
13
|
@compileBlock = compileBlock
|
14
14
|
|
15
15
|
block.set_library(self)
|
@@ -23,7 +23,7 @@ module Bake
|
|
23
23
|
else
|
24
24
|
baseFilename = "lib#{@projectName}.a"
|
25
25
|
end
|
26
|
-
@archive_name ||= File.join([@output_dir, baseFilename])
|
26
|
+
@archive_name ||= File.join([@block.output_dir, baseFilename])
|
27
27
|
end
|
28
28
|
|
29
29
|
def calcCmdlineFile()
|
@@ -60,7 +60,7 @@ module Bake
|
|
60
60
|
return true
|
61
61
|
end
|
62
62
|
else
|
63
|
-
@objects = Dir.glob("#{@output_dir}/**/*.o")
|
63
|
+
@objects = Dir.glob("#{@block.output_dir}/**/*.o")
|
64
64
|
if @objects.empty?
|
65
65
|
if !File.exists?(@archive_name)
|
66
66
|
puts "No object files, library won't be created" if Bake.options.verbose >= 2
|
@@ -78,7 +78,7 @@ module Bake
|
|
78
78
|
cmdLineCheck = true
|
79
79
|
reason = config_changed?(cmdLineFile)
|
80
80
|
end
|
81
|
-
archiver = @tcs[:ARCHIVER]
|
81
|
+
archiver = @block.tcs[:ARCHIVER]
|
82
82
|
|
83
83
|
cmd = Utils.flagSplit(archiver[:COMMAND], false) # ar
|
84
84
|
cmd += Bake::Utils::flagSplit(archiver[:FLAGS],true) # --all_load
|
@@ -111,7 +111,7 @@ module Bake
|
|
111
111
|
def clean
|
112
112
|
if @block.prebuild
|
113
113
|
Dir.chdir(@projectDir) do
|
114
|
-
@objects = Dir.glob("#{@output_dir}/**/*.o")
|
114
|
+
@objects = Dir.glob("#{@block.output_dir}/**/*.o")
|
115
115
|
if !@objects.empty? && File.exist?(@archive_name)
|
116
116
|
puts "Deleting file #{@archive_name}" if Bake.options.verbose >= 2
|
117
117
|
FileUtils.rm_rf(@archive_name)
|
data/lib/blocks/showIncludes.rb
CHANGED
@@ -106,7 +106,7 @@ module Bake
|
|
106
106
|
else
|
107
107
|
blockIncs += block.include_list
|
108
108
|
end
|
109
|
-
[:CPP, :C, :ASM].each { |type| blockDefs[type] += block.tcs[:COMPILER][type][:DEFINES] }
|
109
|
+
[:CPP, :C, :ASM].each { |type| blockDefs[type] += block.block.tcs[:COMPILER][type][:DEFINES] }
|
110
110
|
end
|
111
111
|
if Bake.options.json
|
112
112
|
projs[projName] =
|
data/lib/common/version.rb
CHANGED
data/lib/tocxx.rb
CHANGED
@@ -22,7 +22,6 @@ require 'blocks/commandLine'
|
|
22
22
|
require 'blocks/makefile'
|
23
23
|
require 'blocks/compile'
|
24
24
|
require 'blocks/convert'
|
25
|
-
require 'blocks/fileList'
|
26
25
|
require 'blocks/library'
|
27
26
|
require 'blocks/executable'
|
28
27
|
require 'blocks/docu'
|
@@ -152,7 +151,7 @@ module Bake
|
|
152
151
|
prebuild = false if (@prebuild[projName].include?"" or @prebuild[projName].include?config.name)
|
153
152
|
end
|
154
153
|
|
155
|
-
block = Blocks::Block.new(config, @referencedConfigs, prebuild)
|
154
|
+
block = Blocks::Block.new(config, @referencedConfigs, prebuild, @configTcMap[config])
|
156
155
|
Blocks::ALL_BLOCKS[config.qname] = block
|
157
156
|
end
|
158
157
|
end
|
@@ -299,7 +298,7 @@ module Bake
|
|
299
298
|
addSteps(block, block.startupSteps, config.startupSteps)
|
300
299
|
addSteps(block, block.exitSteps, config.exitSteps)
|
301
300
|
|
302
|
-
if not Bake.options.prepro and not Bake.options.conversion_info and not Bake.options.
|
301
|
+
if not Bake.options.prepro and not Bake.options.conversion_info and not Bake.options.docu and not Bake.options.filename and not Bake.options.analyze
|
303
302
|
addSteps(block, block.preSteps, config.preSteps)
|
304
303
|
addSteps(block, block.postSteps, config.postSteps)
|
305
304
|
addSteps(block, block.cleanSteps, config.cleanSteps)
|
@@ -308,22 +307,20 @@ module Bake
|
|
308
307
|
if Bake.options.docu
|
309
308
|
block.mainSteps << Blocks::Docu.new(config, @configTcMap[config])
|
310
309
|
elsif Metamodel::CustomConfig === config
|
311
|
-
if not Bake.options.prepro and not Bake.options.conversion_info and not Bake.options.
|
310
|
+
if not Bake.options.prepro and not Bake.options.conversion_info and not Bake.options.docu and not Bake.options.filename and not Bake.options.analyze
|
312
311
|
addSteps(block, block.mainSteps, config) if config.step
|
313
312
|
end
|
314
|
-
elsif Bake.options.file_list
|
315
|
-
block.mainSteps << Blocks::FileList.new(block, config, @referencedConfigs, @configTcMap[config])
|
316
313
|
elsif Bake.options.conversion_info
|
317
|
-
block.mainSteps << Blocks::Convert.new(block, config, @referencedConfigs
|
314
|
+
block.mainSteps << Blocks::Convert.new(block, config, @referencedConfigs)
|
318
315
|
else
|
319
|
-
compile = Blocks::Compile.new(block, config, @referencedConfigs
|
316
|
+
compile = Blocks::Compile.new(block, config, @referencedConfigs)
|
320
317
|
(Blocks::ALL_COMPILE_BLOCKS[projName] ||= []) << compile
|
321
318
|
block.mainSteps << compile
|
322
319
|
if not Bake.options.filename and not Bake.options.analyze
|
323
320
|
if Metamodel::LibraryConfig === config
|
324
|
-
block.mainSteps << Blocks::Library.new(block, config, @referencedConfigs,
|
321
|
+
block.mainSteps << Blocks::Library.new(block, config, @referencedConfigs, compile)
|
325
322
|
else
|
326
|
-
block.mainSteps << Blocks::Executable.new(block, config, @referencedConfigs,
|
323
|
+
block.mainSteps << Blocks::Executable.new(block, config, @referencedConfigs, compile)
|
327
324
|
end
|
328
325
|
end
|
329
326
|
end
|
@@ -407,9 +404,7 @@ module Bake
|
|
407
404
|
end
|
408
405
|
|
409
406
|
taskType = "Building"
|
410
|
-
if Bake.options.
|
411
|
-
taskType = "Showing file list"
|
412
|
-
elsif Bake.options.conversion_info
|
407
|
+
if Bake.options.conversion_info
|
413
408
|
taskType = "Showing conversion infos"
|
414
409
|
elsif Bake.options.docu
|
415
410
|
taskType = "Generating documentation"
|
@@ -543,6 +538,18 @@ module Bake
|
|
543
538
|
File.write(Bake.options.cc2j_filename, JSON.pretty_generate(Blocks::CC2J))
|
544
539
|
end
|
545
540
|
|
541
|
+
if Bake.options.filelist
|
542
|
+
mainBlock = Blocks::ALL_BLOCKS[Bake.options.main_project_name+","+Bake.options.build_config]
|
543
|
+
Dir.chdir(mainBlock.projectDir) do
|
544
|
+
FileUtils.mkdir_p(mainBlock.output_dir)
|
545
|
+
File.open(mainBlock.output_dir + "/" + "global-file-list.txt", 'wb') do |f|
|
546
|
+
Bake.options.filelist.sort.each do |entry|
|
547
|
+
f.puts(entry)
|
548
|
+
end
|
549
|
+
end
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
546
553
|
if result == false
|
547
554
|
Bake.formatter.printError("\n#{taskType} failed.")
|
548
555
|
ExitHelper.set_exit_code(1)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.29.
|
4
|
+
version: 2.29.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Schaal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|
@@ -474,7 +474,6 @@ files:
|
|
474
474
|
- lib/blocks/convert.rb
|
475
475
|
- lib/blocks/docu.rb
|
476
476
|
- lib/blocks/executable.rb
|
477
|
-
- lib/blocks/fileList.rb
|
478
477
|
- lib/blocks/has_execute_command.rb
|
479
478
|
- lib/blocks/library.rb
|
480
479
|
- lib/blocks/makefile.rb
|
data/lib/blocks/fileList.rb
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
require 'blocks/compile'
|
2
|
-
|
3
|
-
module Bake
|
4
|
-
|
5
|
-
module Blocks
|
6
|
-
|
7
|
-
class FileList < Compile
|
8
|
-
|
9
|
-
def initialize(block, config, referencedConfigs, tcs)
|
10
|
-
super(block, config, referencedConfigs, tcs)
|
11
|
-
end
|
12
|
-
|
13
|
-
def execute
|
14
|
-
Dir.chdir(@projectDir) do
|
15
|
-
calcSources
|
16
|
-
calcObjects
|
17
|
-
|
18
|
-
projDir = File.expand_path(@projectDir)
|
19
|
-
headers = Set.new
|
20
|
-
@source_files.sort.each do |s|
|
21
|
-
puts "FILE: " + projDir+"/"+s
|
22
|
-
type = get_source_type(s)
|
23
|
-
if type.nil?
|
24
|
-
Bake.formatter.printError("Error: could not get type of source file #{s}")
|
25
|
-
ExitHelper.exit(1)
|
26
|
-
end
|
27
|
-
object = @object_files[s]
|
28
|
-
dep_filename = calcDepFile(object, type)
|
29
|
-
if type != :ASM
|
30
|
-
dep_filename_conv = calcDepFileConv(dep_filename)
|
31
|
-
if not File.exist?(dep_filename_conv)
|
32
|
-
Bake.formatter.printError("Error: dependency file doesn't exist for #{s}")
|
33
|
-
ExitHelper.exit(1)
|
34
|
-
end
|
35
|
-
File.readlines(dep_filename_conv).map {|line| headers << line.strip}
|
36
|
-
end
|
37
|
-
end
|
38
|
-
headers.map do |h|
|
39
|
-
habs = File.is_absolute?(h) ? h : projDir+"/"+h
|
40
|
-
File.expand_path(h)
|
41
|
-
end.sort.each { |h| puts "HEADER: " + h }
|
42
|
-
end
|
43
|
-
return true
|
44
|
-
end
|
45
|
-
|
46
|
-
def clean
|
47
|
-
# nothing to do here
|
48
|
-
end
|
49
|
-
|
50
|
-
end
|
51
|
-
|
52
|
-
end
|
53
|
-
end
|