bake-toolkit 2.13.1 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/documentation/_build/html/_sources/changelog.txt +7 -0
- data/documentation/_build/html/_sources/index.txt +1 -1
- data/documentation/_build/html/_sources/syntax/adapt_configs.txt +143 -0
- data/documentation/_build/html/_sources/syntax/derive_configs.txt +48 -60
- data/documentation/_build/html/_sources/syntax/syntax.txt +1 -0
- data/documentation/_build/html/_static/syntax.html +9 -6
- data/documentation/_build/html/changelog.html +14 -4
- data/documentation/_build/html/commandline/commandline.html +6 -6
- data/documentation/_build/html/concepts/build_hierarchy.html +4 -4
- data/documentation/_build/html/concepts/concepts.html +4 -4
- data/documentation/_build/html/concepts/the_main_project.html +4 -4
- data/documentation/_build/html/concepts/the_project_meta_file.html +4 -4
- data/documentation/_build/html/genindex.html +4 -4
- data/documentation/_build/html/ide/eclipse/eclipse.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +4 -4
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +4 -4
- data/documentation/_build/html/ide/ide_integrations.html +4 -4
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +4 -4
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +4 -4
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +4 -4
- data/documentation/_build/html/ide/vs/vs.html +4 -4
- data/documentation/_build/html/ide/vs/vs_install.html +4 -4
- data/documentation/_build/html/index.html +8 -7
- data/documentation/_build/html/install/install_bake.html +4 -4
- data/documentation/_build/html/internal.html +4 -4
- data/documentation/_build/html/known_issues.html +4 -4
- data/documentation/_build/html/license.html +4 -4
- data/documentation/_build/html/performance/performance.html +4 -4
- data/documentation/_build/html/quickstart/quickstart.html +4 -4
- data/documentation/_build/html/search.html +4 -4
- data/documentation/_build/html/searchindex.js +1 -1
- data/documentation/_build/html/syntax/adapt_configs.html +287 -0
- data/documentation/_build/html/syntax/derive_configs.html +57 -116
- data/documentation/_build/html/syntax/project_meta_syntax.html +13 -10
- data/documentation/_build/html/syntax/syntax.html +11 -4
- data/documentation/_build/html/syntax/variable_substitutions.html +4 -4
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +4 -4
- data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +4 -4
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +4 -4
- data/documentation/_build/html/tips_and_tricks/the_clang.html +4 -4
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +4 -4
- data/documentation/_build/html/why_bake/why_bake.html +6 -6
- data/lib/adapt/config/loader.rb +111 -0
- data/lib/bake/cache.rb +25 -1
- data/lib/bake/config/checks.rb +61 -0
- data/lib/bake/config/loader.rb +41 -40
- data/lib/bake/libElement.rb +54 -55
- data/lib/bake/mergeConfig.rb +170 -154
- data/lib/bake/model/language.rb +2 -4
- data/lib/bake/model/metamodel.rb +31 -19
- data/lib/bake/model/metamodel_ext.rb +4 -1
- data/lib/bake/options/options.rb +12 -3
- data/lib/bake/options/usage.rb +1 -0
- data/lib/blocks/block.rb +0 -4
- data/lib/blocks/blockBase.rb +2 -1
- data/lib/blocks/compile.rb +5 -5
- data/lib/blocks/makefile.rb +1 -1
- data/lib/blocks/showIncludes.rb +13 -2
- data/lib/common/version.rb +3 -3
- data/lib/tocxx.rb +7 -2
- metadata +10 -6
@@ -1 +1 @@
|
|
1
|
-
Search.setIndex({envversion:47,filenames:["changelog","commandline/commandline","concepts/build_hierarchy","concepts/concepts","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_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/derive_configs","syntax/project_meta_syntax","syntax/syntax","syntax/variable_substitutions","tips_and_tricks/how_to_use_bake_with_cygwin","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":20,"0x02":20,"0xff":20,"2p180":23,"2p95":[19,24],"30pt":[],"3p0":23,"512pt":[],"6p398":23,"7p352":23,"_dev":29,"_lintout":30,"_one_":33,"_static":[],"break":34,"byte":20,"case":[0,9,28,30],"default":[0,1,9,19,24,26,31],"export":7,"import":[],"long":[0,15,23],"new":[],"return":24,"static":[],"switch":[0,7,11,24,34],"throw":19,"true":26,"try":[0,7],"while":19,abc:[1,28],abi:0,abl:[30,34],abort:[0,20],about:11,abov:[2,7,22,25],absolut:0,absolute_path_to_working_dir:33,accept:[0,10],access:0,account:0,action:22,actual:19,adapt:7,add:[0,5,13,14,26,29,30],addit:[15,22,23],adjust:[],adjustcdt:0,adjustinclud:0,adr:26,advantag:[],advis:22,after:[0,10,30,31],again:[0,7,23],alia:[0,29,30],all:[0,1,2,4,9,11,22,25,26,30,31,32,33],allow:[0,1,4,25,28],allunittest:31,almost:8,alpha:32,alphabet:0,alreadi:11,also:[0,8,9,11,14,28],alwai:[0,4,11,26],ambigu:0,analysi:[],analyz:[],ani:[4,14,22],annot:[0,15],anoth:[0,1,14,21,30],ansi:[1,29],anymor:[0,4,7,29],anyth:21,appear:11,appli:[0,22,28],appropri:[7,11,14],april:0,apropri:19,ar470:0,archiv:[0,2,5,21,26,28],archiverpath:[0,11,28],aren:34,argument:[0,14],aris:22,around:30,arrai:26,articular:22,artifact:28,artifactnam:[0,5,25,26,28],artifactnamebas:[0,28],asm:[1,26],asmpath:[0,11,28],asscoat:30,assembl:[28,33],associ:[6,22],assum:[1,5,19],atom:17,attribut:0,august:0,author:22,auto:[],autodir:0,automat:[0,5,28],avail:[0,9,10,14,17],avoid:[0,4,19,29,34],back:26,background:29,backward:0,bake:[],bakeri:[],base:[0,25,28],basedon:[25,26],basi:33,basic:[],bat:[14,29],batch:[0,14],becaus:[5,25,30,34],been:[0,1,21,22],befor:[0,7,11],begin:0,below:[0,10,14,17],best:33,beteween:34,better:0,between:[0,11,34],big:34,bin:[0,14,28,29],binari:[22,29,30],bla:0,black:[1,24,29,31],blue:[26,31],bootload:28,bootloader_1:28,bootloaderupdat:28,both:25,bottom:2,box:11,broken:0,browser:19,bsp:31,bspabc:1,bspcorez6:0,bug:19,bugfix:0,build:[],build_:0,build_lib_bootloader_debug:28,build_lib_some_debug:28,build_main:24,built:[0,1,4,5,21,29,30,34],busi:22,cach:[0,24],calcul:[0,28],call:[0,1,5,14,29,30,31,32],can:[0,1,2,4,5,6,7,8,9,10,11,13,14,15,19,20,28,29,30,32,34],candriv:[0,28],cannot:[0,4],care:0,caus:[19,22],cc2j:0,ccsv5:0,cdt:[],chang:[0,4,7,11,19,21],charact:0,charg:22,check:[0,1,14,17,19,31,33],checkbox:7,checker:32,child:25,choos:[],chosen:[0,11],circl:11,cl470:0,claim:22,clang:[],clang_analyz:[0,32],clean:[],clear:0,clearer:0,clearn:0,click:[11,15,17],client:0,clobber:0,close:0,cmake:[],cmd:[0,26],cmdline:[0,26],code:[],code_st:0,collect:[],collectionmandatori:31,color:[1,19,24,29,31],com:[10,17],combin:[0,2],come:[13,30],comma:[0,1],command:[0,2,6,11,14,15,20,24,25,26,28,29,30,31,34],commandlin:[],comment:[0,1,26,31],commit:[7,9,33],common7:14,compar:9,compat:[0,34],compil:[],complet:[7,11,30],complex:[0,23,34],compon:22,condit:22,config:[],confignam:[0,28,30],configpkg:0,configur:[],confnam:28,confus:0,connect:[19,20,22],consequenti:22,consist:[0,5,22],consol:[0,1,11,31],contain:[5,22,28],content:[2,7,26],context:[4,7,9],contract:22,contrast:23,contributor:22,control:[7,9],convers:[0,7],conversion_info:0,convert:[],copi:[0,22],copyright:22,corez6:0,corpor:22,correct:0,correctli:[0,17,19],cosmet:0,could:0,cpath:[0,11,28],cplusplu:32,cpp:[1,4,5,14,24,26,30,32],cpppath:[0,11,28],cprojec:9,cproject:[7,8,9,11],cpu:23,crash:0,creat:[],createvsproject:[0,13],ctrl:0,current:[0,1,26,28,30,31],cursor:[26,31],custom:[2,5,30],customconfig:[0,2,25,26,32],cxxproject:[0,22],cyclic:0,cygdriv:29,cygwin:[],damag:22,darwin13:[19,24],data:22,deadcod:32,deal:22,debug:[],debug_info:4,debug_main:5,decemb:0,decor:11,def:[0,28],defaulttoolchain:[0,4,5,11,14,15,26,30,32],defin:[],definit:[0,4,28],delet:[0,7,21],deped:19,depenc:34,depend:[0,1,2,4,5,11,19,25,26,28,29,30,32,33],dependend:34,deprec:0,deriv:[],derv:25,describ:[11,14],descript:[0,26,28,31],deselect:15,desgin:[],design:34,detail:24,develop:[],devenv:14,diag_warn:0,dialog:0,did:0,differ:[],dir:[0,26,28],direct:[0,22],directli:[11,28],directori:[],disabl:15,discard:20,disclaim:22,disk:7,displai:[0,11,15,26,31],distribut:[22,31],doc:[0,30],docu:[0,25,26],document:[0,19,22,34],doe:[],don:[14,28,34],done:[4,24],doubl:[17,26,31],download:[6,17],due:[],eabi:0,each:[0,22],earli:0,earlier:0,easi:[8,18,19,34],easiest:[29,34],easili:[4,32,34],echo:5,eclips:[],eclipseord:[0,26],edit:[9,21,32],editor:6,either:32,element:[26,28,31],elf:28,els:[1,21],email:26,embrac:34,empti:[0,4,8,28],en_u:19,enabl:[6,9,11],end:0,energi:34,english:19,ensur:[0,7],entir:34,env:[0,26],environ:[],environmentvari:28,equal:[0,28],equip:2,equival:22,error:[],escap:29,especi:0,esrlab:[10,17],etc:[5,14,29,30,33],evalu:[19,28],evalut:28,even:[0,22,30,34],event:22,everi:[0,2,5,30],everyth:4,exampl:[],except:[0,11,20,24],exclud:[0,31],exclude_filt:0,excludefil:[0,25,26],execut:[0,2,5,14,21,30,33],executableconfig:[0,2,4,5,25,26,30,32],exemplari:22,exens:28,exist:[],exit:[0,24],exitstep:[0,26],expand:0,experiment:0,explicit:30,explicitli:[0,22],explor:[7,9,11],express:22,extend:[0,11,25,26],extens:17,extern:[0,19],externallibrari:[0,5,25,26,28],externallibrarysearchpath:[5,25,26,28],extrem:0,fact:30,fail:[],failur:34,fals:[0,26],fan:34,fast:[18,34],faster:23,featur:[0,9,10,11,33],februari:0,fetch:19,few:[11,34],file:[],filenam:[0,20],fill:[7,8,11],filter:[0,26],find:7,finish:9,first:[0,1,14,28,30,31],fit:[22,34],fix:[0,23],flag:[0,4,5,14,25,26,30,32],flex:30,focu:34,folder:[0,1,8,28,30],follow:[10,17,22,24,28,29,30,32],follw:24,form:22,format:30,format_specif:30,forward:[0,25,30],found:[0,7,9,19,24,29],free:22,from:[],front:26,fstab:29,full:28,furnish:22,gcc:[0,4,5,14,30,32],gcc_env:0,gem:[0,19],gener:[0,2,7,11,19,24,34],ghz:23,git:33,github:[0,6],given:20,glob:0,goal:[],good:[9,22,34],googl:19,govern:22,grant:22,graphic:22,greater:[0,20],greenhil:0,gsub:19,handl:[0,30],happen:5,hard:[28,34],hardcod:0,hash:[26,31],have:[0,1,4,7,8,9,11,14,19,22,26,28,29,30,31,32,34],hdd:23,header:[],hello:28,helper:30,here:[9,14,34],herebi:22,hereinaft:22,higher:0,highlin:19,hinder:34,holder:22,host:[0,1,5,19,24,28,30],hostnam:28,hour:34,howev:[0,19,22,33],http:[10,17],ide_integr:[],idea:9,ignor:[0,9,10],ignore_cach:0,iinclud:[5,24],imag:[],imagin:32,impli:22,improv:0,inc:0,incident:22,includ:[],include_filt:0,include_path:0,includedir:[0,4,5,25,26,28,33],inclus:0,inconsist:[0,4],incorrect:33,incorrectli:0,independ:[31,34],indirect:[0,22],infix:0,info:[0,20,24,33],inform:[24,26,30,31],informationen:7,inherit:[],inject:[0,26],input:0,instal:[],install_bak:[],instead:[0,4,7,29,32],integr:[],intel:23,intend:0,intern:[],internaldefin:[0,11,25,26],internalinclud:[0,11,25,26],internat:19,interrupt:22,introduc:0,invalid:[],invok:32,issu:[],istal:19,item:[11,15],itself:4,januari:0,java:0,juli:0,junction:[],june:0,keep:26,keil:0,keyword:0,kicker:34,kind:22,known:[],known_issu:[],lab:[10,17,22],label:11,lake:22,larg:34,larger:0,last:[0,14,15],latest:0,lc_all:19,ldebug:0,lead:0,lear:22,least:2,leav:[4,21],length:20,less:34,let:5,level:0,liabil:22,liabl:22,lib:[0,4,5,26,28],libpostfixflag:[25,26],libprefixflag:[25,26],librari:[0,2,5,33],libraryconfig:[0,2,4,5,25,26,30],libsub:5,licens:[],life:28,lightweight:34,like:[0,1,2,4,11,14,17,19,25,28,30,32],limit:22,line:[0,11,14,15,20,22,25,26,28,29,30,31,34],link:[0,2,5,24,33],link_onli:0,linker:[0,2,14,26,28],linkerpath:[0,11,28],linkerscript:[0,25,26],lint:[],lint_cmac:30,lint_cppmac:30,lint_max:0,lint_min:0,lintpolici:[25,26,30],linux:[0,33],list:[0,9,22,30,33],listen:20,llvm:0,lnt:[0,30],load:24,localhost:20,locat:[0,5,8],logo_conformant_1024:[],longer:0,look:[17,25,28,34],loss:22,machin:0,made:0,magic:0,mai:0,main1:31,main2:31,main:[],mainconfignam:[0,4,28],mainproj:[1,31],mainprojectdir:[0,28,30],mainprojectnam:[0,4,28],maintain:34,maintanc:34,major:[9,26,29],mak:30,make:[0,7,19,29,30,34],makefil:[],mani:[],manual:[6,7,21],map:0,mapfil:[25,26],march:0,mark:[0,7,11,26,31],match:[0,1],materi:22,matter:25,max:[0,30],maxdepth:[],maximum:[0,26],mean:[7,32,34],mechan:9,menu:[7,9,11,15],merchant:22,merg:[0,22],messag:[],met:22,meta:[],method:19,microsoft:14,might:[7,11,19,33],min:[0,23,30],mind:26,mingw:0,minimum:[0,26],minor:[0,26],minut:[11,24,34],misra:30,miss:[],mkdir:24,mmd:0,mode:0,modif:22,modifi:22,more:[],mous:[26,31],move:[0,26,31],msvc:[0,14],multipl:[23,34],must:[0,4,11,22,29,30,31,34],mv7a8:0,my_comput:28,my_project:[5,24],myinclud:28,mylibraryproject:30,myproj:[0,1,13],myproject:28,myprojectnam:28,myspecialcollect:31,myvar:28,name:[0,1,4,8,11,19,20,26,28,30,31,32],nativ:[14,23],navig:8,nbsp:[26,31],ndebug:4,ndefault:31,necessari:[0,29,34],need:[4,6,7,23,28,30],neglig:22,nest:[],network:19,newer:29,next:30,nicer:0,nico:0,nicoretti:24,nil:19,nilclass:19,nmake:13,no_autodir:0,non:0,none:[22,29],noninfring:22,note:[],noth:24,notic:22,novemb:0,now:[0,5,6,11,17,29,30],number:[4,11,20,25],oathnam:0,obtain:22,octob:0,off:[0,11,26],offici:0,often:[19,30],old:[0,9],omit:[0,1,31],onc:[7,31],onli:[],open:[0,19,30],opinion:34,optim:4,option:[],order:[0,5,25,30],origin:[29,33],other:[0,2,4,8,15,22,28,30,34],otherwis:[22,30],our:[29,34],out:[1,7,11,14,22,31,33],output:[],outputdir:[0,25,26,28],outsid:4,over:[26,31],overwrit:4,overwritten:[0,9],owner:22,packag:29,page:[6,9,11,14],paht:30,paket:20,paramet:[0,15,28,29,30],parent:[0,1,25,26],parser:[0,19],part:[22,28,30,31],parti:22,particular:22,password:19,patch:26,path:[],path_separ:0,pathnam:0,pathto:26,pattern:[0,1,26],pclint:30,peak:23,peopl:34,per:[0,9,19],perfect:7,perform:[],perman:29,permiss:22,permit:22,person:[22,26],personali:34,phisolophi:34,phrase:22,pictur:0,pipe:0,place:[0,30,32],platform:[24,28],pleas:[10,17],plugin:[0,10,14,17],png:[],point:34,polici:26,port:20,portion:22,posix:29,possibl:[0,1,6,7,22,28,30,31,33],post:[2,5],poststep:[0,5,25,26],practic:33,pragma:30,pre:[],predefin:4,prefer:[],prefix:[0,29],prepro:0,preproc_with_compil:0,press:9,prestep:[0,25,26,30],prestepmain:2,pretti:[25,34],previou:0,primarybootloader2includ:28,print:[0,33],print_less:0,problem:[11,30],process:[0,22,34],procur:22,product:22,profit:22,program:22,programm:29,progress:34,progressbar:[0,19],proj:0,projec:[7,28],project:[],projectdir:[0,28,30],projectnam:[0,28,30],projnam:28,properli:0,properti:[9,14],protect:19,prove:34,provid:[0,6,22,24,30,34],proxi:19,publish:22,purpos:[22,34],put:25,quickstart:[],quot:[26,31],raid:23,rake:0,ram:23,rare:[0,30],rather:34,rdoc:19,read:[5,7,10,34],readi:24,real:28,realli:[0,1],reason:[29,34],rebuild:[11,21,23],rebuilt:0,recogn:[0,28],recommend:13,recompil:0,recorgn:30,recreat:[0,9],recurs:0,redirect:30,redistribut:22,reduc:4,redund:0,refactor:21,refer:[0,4,28],referenc:[0,4,22,28],regardless:[0,30],regener:0,regular:[4,32],rel:[0,26,28],releas:[0,4,31],reload:[0,24],remov:[0,7,26,33],renam:[0,29],repetet:25,replac:[0,7,32],report:0,repositori:[7,33],reproduc:22,requir:0,requiredbakevers:26,reserv:22,resourc:0,respons:26,rest:[20,30],restart:10,restrict:[0,22],result:[],retain:22,retriev:28,revis:19,rework:0,rewrit:13,rewrite_solut:[],rgen:[0,19],rid:[9,29],right:[0,11,15,22],root1:[1,31],root2:[1,31],root:[],rtext:[0,6,19],rtext_eclipse_plugin:6,rubi:[],ruby192:29,rubygem:[0,19],run:[0,19,23,31,34],same:[5,20,26],satisfi:7,script:[0,7,13,26,34],search:[],sec:23,second:11,secur:[10,32],see:[0,11,15,19,22,29,32,34],seem:33,seen:11,select:[],sell:22,sens:7,sensit:0,separ:[0,1,22,30],seper:28,septemb:0,sequenc:29,server:17,servic:22,set:[],setup:[],sever:[0,1,7,20,31],shall:[9,22],shell:[2,29],shift:0,shortcut:0,should:[],show:[0,30],show_abs_path:0,show_config:0,show_doc:0,show_incs_and_def:0,show_licens:0,shown:[0,7,11,14,15,21],similar:9,simliar:32,simpli:[4,7,9,11],singl:[],site:[6,10,17],size:[11,30],slash:26,slow:0,small:7,softwar:[6,10,18,22,33],solut:[14,19,30],some:[0,7,9,11,14,22,30],someth:[0,1,28],sometim:34,soon:6,sort:0,sourc:[0,5,7,9,15,19,21,22,32],space:[0,26],special:[22,28],specifi:[0,1,2,4,5,7,11,15,26,28,30,31,33],spent:34,src:[0,5,24],standard:9,start:[],startup:[0,23],startupcod:0,startupstep:[0,26],state:22,statement:[11,33],step:[0,2,5,7,10,17,29,30,32,34],stick:34,still:[0,7],stop:[0,1,31],stoponfirsterror:0,store:0,straight:25,strategi:0,stream:0,strict:22,string:[0,26,28,31],structur:24,studio:[],stuff:[2,4],style:0,sub1:33,sub2:33,sub3:31,sub:[0,4,5,9],subcollect:31,subfold:0,subject:22,sublicens:22,subproject:4,subset:7,substanti:22,substitu:28,substitut:[0,5,22,26,28],subtag:0,success:0,successful:10,successfulli:[19,21,33],suppli:30,support:[],suppress:30,sure:[19,30],svn:33,symlink:[],sync:33,system:[0,4,7,19,23,29,30],tag:0,take:[0,11,23,32,34],taken:5,target:[0,26],team:7,templat:0,term:22,test:[],text:26,than:[],thank:0,theconfig:28,thei:[9,34],them:[0,9],theori:22,theproject:28,therefor:[4,28,34],thi:[0,1,7,8,9,11,14,15,17,19,20,22,24,25,28,29,30,31,32,33,34],think:34,third:22,those:[11,34],though:[30,34],thread:23,three:[8,26],through:34,ti_ar:0,ti_cl:0,ti_hom:0,time:[7,24,28],tip:[],tips_and_trick:[],tms470:0,toctre:[],too:[],tool:[0,7,14,17,28,34],toolchain:[0,4,5,14,25,26,30],toolchain_info:0,toolchain_nam:0,toolkit:[0,13,19,31],tort:22,touch:21,treat:0,tree:0,tri:20,trick:[],trust:10,tty:29,turn:0,two:[0,1,14,28,31],type:[],typo:0,unchang:21,uncommon:1,undefin:19,under:[0,7],underscor:22,understand:34,uniniti:0,unintention:0,uniqu:31,unit:31,unittest:31,unittestlib:31,unittestlibswithoutbsp:31,unix:[],unknown:20,unless:22,unlock:19,unnecessari:[],unter:9,updat:[0,6,10,17],updatesit:10,usag:28,user:[],userlibrari:[25,26,28],usr:28,usual:[1,2,11,14,34],usuali:19,valid:[0,4,25,26,28],validexitcod:[0,26],valu:[0,26,28],variabl:[],vcvarsal:14,verbos:0,veri:[0,8,9,19,23,31],version:[0,13,19,23,29,30,34],via:[0,7,11,15,17,29],view:11,virtual:0,visibl:29,visual:[],vs2013:0,w3520:23,wai:[0,13,19,22,28,29,34],wait:34,wall:5,want:[0,1,7,9,24,32,34],warn:[0,10,20],warn_sect:0,warranti:22,web:19,webpag:19,well:[0,30],were:[0,19,22],what:[],whatev:[4,28],when:[0,13,21,22,33],where:[0,34],whether:[22,34],which:[],white:29,whole:[0,7,22,23],whom:22,why:[],why_bak:[],width:[],wildcard:[1,31],window:[0,6,7,11,15,23,28,29,33],wishlist:0,without:[0,14,21,22,23,28],wizard:[0,7],won:[2,30],work:[0,7,11,32,33],workaround:[0,21],workspac:[],world:28,would:28,wrapper:[7,8,9],write:[0,28,32],written:[0,1,11],wrong:0,www:[10,17],wysiwyg:34,x86_64:[19,24],xeon:23,xml:[17,30],yesquant:31,yet:[7,14],you:[],your:[7,9,19,28,29,30,34]},titles:["Changelog","Commandline","The build hierarchy","Concepts","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 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.13.1","Install bake","Internal developing notes","Known Issues","License","Performance","Quickstart","Derive configs","The Syntax of the Project.meta file","Syntax","Variables in Project.meta","How to use bake with cygwin","Static Code Analysis","The Bakery","Clang Analyze","Tips and Tricks","Why you should use bake"],titleterms:{"0x01":20,"0x0a":20,"import":[1,9],"new":8,"static":30,adjust:[11,28],advantag:4,analysi:30,analyz:32,applic:1,arbitrari:1,auto:28,bake:[1,10,11,13,15,17,18,19,23,28,29,30,34],bakeri:31,basic:30,bind:6,build:[1,2,11,20],cdt:[7,11],changelog:0,choos:11,clang:32,clean:[1,11],cmake:23,code:30,collect:31,commandlin:[1,31],compil:30,concept:3,config:25,configur:[11,30],convert:7,creat:[8,9,13],cygwin:29,debug:14,defin:[11,28,30],deriv:25,desgin:34,develop:20,differ:23,differnt:1,directori:[1,4],doe:19,due:30,dure:19,eclips:[6,8,9,10,11,23],environ:[23,28],error:[19,20,30],exampl:[1,2,4,5,19,30],exist:[7,28],fail:30,file:[1,5,11,26],from:1,get:1,goal:34,graph:2,header:20,help:1,hierarchi:2,highlight:6,how:[1,7,8,9,10,11,13,14,15,17,19,29,31],implic:25,includ:[11,30,33],inherit:25,instal:[10,17,19],instruct:26,integr:[10,17],interact:26,intern:20,invalid:19,issu:[19,21,30],junction:33,just:1,kei:6,known:[19,21,30],languag:19,licens:22,lint:30,main:[4,11],makefil:23,mani:30,messag:19,meta:[5,26,28,31],miss:30,more:1,most:1,nest:28,note:20,onli:30,option:1,output:4,packet:20,path:28,perform:23,perspect:11,pre:28,prefer:11,project:[1,4,5,8,11,13,20,26,28],quickstart:24,receiv:20,result:[11,23],root:1,rubi:23,search:30,select:11,send:20,set:19,setup:30,should:34,singl:1,socket:20,specif:1,start:[19,20],studio:[14,15,16,17],support:12,symlink:33,syntax:[6,26,27,31],test:23,than:1,tip:33,too:30,trick:33,type:20,unix:23,unnecessari:33,user:28,variabl:28,viewer:26,visual:[14,15,16,17],what:[5,31],which:1,why:34,within:1,workspac:[7,9],you:34}})
|
1
|
+
Search.setIndex({envversion:47,filenames:["changelog","commandline/commandline","concepts/build_hierarchy","concepts/concepts","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_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/derive_configs","syntax/project_meta_syntax","syntax/syntax","syntax/variable_substitutions","tips_and_tricks/how_to_use_bake_with_cygwin","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":20,"0x02":20,"0xff":20,"2p180":23,"2p95":[19,24],"30pt":[],"3p0":23,"512pt":[],"6p398":23,"7p352":23,"__all__":25,"__main__":25,"_dev":30,"_lintout":31,"_one_":34,"_static":[],"break":35,"byte":20,"case":[0,9,29,31],"default":[0,1,9,19,24,27,32],"export":7,"import":[],"long":[0,15,23],"new":[],"return":24,"static":[],"switch":[0,7,11,24,35],"throw":19,"true":[25,27],"try":[0,7],"while":19,abc:[1,25,29],abi:0,abl:[31,35],abort:[0,20],about:11,abov:[2,7,22,25,26],absolut:0,absolute_path_to_working_dir:34,accept:[0,10],access:0,account:0,action:22,actual:19,adapt:7,add:[0,5,13,14,27,30,31],addit:[15,22,23],adjust:[],adjustcdt:0,adjustinclud:0,adr:27,advantag:[],advis:22,after:[0,10,31,32],again:[0,7,23],alia:[0,30,31],all:[0,1,2,4,9,11,22,25,26,27,31,32,33,34],allow:[0,1,4,26,29],allunittest:32,almost:8,alpha:33,alphabet:0,alreadi:11,also:[0,8,9,11,14,29],alwai:[0,4,11,27],ambigu:0,analysi:[],analyz:[],ani:[4,14,22],annot:[0,15],anoth:[0,1,14,21,31],ansi:[1,30],anymor:[0,4,7,30],anyth:21,appear:11,appli:[0,22,25,29],appropri:[7,11,14],april:0,apropri:19,ar470:0,archiv:[0,2,5,21,27,29],archiverpath:[0,11,29],aren:35,argument:[0,14],aris:22,around:31,arrai:27,articular:22,artifact:29,artifactnam:[0,5,26,27,29],artifactnamebas:[0,29],asm:[1,27],asmpath:[0,11,29],asscoat:31,assembl:[29,34],associ:[6,22],assum:[1,5,19],atom:17,attribut:[0,25,26],august:0,author:22,auto:[],autodir:0,automat:[0,5,29],avail:[0,9,10,14,17],avoid:[0,4,19,30,35],back:27,background:30,backward:0,bake:[],bakeri:[],base:[0,26,29],basedon:27,basi:34,basic:[],bat:[14,30],batch:[0,14],becaus:[5,26,31,35],been:[0,1,21,22],befor:[0,7,11],begin:0,below:[0,10,14,17],best:34,beteween:35,better:0,between:[0,11,35],big:35,bin:[0,14,29,30],binari:[22,30,31],bla:0,black:[1,24,30,32],blue:[27,32],bootload:29,bootloader_1:29,bootloaderupdat:29,both:26,bottom:2,box:11,broken:0,browser:19,bsp:32,bspabc:1,bspcorez6:0,bug:19,bugfix:0,build:[],build_:0,build_lib_bootloader_debug:29,build_lib_some_debug:29,build_main:24,built:[0,1,4,5,21,30,31,35],busi:22,cach:[0,24],calcul:[0,29],call:[0,1,5,14,30,31,32,33],can:[0,1,2,4,5,6,7,8,9,10,11,13,14,15,19,20,25,26,29,30,31,33,35],candriv:[0,29],cannot:[0,4],care:0,caus:[19,22],cc2j:0,ccsv5:0,cdt:[],chang:[0,4,7,11,19,21,25],charact:0,charg:22,check:[0,1,14,17,19,32,34],checkbox:7,checker:33,child:[25,26],choos:[],chosen:[0,11],circl:11,cl470:0,claim:22,clang:[],clang_analyz:[0,33],clean:[],clear:0,clearer:0,clearn:0,click:[11,15,17],client:[0,26],clobber:0,close:0,cmake:[],cmd:[0,27],cmdline:[0,27],code:[],code_st:0,collect:[],collectionmandatori:32,color:[1,19,24,30,32],com:[10,17],combin:[0,2],come:[13,31],comma:[0,1],command:[0,2,6,11,14,15,20,24,25,27,29,30,31,32,35],commandlin:[],comment:[0,1,27,32],commit:[7,9,34],common7:14,compar:9,compat:[0,35],compil:[],complet:[7,11,31],complex:[0,23,35],compon:22,concaten:26,condit:22,config:[],confignam:[0,29,31],configpkg:0,configur:[],confnam:29,confus:0,connect:[19,20,22],consequenti:22,consist:[0,5,22],consol:[0,1,11,32],contain:[5,22,29],content:[2,7,27],context:[4,7,9],contract:22,contrast:23,contributor:22,control:[7,9,25],conveni:25,convers:[0,7],conversion_info:0,convert:[],copi:[0,22],copyright:22,corez6:0,corpor:22,correct:0,correctli:[0,17,19],cosmet:0,could:0,cpath:[0,11,29],cplusplu:33,cpp:[1,4,5,14,24,25,26,27,31,33],cpppath:[0,11,29],cprojec:9,cproject:[7,8,9,11],cpu:23,crash:0,creat:[],createvsproject:[0,13],ctrl:0,current:[0,1,27,29,31,32],cursor:[27,32],custom:[2,5,31],customconfig:[0,2,25,26,27,33],cxxproject:[0,22],cyclic:0,cygdriv:30,cygwin:[],damag:22,darwin13:[19,24],data:22,deadcod:33,deal:22,debug:[],debug_info:4,debug_main:5,decemb:0,decor:11,def:[0,29],defaulttoolchain:[0,4,5,11,14,15,25,26,27,31,33],defin:[],definit:[0,4,29],delet:[0,7,21],deped:19,depenc:35,depend:[0,1,2,4,5,11,19,26,27,29,30,31,33,34],dependend:35,deprec:0,deriv:[],derv:26,describ:[11,14],descript:[0,27,29,32],deselect:15,desgin:[],design:35,detail:24,develop:[],devenv:14,diab:[25,26],diag_warn:0,dialog:0,did:0,differ:[],dir:[0,27,29],direct:[0,22],directli:[11,29],directori:[],disabl:15,discard:20,disclaim:22,disk:7,displai:[0,11,15,27,32],distribut:[22,32],doc:[0,31],docu:[0,27],document:[0,19,22,35],doe:[],don:[14,29,35],done:[4,24],doubl:[17,27,32],download:[6,17],due:[],eabi:0,each:[0,22],earli:0,earlier:0,easi:[8,18,19,26,35],easiest:[30,35],easili:[4,33,35],echo:5,eclips:[],eclipseord:[0,25,27],edit:[9,21,33],editor:6,either:[26,33],element:[25,26,27,29,32],elf:29,els:[1,21],email:27,embrac:35,empti:[0,4,8,29],en_u:19,enabl:[6,9,11],end:0,energi:35,english:19,ensur:[0,7],entir:35,env:[0,27],environ:[],environmentvari:29,equal:[0,29],equip:2,equival:22,error:[],escap:30,especi:0,esrlab:[10,17],etc:[5,14,30,31,34],evalu:[19,29],evalut:29,even:[0,22,31,35],event:22,everi:[0,2,5,31],everyth:4,exactli:25,exampl:[],except:[0,11,20,24],exclud:[0,32],exclude_filt:0,excludefil:[0,27],execut:[0,2,5,14,21,31,34],executableconfig:[0,2,4,5,25,26,27,31,33],exemplari:22,exens:29,exist:[],exit:[0,24],exitstep:[0,27],expand:0,experiment:0,explicit:31,explicitli:[0,22],explor:[7,9,11],express:22,extend:11,extens:17,extern:[0,19],externallibrari:[0,5,27,29],externallibrarysearchpath:[5,27,29],extrem:0,fact:31,fail:[],failur:35,fals:[0,27],fan:35,fast:[18,35],faster:23,featur:[0,9,10,11,34],februari:0,fetch:19,few:[11,35],file:[],filenam:[0,20],fill:[7,8,11],filter:[0,27],find:7,finish:9,first:[0,1,14,26,29,31,32],fit:[22,35],fix:[0,23],flag:[0,4,5,14,26,27,31,33],flex:31,focu:35,folder:[0,1,8,29,31],follow:[10,17,22,24,26,29,30,31,33],follw:24,form:22,format:31,format_specif:31,forward:[0,26,31],found:[0,7,9,19,24,25,30],free:22,from:[],front:27,fstab:30,full:29,furnish:22,gcc:[0,4,5,14,25,26,31,33],gcc_env:0,gem:[0,19],gener:[0,2,7,11,19,24,26,35],ghz:23,git:34,github:[0,6],given:20,glob:0,goal:[],good:[9,22,35],googl:19,govern:22,grant:22,graphic:22,greater:[0,20],greenhil:0,gsub:19,handl:[0,31],happen:5,hard:[29,35],hardcod:0,hash:[27,32],have:[0,1,4,7,8,9,11,14,19,22,26,27,29,30,31,32,33,35],hdd:23,header:[],hello:29,helper:31,here:[9,14,25,35],herebi:22,hereinaft:22,high:26,higher:0,highest:0,highlin:19,hinder:35,holder:22,host:[0,1,5,19,24,25,29,31],hostnam:29,hour:35,howev:[0,19,22,34],http:[10,17],ide_integr:[],idea:9,ignor:[0,9,10],ignore_cach:0,iinclud:[5,24],imag:[],imagin:33,impli:22,implicitli:26,improv:0,inc:[0,26],incident:22,includ:[],include_filt:0,include_path:0,includedir:[0,4,5,26,27,29,34],inclus:0,inconsist:[0,4],incorrect:34,incorrectli:0,independ:[32,35],indirect:[0,22],infix:0,info:[0,20,24,34],inform:[24,27,31,32],informationen:7,inherit:[],inject:[0,27],input:0,instal:[],install_bak:[],instead:[0,4,7,30,33],integr:[],intel:23,intend:0,intern:[],internaldefin:[0,11,27],internalinclud:[0,11,27],internat:19,interrupt:22,introduc:0,invalid:[],invok:33,issu:[],istal:19,item:[11,15],itself:4,januari:0,java:0,juli:0,junction:[],june:0,keep:27,keil:0,keyword:[0,25],kicker:35,kind:22,known:[],known_issu:[],lab:[10,17,22],label:11,lake:22,larg:35,larger:0,last:[0,14,15],latest:0,lc_all:19,ldebug:0,lead:0,lear:22,least:2,leav:[4,21],length:20,less:35,let:5,level:[0,25],liabil:22,liabl:22,lib:[0,4,5,27,29],libpostfixflag:27,libprefixflag:27,librari:[0,2,5,34],libraryconfig:[0,2,4,5,25,26,27,31],libsub:5,licens:[],life:29,lightweight:35,like:[0,1,2,4,11,14,17,19,25,26,29,31,33],limit:22,line:[0,11,14,15,20,22,25,27,29,30,31,32,35],link:[0,2,5,24,25,34],link_onli:0,linker:[0,2,14,25,26,27,29],linkerpath:[0,11,29],linkerscript:[0,27],lint:[],lint_cmac:31,lint_cppmac:31,lint_max:0,lint_min:0,lintpolici:[27,31],linux:[0,34],list:[0,9,22,31,34],listen:20,llvm:0,lnt:[0,31],load:24,localhost:20,locat:[0,5,8],logo_conformant_1024:[],longer:0,look:[17,26,29,35],loss:22,machin:0,made:0,magic:0,mai:0,main1:32,main2:32,main:[],mainconfignam:[0,4,29],mainproj:[1,32],mainprojectdir:[0,29,31],mainprojectnam:[0,4,29],maintain:35,maintanc:35,major:[9,27,30],mak:31,make:[0,7,19,30,31,35],makefil:[],mani:[],manipul:25,manual:[6,7,21],map:0,mapfil:27,march:0,mark:[0,7,11,27,32],match:[0,1,25],materi:22,matter:26,max:[0,31],maxdepth:[],maximum:[0,27],mean:[7,25,33,35],mechan:9,menu:[7,9,11,15],merchant:22,merg:[0,22,26],messag:[],met:22,meta:[],method:19,microsoft:14,might:[7,11,19,34],min:[0,23,31],mind:27,mingw:0,minimum:[0,27],minor:[0,27],minut:[11,24,35],misra:31,miss:[],mix:25,mkdir:24,mmd:0,mode:0,modif:22,modifi:22,more:[],mous:[27,32],move:[0,27,32],msvc:[0,14],multipl:[23,35],must:[0,4,11,22,30,31,32,35],mv7a8:0,my_comput:29,my_project:[5,24],myinclud:29,mylibraryproject:31,myproj:[0,1,13],myproject:29,myprojectnam:29,myspecialcollect:32,myvar:29,name:[0,1,4,8,11,19,20,25,27,29,31,32,33],nativ:[14,23],navig:8,nbsp:[27,32],ndebug:4,ndefault:32,necessari:[0,30,35],need:[4,6,7,23,29,31],neglig:22,nest:[],network:19,newer:30,next:31,nicer:0,nico:0,nicoretti:24,nil:19,nilclass:19,nmake:13,no_autodir:0,non:0,none:[22,30],noninfring:22,note:[],noth:24,notic:22,novemb:0,now:[0,5,6,11,17,30,31],number:[4,11,20],oathnam:0,obtain:22,octob:0,off:[0,11,27],offici:0,often:[19,31],old:[0,9],omit:[0,1,32],onc:[7,26,32],onli:[],open:[0,19,31],opinion:35,optim:4,option:[],order:[0,5,25,31],origin:[25,30,34],other:[0,2,4,8,15,22,29,31,35],otherwis:[22,31],our:[30,35],out:[1,7,11,14,22,32,34],output:[],outputdir:[0,27,29],outsid:4,over:[27,32],overwrit:4,overwritten:[0,9],owner:22,packag:30,page:[0,6,9,11,14],paht:31,paket:20,paramet:[0,15,29,30,31],parent:[0,1,25,26,27],pars:25,parser:[0,19],part:[22,29,31,32],parti:22,particular:22,password:19,patch:27,path:[],path_separ:0,pathnam:0,pathto:27,pattern:[0,1,27],pclint:31,peak:23,peopl:35,per:[0,9,19],perfect:7,perform:[],perman:30,permiss:22,permit:22,person:[22,27],personali:35,phisolophi:35,phrase:22,pictur:0,pipe:0,place:[0,31,33],platform:[24,29],pleas:[10,17],plugin:[0,10,14,17],png:[],point:35,polici:27,port:20,portion:22,posix:30,possibl:[0,1,6,7,22,25,29,31,32,34],post:[2,5],poststep:[0,5,27],practic:34,pragma:31,pre:[],predefin:4,prefer:[],prefix:[0,30],prepro:0,preproc_with_compil:0,press:9,prestep:[0,27,31],prestepmain:2,pretti:[26,35],previou:0,primarybootloader2includ:29,print:[0,34],print_less:0,prioriti:[0,26],problem:[11,31],process:[0,22,35],procur:22,product:22,profit:22,program:22,programm:30,progress:35,progressbar:[0,19],proj:0,projec:[7,29],project:[],projectdir:[0,29,31],projectnam:[0,29,31],projnam:29,properli:0,properti:[9,14],protect:19,prove:35,provid:[0,6,22,24,31,35],proxi:19,publish:22,purpos:[22,35],put:26,quickstart:[],quot:[27,32],raid:23,rake:0,ram:23,rare:[0,31],rather:35,rdoc:19,read:[5,7,10,35],readi:24,real:[25,29],realli:[0,1],reason:[30,35],rebuild:[11,21,23],rebuilt:0,recogn:[0,29],recommend:13,recompil:0,recorgn:31,recreat:[0,9],recurs:[0,26],redirect:31,redistribut:22,reduc:4,redund:0,refactor:21,refer:[0,4,29],referenc:[0,4,22,29],regardless:[0,25,31],regener:0,regular:[4,25,33],rel:[0,27,29],releas:[0,4,32],reload:[0,24],remov:7,renam:[0,30],repetet:26,replac:7,report:0,repositori:[7,34],reproduc:22,requir:0,requiredbakevers:27,reserv:22,resourc:0,respons:27,rest:[20,31],restart:10,restrict:[0,22],result:[],retain:22,retriev:29,revis:19,rework:0,rewrit:13,rewrite_solut:[],rgen:[0,19],rid:[9,30],right:[0,11,15,22],root1:[1,32],root2:[1,32],root:[],rtext:[0,6,19],rtext_eclipse_plugin:6,rubi:[],ruby192:30,rubygem:[0,19],run:[0,19,23,32,35],same:[0,5,20,25,27],satisfi:7,script:[0,7,13,27,35],search:[],sec:23,second:11,secur:[10,33],see:[0,11,15,19,22,30,33,35],seem:34,seen:11,select:[],sell:22,sens:7,sensit:0,separ:[0,1,22,31],seper:29,septemb:0,sequenc:30,server:17,servic:22,set:[],setup:[],sever:[0,1,7,20,32],shall:[9,22],shell:[2,30],shift:0,shortcut:0,should:[],show:[0,31],show_abs_path:0,show_config:0,show_doc:0,show_incs_and_def:0,show_licens:0,shown:[0,7,11,14,15,21],similar:9,simliar:33,simpli:[4,7,9,11,26],singl:[],site:[6,10,17],size:[11,31],slash:27,slow:0,small:7,softwar:[6,10,18,22,34],solut:[14,19,31],some:[0,7,9,11,14,22,31],someth:[0,1,29],sometim:35,soon:6,sort:0,sourc:[0,5,7,9,15,19,21,22,33],space:[0,27],special:[22,29],specifi:[0,1,2,4,5,7,11,15,25,27,29,31,32,34],spent:35,src:[0,5,24],standard:9,start:[],startup:[0,23],startupcod:0,startupstep:[0,27],state:22,statement:[11,34],step:[0,2,5,7,10,17,30,31,33,35],stick:35,still:[0,7],stop:[0,1,32],stoponfirsterror:0,store:0,straight:26,strategi:0,stream:0,strict:22,string:[0,27,29,32],structur:24,studio:[],stuff:[2,4],style:0,sub1:34,sub2:34,sub3:32,sub:[0,4,5,9,26],subcollect:32,subfold:0,subject:22,sublicens:22,subproject:4,subset:7,substanti:22,substitu:29,substitut:[0,5,22,27,29],subtag:0,success:0,successful:10,successfulli:[19,21,34],suppli:31,support:[],suppress:31,sure:[19,31],svn:34,symlink:[],sync:34,system:[0,4,7,19,23,30,31],tag:0,take:[0,11,23,33,35],taken:5,target:[0,27],team:7,templat:0,term:22,test:[],text:27,than:[],thank:0,theconfig:29,thei:[9,25,35],them:[0,9,25],theori:22,theproject:29,therefor:[4,29,35],thi:[0,1,7,8,9,11,14,15,17,19,20,22,24,25,26,29,30,31,32,33,34,35],think:35,third:22,those:[11,35],though:[31,35],thread:23,three:[8,27],through:35,ti_ar:0,ti_cl:0,ti_hom:0,time:[7,24,29],tip:[],tips_and_trick:[],tms470:0,toctre:[],too:[],tool:[0,7,14,17,29,35],toolchain:[0,4,5,14,27,31],toolchain_info:0,toolchain_nam:0,toolkit:[0,13,19,32],top:25,tort:22,touch:21,treat:0,tree:0,tri:20,trick:[],trust:10,tty:30,turn:0,two:[0,1,14,29,32],type:[],typo:0,unchang:21,uncommon:1,undefin:19,under:[0,7],underscor:22,understand:35,uniniti:0,unintention:0,uniqu:32,unit:32,unittest:32,unittestlib:32,unittestlibswithoutbsp:32,unix:[],unknown:20,unless:22,unlock:19,unnecessari:[],unter:9,updat:[0,6,10,17],updatesit:10,usag:29,user:[],userlibrari:[27,29],usr:29,usual:[1,2,11,14,35],usuali:19,valid:[0,4,26,27,29],validexitcod:[0,27],valu:[0,27,29],variabl:[],vcvarsal:14,verbos:0,veri:[0,8,9,19,23,26,32],version:[0,13,19,23,30,31,35],via:[0,7,11,15,17,25,30],view:11,virtual:0,visibl:30,visual:[],vs2013:0,w3520:23,wai:[0,13,19,22,29,30,35],wait:35,wall:5,want:[0,1,7,9,24,25,33,35],warn:[0,10,20],warn_sect:0,warranti:22,web:19,webpag:19,well:[0,31],were:[0,19,22],what:[],whatev:[4,29],when:[0,13,21,22,34],where:[0,35],whether:[22,35],which:[],white:30,whole:[0,7,22,23],whom:22,why:[],why_bak:[],width:[],wildcard:[1,32],window:[0,6,7,11,15,23,29,30,34],wishlist:0,without:[0,14,21,22,23,25,29],wizard:[0,7],won:[2,31],work:[0,7,11,25,33,34],workaround:[0,21],workspac:[],world:29,would:29,wrapper:[7,8,9],write:[0,25,29,33],written:[0,1,11],wrong:0,www:[10,17],wysiwyg:35,x86_64:[19,24],xeon:23,xml:[17,31],yesquant:32,yet:[7,14],you:[],your:[7,9,19,29,30,31,35]},titles:["Changelog","Commandline","The build hierarchy","Concepts","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 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.14.0","Install bake","Internal developing notes","Known Issues","License","Performance","Quickstart","Adapt configs","Derive configs","The Syntax of the Project.meta file","Syntax","Variables in Project.meta","How to use bake with cygwin","Static Code Analysis","The Bakery","Clang Analyze","Tips and Tricks","Why you should use bake"],titleterms:{"0x01":20,"0x0a":20,"import":[1,9],"new":8,"static":31,adapt:25,adjust:[11,29],advantag:4,analysi:31,analyz:33,applic:1,arbitrari:1,auto:29,bake:[1,10,11,13,15,17,18,19,23,29,30,31,35],bakeri:32,basic:31,bind:6,build:[1,2,11,20],cdt:[7,11],changelog:0,choos:11,clang:33,clean:[1,11],cmake:23,code:31,collect:32,commandlin:[1,32],compil:31,concept:3,config:[25,26],configur:[11,31],convert:7,creat:[8,9,13],cygwin:30,debug:14,defin:[11,29,31],deriv:26,desgin:35,develop:20,differ:23,differnt:1,directori:[1,4],doe:19,due:31,dure:19,eclips:[6,8,9,10,11,23],effect:25,environ:[23,29],error:[19,20,31],exampl:[1,2,4,5,19,31],exist:[7,29],extend:25,fail:31,file:[1,5,11,27],from:1,get:1,goal:35,graph:2,header:20,help:1,hierarchi:2,highlight:6,how:[1,7,8,9,10,11,13,14,15,17,19,30,32],implic:26,includ:[11,31,34],inherit:26,instal:[10,17,19],instruct:27,integr:[10,17],interact:27,intern:20,introduct:25,invalid:19,issu:[19,21,31],junction:34,just:1,kei:6,known:[19,21,31],languag:19,licens:22,lint:31,main:[4,11],makefil:23,mani:31,messag:19,meta:[5,27,29,32],miss:31,more:1,most:1,nest:29,note:20,occurr:25,onli:31,option:1,output:4,packet:20,path:29,perform:23,perspect:11,pre:29,prefer:11,project:[1,4,5,8,11,13,20,27,29],quickstart:24,receiv:20,remov:25,replac:25,result:[11,23],root:1,rubi:23,search:31,select:11,send:20,set:19,setup:31,should:35,singl:1,socket:20,specif:1,start:[19,20],studio:[14,15,16,17],support:12,symlink:34,syntax:[6,27,28,32],test:23,than:1,tip:34,too:31,trick:34,type:[20,25],unix:23,unnecessari:34,user:29,variabl:29,viewer:27,visual:[14,15,16,17],what:[5,32],which:1,why:35,within:1,workspac:[7,9],you:35}})
|
@@ -0,0 +1,287 @@
|
|
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>Adapt configs — bake 2.14.0 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: '2.14.0',
|
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 2.14.0 documentation" href="../index.html" />
|
33
|
+
<link rel="up" title="Syntax" href="syntax.html" />
|
34
|
+
<link rel="next" title="Commandline" href="../commandline/commandline.html" />
|
35
|
+
<link rel="prev" title="Derive configs" href="derive_configs.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 current"><a class="reference internal" href="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"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Tips and Tricks</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="#">Adapt configs</a><ul>
|
100
|
+
<li><a class="reference internal" href="#introduction">Introduction</a></li>
|
101
|
+
<li><a class="reference internal" href="#effectiveness">Effectiveness</a></li>
|
102
|
+
<li><a class="reference internal" href="#occurrences">Occurrences</a></li>
|
103
|
+
<li><a class="reference internal" href="#types">Types</a><ul>
|
104
|
+
<li><a class="reference internal" href="#type-extend">Type: extend</a></li>
|
105
|
+
<li><a class="reference internal" href="#type-remove">Type: remove</a></li>
|
106
|
+
<li><a class="reference internal" href="#type-replace">Type: replace</a></li>
|
107
|
+
</ul>
|
108
|
+
</li>
|
109
|
+
</ul>
|
110
|
+
</li>
|
111
|
+
</ul>
|
112
|
+
</ul>
|
113
|
+
</li>
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<li>
|
120
|
+
<a href="derive_configs.html" title="Previous Chapter: Derive configs"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« Derive configs</span>
|
121
|
+
</a>
|
122
|
+
</li>
|
123
|
+
<li>
|
124
|
+
<a href="../commandline/commandline.html" title="Next Chapter: Commandline"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Commandline »</span>
|
125
|
+
</a>
|
126
|
+
</li>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
</ul>
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
137
|
+
<div class="form-group">
|
138
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
139
|
+
</div>
|
140
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
141
|
+
<input type="hidden" name="area" value="default" />
|
142
|
+
</form>
|
143
|
+
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
|
148
|
+
<div class="container">
|
149
|
+
<div class="row">
|
150
|
+
<div class="col-md-12">
|
151
|
+
|
152
|
+
<div class="section" id="adapt-configs">
|
153
|
+
<h1>Adapt configs<a class="headerlink" href="#adapt-configs" title="Permalink to this headline">¶</a></h1>
|
154
|
+
<div class="section" id="introduction">
|
155
|
+
<h2>Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h2>
|
156
|
+
<p>If you want to manipulate existing configs without changing them, you can “adapt” them via command line.</p>
|
157
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake <span class="nb">test</span> --adapt abc
|
158
|
+
</pre></div>
|
159
|
+
</div>
|
160
|
+
<p>bake searches for abc/Adapt.meta within the workspace roots. If found, the configs from the adapt file are parsed:</p>
|
161
|
+
<div class="highlight-text"><div class="highlight"><pre>Adapt {
|
162
|
+
ExecutableConfig ... # 0..n
|
163
|
+
LibraryConfig ... # 0..n
|
164
|
+
CustomConfig ... # 0..n
|
165
|
+
}
|
166
|
+
</pre></div>
|
167
|
+
</div>
|
168
|
+
<p>Here is an example to change the DefaultToolchain</p>
|
169
|
+
<div class="highlight-text"><div class="highlight"><pre>Adapt {
|
170
|
+
ExecutableConfig test, project: __MAIN__, type: replace {
|
171
|
+
DefaultToolchain GCC
|
172
|
+
}
|
173
|
+
}
|
174
|
+
</pre></div>
|
175
|
+
</div>
|
176
|
+
</div>
|
177
|
+
<div class="section" id="effectiveness">
|
178
|
+
<h2>Effectiveness<a class="headerlink" href="#effectiveness" title="Permalink to this headline">¶</a></h2>
|
179
|
+
<p>The adapt configs can be applied to all configs from regular build. This can be controlled by the config names and the project attributes. The example above
|
180
|
+
is adapted only to the config “test” of the main project. __MAIN__ and __ALL__ are keywords. __MAIN__ means the main project or config, __ALL__ means all
|
181
|
+
projects or configs. If you want to apply the changes only to the top level config, write:</p>
|
182
|
+
<div class="highlight-text"><div class="highlight"><pre>ExecutableConfig __MAIN__, project: __MAIN__, ...
|
183
|
+
</pre></div>
|
184
|
+
</div>
|
185
|
+
<p>If you want to apply the changes to all configs, write:</p>
|
186
|
+
<div class="highlight-text"><div class="highlight"><pre>ExecutableConfig __ALL__, project: __ALL__, ...
|
187
|
+
</pre></div>
|
188
|
+
</div>
|
189
|
+
<p>It is possible to mix the keywords with reals project or config names.</p>
|
190
|
+
</div>
|
191
|
+
<div class="section" id="occurrences">
|
192
|
+
<h2>Occurrences<a class="headerlink" href="#occurrences" title="Permalink to this headline">¶</a></h2>
|
193
|
+
<p>You can specify more configs in one adapt file and you can specify more than one adapt file:</p>
|
194
|
+
<div class="highlight-text"><div class="highlight"><pre>Adapt {
|
195
|
+
ExecutableConfig ..., project: ..., type: ... {
|
196
|
+
...
|
197
|
+
}
|
198
|
+
ExecutableConfig ..., project: ..., type: ... {
|
199
|
+
...
|
200
|
+
}
|
201
|
+
LibraryConfig ..., project: ..., type: ... {
|
202
|
+
...
|
203
|
+
}
|
204
|
+
...
|
205
|
+
}
|
206
|
+
</pre></div>
|
207
|
+
</div>
|
208
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake <span class="nb">test</span> --adapt abc --adapt xy
|
209
|
+
</pre></div>
|
210
|
+
</div>
|
211
|
+
<p>They will be applied in the specified order.</p>
|
212
|
+
</div>
|
213
|
+
<div class="section" id="types">
|
214
|
+
<h2>Types<a class="headerlink" href="#types" title="Permalink to this headline">¶</a></h2>
|
215
|
+
<p>It is possible to specify the type of adaption:</p>
|
216
|
+
<div class="highlight-text"><div class="highlight"><pre>ExecutableConfig ..., type: replace
|
217
|
+
</pre></div>
|
218
|
+
</div>
|
219
|
+
<p>The type can be “replace”, “remove” or “extend”.</p>
|
220
|
+
<div class="section" id="type-extend">
|
221
|
+
<h3>Type: extend<a class="headerlink" href="#type-extend" title="Permalink to this headline">¶</a></h3>
|
222
|
+
<p>This works exactly like for <a class="reference internal" href="derive_configs.html"><em>Derive configs</em></a>.</p>
|
223
|
+
</div>
|
224
|
+
<div class="section" id="type-remove">
|
225
|
+
<h3>Type: remove<a class="headerlink" href="#type-remove" title="Permalink to this headline">¶</a></h3>
|
226
|
+
<p>If parent elements can be found which matches to the child elements, they will be removed.</p>
|
227
|
+
<p>Example project config:</p>
|
228
|
+
<div class="highlight-text"><div class="highlight"><pre>ExecutableConfig test {
|
229
|
+
DefaultToolchain GCC
|
230
|
+
}
|
231
|
+
</pre></div>
|
232
|
+
</div>
|
233
|
+
<p>Example adapt configs:</p>
|
234
|
+
<div class="highlight-text"><div class="highlight"><pre>ExecutableConfig __ALL__, project: __ALL__, type: remove {
|
235
|
+
DefaultToolchain # remove ok
|
236
|
+
}
|
237
|
+
|
238
|
+
ExecutableConfig __ALL__, project: __ALL__, type: remove {
|
239
|
+
DefaultToolchain GCC # remove ok
|
240
|
+
}
|
241
|
+
|
242
|
+
ExecutableConfig __ALL__, project: __ALL__, type: remove {
|
243
|
+
DefaultToolchain Diab # remove NOT ok
|
244
|
+
}
|
245
|
+
|
246
|
+
ExecutableConfig __ALL__, project: __ALL__, type: remove {
|
247
|
+
DefaultToolchain GCC, eclipseOrder: true # remove NOT ok
|
248
|
+
}
|
249
|
+
</pre></div>
|
250
|
+
</div>
|
251
|
+
</div>
|
252
|
+
<div class="section" id="type-replace">
|
253
|
+
<h3>Type: replace<a class="headerlink" href="#type-replace" title="Permalink to this headline">¶</a></h3>
|
254
|
+
<p>This is for convenience. “replace” will remove all elements with the same type and extends the configs.</p>
|
255
|
+
<p>Example:</p>
|
256
|
+
<div class="highlight-text"><div class="highlight"><pre>ExecutableConfig __ALL__, project: __ALL__, type: replace {
|
257
|
+
Files "*.cpp"
|
258
|
+
DefaultToolchain GCC {
|
259
|
+
Linker command: "link.exe"
|
260
|
+
}
|
261
|
+
}
|
262
|
+
</pre></div>
|
263
|
+
</div>
|
264
|
+
<p>This removes all “Files” and the “DefaultToolchain” from the original config regardless their attributes and replaces them by the elements of the adapt config.</p>
|
265
|
+
</div>
|
266
|
+
</div>
|
267
|
+
</div>
|
268
|
+
|
269
|
+
|
270
|
+
</div>
|
271
|
+
|
272
|
+
</div>
|
273
|
+
</div>
|
274
|
+
<footer class="footer">
|
275
|
+
<div class="container">
|
276
|
+
<p class="pull-right">
|
277
|
+
<a href="#">Back to top</a>
|
278
|
+
|
279
|
+
</p>
|
280
|
+
<p>
|
281
|
+
© Copyright 2016, E.S.R.Labs AG.<br/>
|
282
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
283
|
+
</p>
|
284
|
+
</div>
|
285
|
+
</footer>
|
286
|
+
</body>
|
287
|
+
</html>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
7
|
|
8
|
-
<title>Derive configs — bake 2.
|
8
|
+
<title>Derive configs — bake 2.14.0 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" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '2.
|
18
|
+
VERSION: '2.14.0',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -29,9 +29,9 @@
|
|
29
29
|
<script type="text/javascript" src="../_static/bootstrap-3.3.4/js/bootstrap.min.js"></script>
|
30
30
|
<script type="text/javascript" src="../_static/bootstrap-sphinx.js"></script>
|
31
31
|
<link rel="shortcut icon" href="../_static/logo_tiny_32.ico"/>
|
32
|
-
<link rel="top" title="bake 2.
|
32
|
+
<link rel="top" title="bake 2.14.0 documentation" href="../index.html" />
|
33
33
|
<link rel="up" title="Syntax" href="syntax.html" />
|
34
|
-
<link rel="next" title="
|
34
|
+
<link rel="next" title="Adapt configs" href="adapt_configs.html" />
|
35
35
|
<link rel="prev" title="Variables in Project.meta" href="variable_substitutions.html" />
|
36
36
|
<meta charset='utf-8'>
|
37
37
|
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</a>
|
115
115
|
</li>
|
116
116
|
<li>
|
117
|
-
<a href="
|
117
|
+
<a href="adapt_configs.html" title="Next Chapter: Adapt configs"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Adapt configs »</span>
|
118
118
|
</a>
|
119
119
|
</li>
|
120
120
|
|
@@ -158,120 +158,61 @@ ExecutableConfig D, extends: C
|
|
158
158
|
<p class="first admonition-title">Note</p>
|
159
159
|
<p class="last">The config type of the parent config does not matter, but only settings which are valid in BOTH configs will be inherited.
|
160
160
|
In the example above D gets the dependencies from A, because “Dependency” is valid in all configs, but D does not get
|
161
|
-
the “Files” from A, because “Files” is not valid in CustomConfig.</p>
|
161
|
+
the “Files” from A and B, because “Files” is not valid in CustomConfig.</p>
|
162
162
|
</div>
|
163
163
|
</div>
|
164
164
|
<div class="section" id="inheritance-implications">
|
165
165
|
<h2>Inheritance implications<a class="headerlink" href="#inheritance-implications" title="Permalink to this headline">¶</a></h2>
|
166
|
-
<
|
167
|
-
<
|
168
|
-
<
|
169
|
-
<
|
170
|
-
</
|
171
|
-
<
|
172
|
-
|
173
|
-
|
174
|
-
</
|
175
|
-
</
|
176
|
-
<
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
</
|
198
|
-
<
|
199
|
-
<
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
</
|
215
|
-
|
216
|
-
<td>parent + child</td>
|
217
|
-
</tr>
|
218
|
-
<tr class="row-even"><td>LinkerScript</td>
|
219
|
-
<td>used from parent if not in child</td>
|
220
|
-
</tr>
|
221
|
-
<tr class="row-odd"><td>ArtifactName</td>
|
222
|
-
<td>used from parent if not in child</td>
|
223
|
-
</tr>
|
224
|
-
<tr class="row-even"><td>MapFile</td>
|
225
|
-
<td>used from parent if not in child</td>
|
226
|
-
</tr>
|
227
|
-
</tbody>
|
228
|
-
</table>
|
229
|
-
<table border="1" class="docutils">
|
230
|
-
<colgroup>
|
231
|
-
<col width="41%" />
|
232
|
-
<col width="59%" />
|
233
|
-
</colgroup>
|
234
|
-
<thead valign="bottom">
|
235
|
-
<tr class="row-odd"><th class="head">Toolchain Setting</th>
|
236
|
-
<th class="head">Derived</th>
|
237
|
-
</tr>
|
238
|
-
</thead>
|
239
|
-
<tbody valign="top">
|
240
|
-
<tr class="row-even"><td>basedOn</td>
|
241
|
-
<td>used from parent if not in child</td>
|
242
|
-
</tr>
|
243
|
-
<tr class="row-odd"><td>outputDir</td>
|
244
|
-
<td>used from parent if not in child</td>
|
245
|
-
</tr>
|
246
|
-
<tr class="row-even"><td>command</td>
|
247
|
-
<td>used from parent if not in child</td>
|
248
|
-
</tr>
|
249
|
-
<tr class="row-odd"><td>LibPrefixFlags</td>
|
250
|
-
<td>parent + child</td>
|
251
|
-
</tr>
|
252
|
-
<tr class="row-even"><td>LibPostfixFlags</td>
|
253
|
-
<td>parent + child</td>
|
254
|
-
</tr>
|
255
|
-
<tr class="row-odd"><td>Flags</td>
|
256
|
-
<td>parent + child</td>
|
257
|
-
</tr>
|
258
|
-
<tr class="row-even"><td>Define</td>
|
259
|
-
<td>parent + child</td>
|
260
|
-
</tr>
|
261
|
-
<tr class="row-odd"><td>InternalDefines</td>
|
262
|
-
<td>used from parent if not in child</td>
|
263
|
-
</tr>
|
264
|
-
<tr class="row-even"><td>InternalIncludes</td>
|
265
|
-
<td>used from parent if not in child</td>
|
266
|
-
</tr>
|
267
|
-
<tr class="row-odd"><td>LintPolicy</td>
|
268
|
-
<td>parent + child</td>
|
269
|
-
</tr>
|
270
|
-
<tr class="row-even"><td>Docu</td>
|
271
|
-
<td>used from parent if not in child</td>
|
272
|
-
</tr>
|
273
|
-
</tbody>
|
274
|
-
</table>
|
166
|
+
<p>In general it is very easy.</p>
|
167
|
+
<ul class="simple">
|
168
|
+
<li>Elements which can exist more than once (e.g. “Files”), are simply concatenated. First the parent elements, then the client elements.</li>
|
169
|
+
<li>Elements which can exist only once:<ul>
|
170
|
+
<li>if it exists in EITHER child OR parent, use this one</li>
|
171
|
+
<li>is it exists in BOTH, attributes are merged (child attributes have high priority) and sub elements are inherited recursively</li>
|
172
|
+
</ul>
|
173
|
+
</li>
|
174
|
+
</ul>
|
175
|
+
<p>The following example</p>
|
176
|
+
<div class="highlight-text"><div class="highlight"><pre>ExecutableConfig A {
|
177
|
+
Files "x.cpp"
|
178
|
+
Files "y.cpp"
|
179
|
+
ArtifactName "z.exe"
|
180
|
+
DefaultToolchain GCC {
|
181
|
+
Linker {
|
182
|
+
Flags "-O3"
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
ExecutableConfig B, extends: A {
|
187
|
+
Files "z.cpp"
|
188
|
+
IncludeDir "inc"
|
189
|
+
ArtifactName "a.exe"
|
190
|
+
DefaultToolchain Diab {
|
191
|
+
Compiler CPP {
|
192
|
+
Define "TEST"
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
</pre></div>
|
197
|
+
</div>
|
198
|
+
<p>results implicitly in:</p>
|
199
|
+
<div class="highlight-text"><div class="highlight"><pre>ExecutableConfig B {
|
200
|
+
Files "x.cpp"
|
201
|
+
Files "y.cpp"
|
202
|
+
Files "z.cpp"
|
203
|
+
IncludeDir "inc"
|
204
|
+
ArtifactName "a.exe"
|
205
|
+
DefaultToolchain Diab {
|
206
|
+
Compiler CPP {
|
207
|
+
Define "TEST"
|
208
|
+
}
|
209
|
+
Linker {
|
210
|
+
Flags "-O3"
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
</pre></div>
|
215
|
+
</div>
|
275
216
|
</div>
|
276
217
|
</div>
|
277
218
|
|
@@ -287,7 +228,7 @@ in child</td>
|
|
287
228
|
|
288
229
|
</p>
|
289
230
|
<p>
|
290
|
-
© Copyright
|
231
|
+
© Copyright 2016, E.S.R.Labs AG.<br/>
|
291
232
|
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
292
233
|
</p>
|
293
234
|
</div>
|