bake-toolkit 2.29.4 → 2.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adapt/config/loader.rb +2 -2
- data/lib/bake/cache.rb +45 -15
- data/lib/bake/config/loader.rb +0 -7
- data/lib/bake/mergeConfig.rb +14 -6
- data/lib/bake/options/options.rb +12 -1
- data/lib/bake/options/showDoc.rb +53 -20
- data/lib/bake/options/usage.rb +1 -0
- data/lib/bakeqac/options/options.rb +10 -1
- data/lib/bakery/options/options.rb +11 -1
- data/lib/common/options/finder.rb +13 -0
- data/lib/common/version.rb +1 -1
- metadata +3 -289
- data/documentation/_build/html/_images/AddRepository.png +0 -0
- data/documentation/_build/html/_images/AvailableSoftware.png +0 -0
- data/documentation/_build/html/_images/FirstSelect.png +0 -0
- data/documentation/_build/html/_images/Import.png +0 -0
- data/documentation/_build/html/_images/InstallNewSoftware.png +0 -0
- data/documentation/_build/html/_images/Licenses.png +0 -0
- data/documentation/_build/html/_images/New.png +0 -0
- data/documentation/_build/html/_images/Restart.png +0 -0
- data/documentation/_build/html/_images/Result.png +0 -0
- data/documentation/_build/html/_images/Script.png +0 -0
- data/documentation/_build/html/_images/SecondSelect.png +0 -0
- data/documentation/_build/html/_images/SelectExport.png +0 -0
- data/documentation/_build/html/_images/SelectImport.png +0 -0
- data/documentation/_build/html/_images/SelectNew.png +0 -0
- data/documentation/_build/html/_images/TrustMe.png +0 -0
- data/documentation/_build/html/_images/WrongSelect.png +0 -0
- data/documentation/_build/html/_images/bake_build_hierachy.png +0 -0
- data/documentation/_build/html/_images/bake_tagcloud.png +0 -0
- data/documentation/_build/html/_images/buildFile.png +0 -0
- data/documentation/_build/html/_images/buildMain.png +0 -0
- data/documentation/_build/html/_images/console.png +0 -0
- data/documentation/_build/html/_images/cvsp.png +0 -0
- data/documentation/_build/html/_images/cygwin_mount.png +0 -0
- data/documentation/_build/html/_images/cygwin_ruby.png +0 -0
- data/documentation/_build/html/_images/cygwin_tty.png +0 -0
- data/documentation/_build/html/_images/debug_app.png +0 -0
- data/documentation/_build/html/_images/debug_debug.png +0 -0
- data/documentation/_build/html/_images/debug_flag.png +0 -0
- data/documentation/_build/html/_images/debug_map.png +0 -0
- data/documentation/_build/html/_images/debug_path.png +0 -0
- data/documentation/_build/html/_images/dot.png +0 -0
- data/documentation/_build/html/_images/dotP.png +0 -0
- data/documentation/_build/html/_images/dotPC.png +0 -0
- data/documentation/_build/html/_images/eclipse.png +0 -0
- data/documentation/_build/html/_images/emacs.png +0 -0
- data/documentation/_build/html/_images/keys.png +0 -0
- data/documentation/_build/html/_images/misra.png +0 -0
- data/documentation/_build/html/_images/notepad.png +0 -0
- data/documentation/_build/html/_images/pref.png +0 -0
- data/documentation/_build/html/_images/problem.png +0 -0
- data/documentation/_build/html/_images/vim.png +0 -0
- data/documentation/_build/html/_images/visualstudio-pro.png +0 -0
- data/documentation/_build/html/_images/vs_2010_install.png +0 -0
- data/documentation/_build/html/_images/vs_debug.png +0 -0
- data/documentation/_build/html/_images/vs_error.png +0 -0
- data/documentation/_build/html/_images/vs_install1.png +0 -0
- data/documentation/_build/html/_images/vs_installed.png +0 -0
- data/documentation/_build/html/_images/vs_options.png +0 -0
- data/documentation/_build/html/_images/vs_select_config.png +0 -0
- data/documentation/_build/html/_images/vs_show_config.png +0 -0
- data/documentation/_build/html/_images/vs_update.png +0 -0
- data/documentation/_build/html/_images/vs_update_site.png +0 -0
- data/documentation/_build/html/_sources/changelog.txt +0 -588
- data/documentation/_build/html/_sources/commandline/commandline.txt +0 -109
- data/documentation/_build/html/_sources/concepts/build_hierarchy.txt +0 -34
- data/documentation/_build/html/_sources/concepts/concepts.txt +0 -14
- data/documentation/_build/html/_sources/concepts/inject.txt +0 -65
- data/documentation/_build/html/_sources/concepts/link_order.txt +0 -91
- data/documentation/_build/html/_sources/concepts/prebuild.txt +0 -57
- data/documentation/_build/html/_sources/concepts/the_main_project.txt +0 -45
- data/documentation/_build/html/_sources/concepts/the_project_meta_file.txt +0 -72
- data/documentation/_build/html/_sources/ide/eclipse/eclipse.txt +0 -25
- data/documentation/_build/html/_sources/ide/eclipse/how_to_convert_existing_cdt_workspace.txt +0 -31
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_new_project_in_eclipse.txt +0 -18
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_workspace_in_eclipse.txt +0 -27
- data/documentation/_build/html/_sources/ide/eclipse/how_to_debug_in_eclipse.txt +0 -38
- data/documentation/_build/html/_sources/ide/eclipse/how_to_install_eclipse_plugin.txt +0 -44
- data/documentation/_build/html/_sources/ide/eclipse/how_to_use_bake_in_eclipse.txt +0 -86
- data/documentation/_build/html/_sources/ide/ide_integrations.txt +0 -40
- data/documentation/_build/html/_sources/ide/vs/how_to_create_vs_projects.txt +0 -15
- data/documentation/_build/html/_sources/ide/vs/how_to_debug_in_vs.txt +0 -35
- data/documentation/_build/html/_sources/ide/vs/how_to_used_bake_in_vs.txt +0 -35
- data/documentation/_build/html/_sources/ide/vs/vs.txt +0 -10
- data/documentation/_build/html/_sources/ide/vs/vs_install.txt +0 -43
- data/documentation/_build/html/_sources/index.txt +0 -33
- data/documentation/_build/html/_sources/install/install_bake.txt +0 -112
- data/documentation/_build/html/_sources/internal.txt +0 -50
- data/documentation/_build/html/_sources/known_issues.txt +0 -7
- data/documentation/_build/html/_sources/license.txt +0 -4
- data/documentation/_build/html/_sources/performance/performance.txt +0 -104
- data/documentation/_build/html/_sources/quickstart/quickstart.txt +0 -70
- data/documentation/_build/html/_sources/syntax/adapt_configs.txt +0 -254
- data/documentation/_build/html/_sources/syntax/auto_adjustment.txt +0 -43
- data/documentation/_build/html/_sources/syntax/derive_configs.txt +0 -93
- data/documentation/_build/html/_sources/syntax/project_meta_syntax.txt +0 -19
- data/documentation/_build/html/_sources/syntax/syntax.txt +0 -11
- data/documentation/_build/html/_sources/syntax/variable_substitutions.txt +0 -148
- data/documentation/_build/html/_sources/tips_and_tricks/bakeclean.txt +0 -11
- data/documentation/_build/html/_sources/tips_and_tricks/dot.txt +0 -34
- data/documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt +0 -62
- data/documentation/_build/html/_sources/tips_and_tricks/qac.txt +0 -160
- data/documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt +0 -72
- data/documentation/_build/html/_sources/tips_and_tricks/the_clang.txt +0 -43
- data/documentation/_build/html/_sources/tips_and_tricks/tips_and_tricks.txt +0 -35
- data/documentation/_build/html/_sources/why_bake/why_bake.txt +0 -40
- data/documentation/_build/html/_static/AddRepository.png +0 -0
- data/documentation/_build/html/_static/AvailableSoftware.png +0 -0
- data/documentation/_build/html/_static/FirstSelect.png +0 -0
- data/documentation/_build/html/_static/Import.png +0 -0
- data/documentation/_build/html/_static/InstallNewSoftware.png +0 -0
- data/documentation/_build/html/_static/Lib.meta +0 -8
- data/documentation/_build/html/_static/Licenses.png +0 -0
- data/documentation/_build/html/_static/Main.meta +0 -26
- data/documentation/_build/html/_static/New.png +0 -0
- data/documentation/_build/html/_static/PMetaMain.meta +0 -15
- data/documentation/_build/html/_static/PMetaSub.meta +0 -15
- data/documentation/_build/html/_static/Restart.png +0 -0
- data/documentation/_build/html/_static/Result.png +0 -0
- data/documentation/_build/html/_static/Script.png +0 -0
- data/documentation/_build/html/_static/SecondSelect.png +0 -0
- data/documentation/_build/html/_static/Select.png +0 -0
- data/documentation/_build/html/_static/SelectExport.png +0 -0
- data/documentation/_build/html/_static/SelectImport.png +0 -0
- data/documentation/_build/html/_static/SelectNew.png +0 -0
- data/documentation/_build/html/_static/TrustMe.png +0 -0
- data/documentation/_build/html/_static/WrongSelect.png +0 -0
- data/documentation/_build/html/_static/ajax-loader.gif +0 -0
- data/documentation/_build/html/_static/bake_build_hierachy.png +0 -0
- data/documentation/_build/html/_static/bake_tagcloud.png +0 -0
- data/documentation/_build/html/_static/basic.css +0 -599
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.css +0 -1109
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.min.css +0 -9
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.css +0 -6167
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootstrap-2.3.2/img/glyphicons-halflings-white.png +0 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/img/glyphicons-halflings.png +0 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.js +0 -2287
- data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.min.js +0 -6
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css +0 -476
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css.map +0 -1
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.min.css +0 -5
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css +0 -6584
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css.map +0 -1
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.min.css +0 -5
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.eot +0 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.svg +0 -288
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.woff +0 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.js +0 -2317
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.min.js +0 -7
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/npm.js +0 -13
- data/documentation/_build/html/_static/bootstrap-sphinx.css +0 -186
- data/documentation/_build/html/_static/bootstrap-sphinx.js +0 -162
- data/documentation/_build/html/_static/bootswatch-2.3.2/amelia/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cerulean/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cosmo/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cyborg/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/flatly/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/img/glyphicons-halflings-white.png +0 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/img/glyphicons-halflings.png +0 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/journal/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/readable/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/simplex/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/slate/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/spacelab/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/spruce/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/superhero/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/united/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-3.3.4/cerulean/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/cosmo/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/custom/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/cyborg/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/darkly/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/flatly/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.eot +0 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.svg +0 -288
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.woff +0 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/journal/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/lumen/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/paper/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/readable/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/sandstone/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/simplex/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/slate/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/spacelab/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/superhero/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/united/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/yeti/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/buildFile.png +0 -0
- data/documentation/_build/html/_static/buildMain.png +0 -0
- data/documentation/_build/html/_static/comment-bright.png +0 -0
- data/documentation/_build/html/_static/comment-close.png +0 -0
- data/documentation/_build/html/_static/comment.png +0 -0
- data/documentation/_build/html/_static/console.png +0 -0
- data/documentation/_build/html/_static/cvsp.png +0 -0
- data/documentation/_build/html/_static/cygwin_mount.png +0 -0
- data/documentation/_build/html/_static/cygwin_ruby.png +0 -0
- data/documentation/_build/html/_static/cygwin_tty.png +0 -0
- data/documentation/_build/html/_static/debug_app.png +0 -0
- data/documentation/_build/html/_static/debug_debug.png +0 -0
- data/documentation/_build/html/_static/debug_flag.png +0 -0
- data/documentation/_build/html/_static/debug_map.png +0 -0
- data/documentation/_build/html/_static/debug_path.png +0 -0
- data/documentation/_build/html/_static/doctools.js +0 -263
- data/documentation/_build/html/_static/dot.png +0 -0
- data/documentation/_build/html/_static/dotP.png +0 -0
- data/documentation/_build/html/_static/dotPC.png +0 -0
- data/documentation/_build/html/_static/down-pressed.png +0 -0
- data/documentation/_build/html/_static/down.png +0 -0
- data/documentation/_build/html/_static/eclipse.png +0 -0
- data/documentation/_build/html/_static/emacs.png +0 -0
- data/documentation/_build/html/_static/file.png +0 -0
- data/documentation/_build/html/_static/jquery-1.11.1.js +0 -10308
- data/documentation/_build/html/_static/jquery.js +0 -4
- data/documentation/_build/html/_static/js/jquery-1.11.0.min.js +0 -4
- data/documentation/_build/html/_static/js/jquery-fix.js +0 -2
- data/documentation/_build/html/_static/keys.png +0 -0
- data/documentation/_build/html/_static/logo_tiny_32.ico +0 -0
- data/documentation/_build/html/_static/logo_tiny_48.png +0 -0
- data/documentation/_build/html/_static/minus.png +0 -0
- data/documentation/_build/html/_static/misra.png +0 -0
- data/documentation/_build/html/_static/notepad.png +0 -0
- data/documentation/_build/html/_static/plus.png +0 -0
- data/documentation/_build/html/_static/pref.png +0 -0
- data/documentation/_build/html/_static/problem.png +0 -0
- data/documentation/_build/html/_static/pygments.css +0 -63
- data/documentation/_build/html/_static/roboto.css +0 -112
- data/documentation/_build/html/_static/searchtools.js +0 -622
- data/documentation/_build/html/_static/syntax.html +0 -753
- data/documentation/_build/html/_static/syntax_collection_meta.html +0 -179
- data/documentation/_build/html/_static/underscore-1.3.1.js +0 -999
- data/documentation/_build/html/_static/underscore.js +0 -31
- data/documentation/_build/html/_static/up-pressed.png +0 -0
- data/documentation/_build/html/_static/up.png +0 -0
- data/documentation/_build/html/_static/vim.png +0 -0
- data/documentation/_build/html/_static/visualstudio-pro.png +0 -0
- data/documentation/_build/html/_static/vs_2010_install.png +0 -0
- data/documentation/_build/html/_static/vs_debug.png +0 -0
- data/documentation/_build/html/_static/vs_error.png +0 -0
- data/documentation/_build/html/_static/vs_install1.png +0 -0
- data/documentation/_build/html/_static/vs_installed.png +0 -0
- data/documentation/_build/html/_static/vs_options.png +0 -0
- data/documentation/_build/html/_static/vs_select_config.png +0 -0
- data/documentation/_build/html/_static/vs_show_config.png +0 -0
- data/documentation/_build/html/_static/vs_update.png +0 -0
- data/documentation/_build/html/_static/vs_update_site.png +0 -0
- data/documentation/_build/html/_static/websupport.js +0 -808
- data/documentation/_build/html/changelog.html +0 -1178
- data/documentation/_build/html/commandline/commandline.html +0 -286
- data/documentation/_build/html/concepts/build_hierarchy.html +0 -205
- data/documentation/_build/html/concepts/concepts.html +0 -197
- data/documentation/_build/html/concepts/inject.html +0 -217
- data/documentation/_build/html/concepts/link_order.html +0 -246
- data/documentation/_build/html/concepts/prebuild.html +0 -206
- data/documentation/_build/html/concepts/the_main_project.html +0 -261
- data/documentation/_build/html/concepts/the_project_meta_file.html +0 -289
- data/documentation/_build/html/genindex.html +0 -153
- data/documentation/_build/html/ide/eclipse/eclipse.html +0 -187
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +0 -209
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +0 -192
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +0 -199
- data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +0 -199
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +0 -197
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +0 -257
- data/documentation/_build/html/ide/ide_integrations.html +0 -186
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +0 -172
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +0 -186
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +0 -191
- data/documentation/_build/html/ide/vs/vs.html +0 -171
- data/documentation/_build/html/ide/vs/vs_install.html +0 -203
- data/documentation/_build/html/index.html +0 -247
- data/documentation/_build/html/install/install_bake.html +0 -280
- data/documentation/_build/html/internal.html +0 -218
- data/documentation/_build/html/known_issues.html +0 -174
- data/documentation/_build/html/license.html +0 -237
- data/documentation/_build/html/objects.inv +0 -0
- data/documentation/_build/html/performance/performance.html +0 -374
- data/documentation/_build/html/quickstart/quickstart.html +0 -237
- data/documentation/_build/html/search.html +0 -175
- data/documentation/_build/html/searchindex.js +0 -1
- data/documentation/_build/html/syntax/adapt_configs.html +0 -389
- data/documentation/_build/html/syntax/auto_adjustment.html +0 -190
- data/documentation/_build/html/syntax/derive_configs.html +0 -248
- data/documentation/_build/html/syntax/project_meta_syntax.html +0 -934
- data/documentation/_build/html/syntax/syntax.html +0 -198
- data/documentation/_build/html/syntax/variable_substitutions.html +0 -366
- data/documentation/_build/html/tips_and_tricks/bakeclean.html +0 -170
- data/documentation/_build/html/tips_and_tricks/dot.html +0 -187
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +0 -215
- data/documentation/_build/html/tips_and_tricks/qac.html +0 -298
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +0 -406
- data/documentation/_build/html/tips_and_tricks/the_clang.html +0 -202
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +0 -199
- data/documentation/_build/html/why_bake/why_bake.html +0 -242
@@ -1,33 +0,0 @@
|
|
1
|
-
bake 2.29.4
|
2
|
-
==========================================
|
3
|
-
bake, building software **fast** and **easy**!
|
4
|
-
|
5
|
-
======================================= =======================================
|
6
|
-
\ \
|
7
|
-
======================================= =======================================
|
8
|
-
.. image:: _static/bake_tagcloud.png **Start to bake**
|
9
|
-
|
10
|
-
.. toctree::
|
11
|
-
:maxdepth: 2
|
12
|
-
|
13
|
-
why_bake/why_bake
|
14
|
-
install/install_bake
|
15
|
-
quickstart/quickstart
|
16
|
-
concepts/concepts
|
17
|
-
syntax/syntax
|
18
|
-
commandline/commandline
|
19
|
-
ide/ide_integrations
|
20
|
-
tips_and_tricks/tips_and_tricks
|
21
|
-
performance/performance
|
22
|
-
known_issues
|
23
|
-
changelog
|
24
|
-
license
|
25
|
-
|
26
|
-
.. toctree::
|
27
|
-
:maxdepth: 1
|
28
|
-
|
29
|
-
internal
|
30
|
-
======================================= =======================================
|
31
|
-
|
32
|
-
|
33
|
-
|
@@ -1,112 +0,0 @@
|
|
1
|
-
Install bake
|
2
|
-
============
|
3
|
-
|
4
|
-
bake is a `ruby gem <https://rubygems.org/>`_. It runs with `Ruby <https://www.ruby-lang.org/en/>`_ **>= 1.9**.
|
5
|
-
bake and its depedencies can be found on `rubygems <https://rubygems.org/gems/bake-toolkit/>`_, which is configured as ruby source per default.
|
6
|
-
|
7
|
-
.. attention::
|
8
|
-
|
9
|
-
The actual name of the bake gem is `bake-toolkit <https://rubygems.org/gems/bake-toolkit/>`_.
|
10
|
-
|
11
|
-
How to install bake
|
12
|
-
*******************
|
13
|
-
Installing bake is very easy!
|
14
|
-
|
15
|
-
#. Make sure you have installed `Ruby <https://www.ruby-lang.org/en/>`_ **>= 1.9**.
|
16
|
-
|
17
|
-
#. Istall the bake gem.
|
18
|
-
|
19
|
-
.. code-block:: console
|
20
|
-
|
21
|
-
User@Host:~$ gem install bake-toolkit
|
22
|
-
|
23
|
-
Example
|
24
|
-
-------
|
25
|
-
|
26
|
-
.. code-block:: console
|
27
|
-
|
28
|
-
User@Host:~$ ruby -v # (Check if an apropriate ruby version is installed)
|
29
|
-
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
|
30
|
-
|
31
|
-
User@Host:~$ gem install bake-toolkit # (Install the bake gem)
|
32
|
-
Fetching: highline-1.6.15.gem (100%)
|
33
|
-
Fetching: colored-1.2.gem (100%)
|
34
|
-
Fetching: progressbar-0.11.0.gem (100%)
|
35
|
-
Fetching: rgen-0.6.0.gem (100%)
|
36
|
-
Fetching: rtext-0.2.0.gem (100%)
|
37
|
-
Fetching: bake-toolkit-1.0.2.gem (100%)
|
38
|
-
Successfully installed highline-1.6.15
|
39
|
-
Successfully installed colored-1.2
|
40
|
-
Successfully installed progressbar-0.11.0
|
41
|
-
Successfully installed rgen-0.6.0
|
42
|
-
Successfully installed rtext-0.2.0
|
43
|
-
Successfully installed bake-toolkit-1.0.2
|
44
|
-
7 gems installed
|
45
|
-
Installing ri documentation for highline-1.6.15...
|
46
|
-
Installing ri documentation for colored-1.2...
|
47
|
-
Installing ri documentation for progressbar-0.11.0...
|
48
|
-
Installing ri documentation for rgen-0.6.0...
|
49
|
-
Installing ri documentation for rtext-0.2.0...
|
50
|
-
Installing ri documentation for bake-toolkit-1.0.2...
|
51
|
-
Installing RDoc documentation for highline-1.6.15...
|
52
|
-
Installing RDoc documentation for colored-1.2...
|
53
|
-
Installing RDoc documentation for progressbar-0.11.0...
|
54
|
-
Installing RDoc documentation for rgen-0.6.0...
|
55
|
-
Installing RDoc documentation for rtext-0.2.0...
|
56
|
-
Installing RDoc documentation for bake-toolkit-1.0.2...
|
57
|
-
|
58
|
-
|
59
|
-
Known Issues
|
60
|
-
************
|
61
|
-
|
62
|
-
The installation does not start
|
63
|
-
-------------------------------
|
64
|
-
**Issue:**
|
65
|
-
The installation of the bake gem does not start.
|
66
|
-
(This is often caused by a password protected internat proxy.)
|
67
|
-
|
68
|
-
|
69
|
-
**Solution:**
|
70
|
-
|
71
|
-
* Check your network connection.
|
72
|
-
* Unlock the password protected proxy by opening an external webpage (e.g. `google <https://www.google.com>`_) using your web browser.
|
73
|
-
|
74
|
-
|
75
|
-
Invalid Language Settings
|
76
|
-
-------------------------
|
77
|
-
*Issue:**
|
78
|
-
The error parsers in bake assume English language.
|
79
|
-
|
80
|
-
**Solution:**
|
81
|
-
|
82
|
-
Adjust your language settings e.g by setting the environment variable **LC_ALL**.
|
83
|
-
|
84
|
-
Example:
|
85
|
-
|
86
|
-
.. code-block:: console
|
87
|
-
|
88
|
-
LC_ALL=en_US
|
89
|
-
|
90
|
-
.. note::
|
91
|
-
|
92
|
-
Depending on the system and the compiler the way how to change the language might be different.
|
93
|
-
|
94
|
-
Error Message During the installation
|
95
|
-
-------------------------------------
|
96
|
-
**Issue:**
|
97
|
-
Ruby throws an error during the installation.
|
98
|
-
|
99
|
-
**Solution:**
|
100
|
-
Usualy you will see an error like this:
|
101
|
-
|
102
|
-
.. code-block:: console
|
103
|
-
|
104
|
-
ERROR: While generating documentation for ...
|
105
|
-
... MESSAGE: Error while evaluating ...
|
106
|
-
undefined method `gsub' for nil:NilClass ...
|
107
|
-
|
108
|
-
This is a ruby bug. However, the gems were installed correctly. You can avoid building the documentation by installing bake like this:
|
109
|
-
|
110
|
-
.. code-block:: console
|
111
|
-
|
112
|
-
User@Host:~$ gem install bake-toolkit --no-rdoc --no-ri
|
@@ -1,50 +0,0 @@
|
|
1
|
-
Internal developing notes
|
2
|
-
*************************
|
3
|
-
|
4
|
-
Socket
|
5
|
-
======
|
6
|
-
|
7
|
-
If command line option --socket is used, bake tries to connect to the given port on localhost.
|
8
|
-
|
9
|
-
send
|
10
|
-
----
|
11
|
-
|
12
|
-
Header
|
13
|
-
^^^^^^
|
14
|
-
|
15
|
-
.. code-block:: console
|
16
|
-
|
17
|
-
1 Byte: Type
|
18
|
-
4 Byte: Length (used to discard the paket if type is unknown to the listening application)
|
19
|
-
|
20
|
-
Error packet (type 0x01)
|
21
|
-
^^^^^^^^^^^^^^^^^^^^^^^^
|
22
|
-
|
23
|
-
.. code-block:: console
|
24
|
-
|
25
|
-
4 Byte: Length filename, project name
|
26
|
-
x Byte: filename, project name
|
27
|
-
4 Byte: line number (can be 0)
|
28
|
-
1 Byte: severity (0x00 = info, 0x01 = warning, 0x02 = error, 0xFF = ok)
|
29
|
-
x Byte: message (length = rest of packet)
|
30
|
-
|
31
|
-
Starting build packet (type 0x0A)
|
32
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
33
|
-
|
34
|
-
.. code-block:: console
|
35
|
-
|
36
|
-
4 Byte: Length project name
|
37
|
-
x Byte: project name
|
38
|
-
4 Byte: Length config name
|
39
|
-
x Byte: config name
|
40
|
-
4 Byte: number of projects in this build (greater than 0)
|
41
|
-
|
42
|
-
Building project packet
|
43
|
-
^^^^^^^^^^^^^^^^^^^^^^^
|
44
|
-
|
45
|
-
Same as Starting build packet, except number of projects = 0
|
46
|
-
|
47
|
-
receive
|
48
|
-
-------
|
49
|
-
|
50
|
-
If a byte is received, the build will be aborted.
|
@@ -1,7 +0,0 @@
|
|
1
|
-
Known Issues
|
2
|
-
============
|
3
|
-
|
4
|
-
* Issue: If an archive or executable has been built successfully and one source file will be deleted without changing anything else, bake will leave the archive/executable unchanged when rebuilding.
|
5
|
-
* Workaround 1: Clean the project.
|
6
|
-
* Workaround 2: Delete the archive/executable manually.
|
7
|
-
* Workaround 3: Touch, edit, create another source file.
|
@@ -1,104 +0,0 @@
|
|
1
|
-
Performance
|
2
|
-
===========
|
3
|
-
|
4
|
-
Eclipse vs. bake
|
5
|
-
****************
|
6
|
-
|
7
|
-
Test Environement
|
8
|
-
-----------------
|
9
|
-
===================== ============== ================================================================
|
10
|
-
Test-System *CPU:* Intel Xeon W3520 (4x 2.67 GHz)
|
11
|
-
|
12
|
-
*RAM:* 4 GB
|
13
|
-
|
14
|
-
*OS :* Windows XP
|
15
|
-
|
16
|
-
*HDD:* Raid
|
17
|
-
|
18
|
-
Test-Application ~200 projects
|
19
|
-
--------------------- ---------------------------------------------------------------------------------
|
20
|
-
Ruby-Version ruby 1.9.2
|
21
|
-
--------------------- ---------------------------------------------------------------------------------
|
22
|
-
Tests-Runs 30
|
23
|
-
===================== ============== ================================================================
|
24
|
-
|
25
|
-
Test Results
|
26
|
-
------------
|
27
|
-
|
28
|
-
================================= ================================= =====================================
|
29
|
-
Test Eclipse 3.6.1, CDT 6 bake
|
30
|
-
================================= ================================= =====================================
|
31
|
-
Build whole workspace 13:01 min 7:19 min
|
32
|
-
|
33
|
-
Rebuild without clean 3:05 min 0:50 min
|
34
|
-
|
35
|
-
Clean whole workspace 0:41 min 0:08 min
|
36
|
-
|
37
|
-
Clean the cleaned workspace 0:35 min 0:02 min
|
38
|
-
================================= ================================= =====================================
|
39
|
-
|
40
|
-
.. note::
|
41
|
-
For the build `Eclipse` needs additional `300 MB of RAM`, in contrast `bake` takes up `35 MB` of RAM at it's peak.
|
42
|
-
|
43
|
-
CMake with Unix makefiles vs. bake
|
44
|
-
**********************************
|
45
|
-
|
46
|
-
Test Environement
|
47
|
-
-----------------
|
48
|
-
===================== ============== ================================================================
|
49
|
-
Test-System *CPU:* Intel Xeon W3520 (4x 2.67 GHz)
|
50
|
-
|
51
|
-
*RAM:* 4 GB
|
52
|
-
|
53
|
-
*OS :* Windows XP
|
54
|
-
|
55
|
-
*HDD:* Raid
|
56
|
-
|
57
|
-
Test-Application ~100 projects
|
58
|
-
--------------------- ---------------------------------------------------------------------------------
|
59
|
-
Ruby-Version \-
|
60
|
-
--------------------- ---------------------------------------------------------------------------------
|
61
|
-
Tests-Runs \-
|
62
|
-
===================== ============== ================================================================
|
63
|
-
|
64
|
-
Test Results
|
65
|
-
------------
|
66
|
-
|
67
|
-
* Build whole workspace: bake is `~10%` faster
|
68
|
-
* Build again without clean: bake is `~50%` faster
|
69
|
-
* Clean whole workspace: bake is `~80%` faster
|
70
|
-
|
71
|
-
|
72
|
-
Performance using different rubies
|
73
|
-
**********************************
|
74
|
-
|
75
|
-
Test Environement
|
76
|
-
-----------------
|
77
|
-
===================== ============== ================================================================
|
78
|
-
Test-System *CPU:* Intel Xeon W3520 (4x 2.67 GHz)
|
79
|
-
|
80
|
-
*RAM:* 4 GB
|
81
|
-
|
82
|
-
*OS :* Windows XP
|
83
|
-
|
84
|
-
*HDD:* Raid
|
85
|
-
|
86
|
-
Test-Application ~200 projects
|
87
|
-
--------------------- ---------------------------------------------------------------------------------
|
88
|
-
Tests-Runs 30
|
89
|
-
===================== ============== ================================================================
|
90
|
-
|
91
|
-
Test Results
|
92
|
-
------------
|
93
|
-
|
94
|
-
===================== ================== ================== ================== ==================
|
95
|
-
\ ruby 1.8.6p398 ruby 1.8.7p352 ruby 1.9.2p180 ruby 1.9.3p0
|
96
|
-
===================== ================== ================== ================== ==================
|
97
|
-
Build whole workspace 13:58 min 8:07 min 7:19 min 7:28 min
|
98
|
-
|
99
|
-
Build single file 1,20 sec 1,87 sec 2,38 sec 1,29 sec
|
100
|
-
===================== ================== ================== ================== ==================
|
101
|
-
|
102
|
-
.. note::
|
103
|
-
* ruby 1.8.6 uses only ONE native thread for multiple ruby threads.
|
104
|
-
* ruby 1.9.2 for Windows needs very long to startup for complex applications, which is fixed in 1.9.3
|
@@ -1,70 +0,0 @@
|
|
1
|
-
Quickstart
|
2
|
-
==========
|
3
|
-
|
4
|
-
#. Create a project directory.
|
5
|
-
.. code-block:: console
|
6
|
-
|
7
|
-
User@Host:~$ mkdir my_project
|
8
|
-
|
9
|
-
|
10
|
-
#. Switch to the project directory.
|
11
|
-
.. code-block:: console
|
12
|
-
|
13
|
-
User@Host:~$ cd my_project
|
14
|
-
|
15
|
-
|
16
|
-
#. Use the bake --create option to auto generate a basic project.
|
17
|
-
.. code-block:: console
|
18
|
-
|
19
|
-
User@Host:~/my_project$ bake --create exe
|
20
|
-
-- bake 2.10.3, ruby 2.1.2p95, platform x86_64-darwin13.0 --
|
21
|
-
Project created.
|
22
|
-
|
23
|
-
Time: 00:00 minutes
|
24
|
-
|
25
|
-
This will provide you with the follwing basic project structure which is ready to use
|
26
|
-
|
27
|
-
.. code-block:: console
|
28
|
-
|
29
|
-
my_project
|
30
|
-
|
|
31
|
-
|-- Project.meta
|
32
|
-
|-- include
|
33
|
-
`-- src
|
34
|
-
`-- main.cpp
|
35
|
-
|
36
|
-
|
37
|
-
#. Build the project.
|
38
|
-
.. code-block:: console
|
39
|
-
|
40
|
-
User@Host:~/my_project$ bake
|
41
|
-
-- bake 2.10.3, ruby 2.1.2p95, platform x86_64-darwin13.0 --
|
42
|
-
Info: cache not found, reloading meta information
|
43
|
-
Loading /Users/NiCoretti/my_project/Project.meta
|
44
|
-
**** Building 1 of 1: my_project (main) ****
|
45
|
-
Compiling src/main.cpp
|
46
|
-
Linking build/main/my_project.exe
|
47
|
-
|
48
|
-
Building done.
|
49
|
-
|
50
|
-
Time: 00:00 minutes
|
51
|
-
|
52
|
-
If you want a more detailed and colored output use the following command:
|
53
|
-
|
54
|
-
.. code-block:: console
|
55
|
-
|
56
|
-
User@Host:~/my_project$ bake -v2 -a black
|
57
|
-
-- bake 2.10.3, ruby 2.1.2p95, platform x86_64-darwin13.0 --
|
58
|
-
**** Building 1 of 1: my_project (main) ****
|
59
|
-
|
60
|
-
g++ -c -MD -MF build/main/src/main.d -Iinclude -o build/main/src/main.o src/main.cpp
|
61
|
-
|
62
|
-
g++ -o build/main/my_project.exe build/main/src/main.o
|
63
|
-
|
64
|
-
Building done.
|
65
|
-
|
66
|
-
Time: 00:00 minutes
|
67
|
-
|
68
|
-
.. note::
|
69
|
-
The default main.cpp which is created by bake does nothing except returning the exit code 0.
|
70
|
-
|
@@ -1,254 +0,0 @@
|
|
1
|
-
.. _adapt_reference:
|
2
|
-
|
3
|
-
Adapt configs
|
4
|
-
=============
|
5
|
-
|
6
|
-
Introduction
|
7
|
-
------------
|
8
|
-
|
9
|
-
There are two major use cases:
|
10
|
-
|
11
|
-
- Changing the configs from outside, e.g. injecting a toolchain.
|
12
|
-
- Changing the configs depending on variables like the operating system.
|
13
|
-
|
14
|
-
Both is possible with the *Adapt* feature.
|
15
|
-
|
16
|
-
From command line
|
17
|
-
-----------------
|
18
|
-
|
19
|
-
If you want to manipulate existing configs without changing them, you can "adapt" them via command line.
|
20
|
-
|
21
|
-
.. code-block:: console
|
22
|
-
|
23
|
-
User@Host:~$ bake test --adapt abc
|
24
|
-
|
25
|
-
bake searches for abc/Adapt.meta within the workspace roots. If found, the configs from the Adapt.meta are parsed:
|
26
|
-
|
27
|
-
.. code-block:: text
|
28
|
-
|
29
|
-
Adapt {
|
30
|
-
ExecutableConfig ... # 0..n
|
31
|
-
LibraryConfig ... # 0..n
|
32
|
-
CustomConfig ... # 0..n
|
33
|
-
}
|
34
|
-
|
35
|
-
Here is an example to change the DefaultToolchain (details explained below):
|
36
|
-
|
37
|
-
.. code-block:: text
|
38
|
-
|
39
|
-
Adapt {
|
40
|
-
ExecutableConfig test, project: __MAIN__, type: replace {
|
41
|
-
DefaultToolchain GCC
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
From Project.meta
|
46
|
-
-----------------
|
47
|
-
|
48
|
-
You can do the same within the Project.meta:
|
49
|
-
|
50
|
-
.. code-block:: text
|
51
|
-
|
52
|
-
Project {
|
53
|
-
...
|
54
|
-
}
|
55
|
-
Adapt {
|
56
|
-
...
|
57
|
-
}
|
58
|
-
Adapt {
|
59
|
-
...
|
60
|
-
}
|
61
|
-
|
62
|
-
Conditions and effectiveness
|
63
|
-
----------------------------
|
64
|
-
|
65
|
-
Be aware, these are two different things but look very similar.
|
66
|
-
|
67
|
-
Condition
|
68
|
-
~~~~~~~~~
|
69
|
-
|
70
|
-
An *Adapt* can have up to four attributes:
|
71
|
-
|
72
|
-
- **toolchain**: e.g. GCC
|
73
|
-
- **os**: can be Windows, Mac, Linux, Unix (which is != Linux)
|
74
|
-
- **mainConfig**: name of the main config
|
75
|
-
- **mainProject**: name of the main project
|
76
|
-
|
77
|
-
The "Adapt* configs will be only applied if all these attributes are either empty or true. Example:
|
78
|
-
|
79
|
-
.. code-block:: text
|
80
|
-
|
81
|
-
Adapt toolchain: GCC, os: Windows {
|
82
|
-
...
|
83
|
-
}
|
84
|
-
|
85
|
-
Here the *Adapt* configs will be applied if toolchain is GCC on Windows.
|
86
|
-
|
87
|
-
Effectiveness
|
88
|
-
~~~~~~~~~~~~~
|
89
|
-
|
90
|
-
The *Adapt* configs can be applied to all configs from regular build. This can be controlled by the config names and the project attributes.
|
91
|
-
Remember the example from the beginning?
|
92
|
-
|
93
|
-
.. code-block:: text
|
94
|
-
|
95
|
-
Adapt {
|
96
|
-
ExecutableConfig test, project: __MAIN__, type: replace {
|
97
|
-
DefaultToolchain GCC
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
This config is applied only to the config "test" of the main project.
|
102
|
-
|
103
|
-
__MAIN__, __ALL__ and __THIS__ are keywords:
|
104
|
-
|
105
|
-
- **__MAIN__** means the main project or main config
|
106
|
-
- **__ALL__** means all projects or configs
|
107
|
-
- **__THIS__** is only valid for project name, which can be used for *Adapts* within a Project.meta to restrict the adaption to the current project.
|
108
|
-
|
109
|
-
If you want to apply the changes only to the top level config, write:
|
110
|
-
|
111
|
-
.. code-block:: text
|
112
|
-
|
113
|
-
ExecutableConfig __MAIN__, project: __MAIN__, ...
|
114
|
-
|
115
|
-
If you want to apply the changes to all configs, write:
|
116
|
-
|
117
|
-
.. code-block:: text
|
118
|
-
|
119
|
-
ExecutableConfig __ALL__, project: __ALL__, ...
|
120
|
-
|
121
|
-
It is possible to mix the keywords with reals project or config names.
|
122
|
-
|
123
|
-
Occurrences
|
124
|
-
-----------
|
125
|
-
|
126
|
-
You can specify more configs in one *Adapt* and you can specify more than one Adapt.meta file:
|
127
|
-
|
128
|
-
.. code-block:: text
|
129
|
-
|
130
|
-
Adapt {
|
131
|
-
ExecutableConfig ..., project: ..., type: ... {
|
132
|
-
...
|
133
|
-
}
|
134
|
-
ExecutableConfig ..., project: ..., type: ... {
|
135
|
-
...
|
136
|
-
}
|
137
|
-
LibraryConfig ..., project: ..., type: ... {
|
138
|
-
...
|
139
|
-
}
|
140
|
-
...
|
141
|
-
}
|
142
|
-
|
143
|
-
.. code-block:: console
|
144
|
-
|
145
|
-
User@Host:~$ bake test --adapt abc --adapt xy
|
146
|
-
|
147
|
-
Apply order
|
148
|
-
-----------
|
149
|
-
|
150
|
-
The *Adapt* configs will be applied in the order in which they were parsed. First the Adapt.metas referenced from the command line are read. Then the Project.metas are read
|
151
|
-
one by one as usual. If an *Adapt* is found, it will be appended to the list of *Adapts*. Note, *Adapts* will be applied immediately when a Project.meta is read.
|
152
|
-
|
153
|
-
If you inject a Toolchain from outside, e.g. "--adapt gcc", you can use the toolchain info for local *Adapts*:
|
154
|
-
|
155
|
-
.. code-block:: text
|
156
|
-
|
157
|
-
Project {
|
158
|
-
...
|
159
|
-
}
|
160
|
-
Adapt toolchain: GCC {
|
161
|
-
...
|
162
|
-
}
|
163
|
-
|
164
|
-
Types
|
165
|
-
-----
|
166
|
-
|
167
|
-
It is possible to specify the type of adaption:
|
168
|
-
|
169
|
-
.. code-block:: text
|
170
|
-
|
171
|
-
ExecutableConfig ..., type: replace
|
172
|
-
|
173
|
-
The type can be
|
174
|
-
|
175
|
-
- **replace**
|
176
|
-
- **remove**
|
177
|
-
- **extend**
|
178
|
-
|
179
|
-
Type: extend
|
180
|
-
~~~~~~~~~~~~
|
181
|
-
|
182
|
-
This works exactly like for :doc:`derive_configs`.
|
183
|
-
|
184
|
-
Type: remove
|
185
|
-
~~~~~~~~~~~~
|
186
|
-
|
187
|
-
If parent elements can be found which matches to the child elements, they will be removed.
|
188
|
-
|
189
|
-
Example project config:
|
190
|
-
|
191
|
-
.. code-block:: text
|
192
|
-
|
193
|
-
ExecutableConfig test {
|
194
|
-
DefaultToolchain GCC
|
195
|
-
}
|
196
|
-
|
197
|
-
Example *Adapt* configs:
|
198
|
-
|
199
|
-
.. code-block:: text
|
200
|
-
|
201
|
-
ExecutableConfig __ALL__, project: __ALL__, type: remove {
|
202
|
-
DefaultToolchain # remove ok
|
203
|
-
}
|
204
|
-
|
205
|
-
ExecutableConfig __ALL__, project: __ALL__, type: remove {
|
206
|
-
DefaultToolchain GCC # remove ok
|
207
|
-
}
|
208
|
-
|
209
|
-
ExecutableConfig __ALL__, project: __ALL__, type: remove {
|
210
|
-
DefaultToolchain Diab # remove NOT ok
|
211
|
-
}
|
212
|
-
|
213
|
-
ExecutableConfig __ALL__, project: __ALL__, type: remove {
|
214
|
-
DefaultToolchain GCC, eclipseOrder: true # remove NOT ok
|
215
|
-
}
|
216
|
-
|
217
|
-
Type: replace
|
218
|
-
~~~~~~~~~~~~~
|
219
|
-
|
220
|
-
This is for convenience. "replace" will remove all elements with the same type and extends the configs.
|
221
|
-
|
222
|
-
Example:
|
223
|
-
|
224
|
-
.. code-block:: text
|
225
|
-
|
226
|
-
ExecutableConfig __ALL__, project: __ALL__, type: replace {
|
227
|
-
Files "*.cpp"
|
228
|
-
DefaultToolchain GCC {
|
229
|
-
Linker command: "link.exe"
|
230
|
-
}
|
231
|
-
}
|
232
|
-
|
233
|
-
This removes all "Files" and the "DefaultToolchain" from the original config regardless their attributes and replaces them by the elements of the *Adapt* config.
|
234
|
-
|
235
|
-
Wildcards
|
236
|
-
---------
|
237
|
-
|
238
|
-
The "*" wildcard is allowed:
|
239
|
-
|
240
|
-
.. code-block:: text
|
241
|
-
|
242
|
-
Adapt mainProject: HERE, mainConfig: HERE ... {
|
243
|
-
SomeConfig HERE, project: HERE ... {
|
244
|
-
....
|
245
|
-
}
|
246
|
-
}
|
247
|
-
|
248
|
-
Example (the configs of the Adapt are applied if the main config name starts with "UnitTest"):
|
249
|
-
|
250
|
-
.. code-block:: text
|
251
|
-
|
252
|
-
Adapt mainConfig: "UnitTest*" {
|
253
|
-
...
|
254
|
-
}
|