bake-toolkit 2.11.2 → 2.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/documentation/_build/html/_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/hier.png +0 -0
- data/documentation/_build/html/_images/keys.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/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 +314 -0
- data/documentation/_build/html/_sources/commandline/commandline.txt +107 -0
- data/documentation/_build/html/_sources/concepts/build_hierarchy.txt +34 -0
- data/documentation/_build/html/_sources/concepts/concepts.txt +11 -0
- data/documentation/_build/html/_sources/concepts/the_main_project.txt +45 -0
- data/documentation/_build/html/_sources/concepts/the_project_meta_file.txt +72 -0
- data/documentation/_build/html/_sources/ide/eclipse/eclipse.txt +24 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_convert_existing_cdt_workspace.txt +31 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_new_project_in_eclipse.txt +18 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_workspace_in_eclipse.txt +27 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_install_eclipse_plugin.txt +44 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_use_bake_in_eclipse.txt +86 -0
- data/documentation/_build/html/_sources/ide/ide_integrations.txt +8 -0
- data/documentation/_build/html/_sources/ide/vs/how_to_create_vs_projects.txt +15 -0
- data/documentation/_build/html/_sources/ide/vs/how_to_debug_in_vs.txt +35 -0
- data/documentation/_build/html/_sources/ide/vs/how_to_used_bake_in_vs.txt +35 -0
- data/documentation/_build/html/_sources/ide/vs/vs.txt +10 -0
- data/documentation/_build/html/_sources/ide/vs/vs_install.txt +43 -0
- data/documentation/_build/html/_sources/index.txt +34 -0
- data/documentation/_build/html/_sources/install/install_bake.txt +112 -0
- data/documentation/_build/html/_sources/internal.txt +50 -0
- data/documentation/_build/html/_sources/known_issues.txt +9 -0
- data/documentation/_build/html/_sources/license.txt +4 -0
- data/documentation/_build/html/_sources/performance/performance.txt +104 -0
- data/documentation/_build/html/_sources/quickstart/quickstart.txt +70 -0
- data/documentation/_build/html/_sources/syntax/derive_configs.txt +93 -0
- data/documentation/_build/html/_sources/syntax/project_meta_syntax.txt +19 -0
- data/documentation/_build/html/_sources/syntax/syntax.txt +10 -0
- data/documentation/_build/html/_sources/syntax/variable_substitutions.txt +175 -0
- data/documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt +49 -0
- data/documentation/_build/html/_sources/tips_and_tricks/static_code_analysis.txt +122 -0
- data/documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt +66 -0
- data/documentation/_build/html/_sources/tips_and_tricks/the_clang.txt +43 -0
- data/documentation/_build/html/_sources/tips_and_tricks/tips_and_tricks.txt +33 -0
- data/documentation/_build/html/_sources/why_bake/why_bake.txt +40 -0
- 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 +8 -0
- data/documentation/_build/html/_static/Licenses.png +0 -0
- data/documentation/_build/html/_static/Main.meta +26 -0
- data/documentation/_build/html/_static/New.png +0 -0
- data/documentation/_build/html/_static/PMetaMain.meta +15 -0
- data/documentation/_build/html/_static/PMetaSub.meta +15 -0
- 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 +599 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.css +1109 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.min.css +9 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.css +6167 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.min.css +9 -0
- 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 +2287 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.min.js +6 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css +476 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css.map +1 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.min.css +5 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css +6584 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css.map +1 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.min.css +5 -0
- 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 +288 -0
- 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 +2317 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.min.js +7 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/npm.js +13 -0
- data/documentation/_build/html/_static/bootstrap-sphinx.css +186 -0
- data/documentation/_build/html/_static/bootstrap-sphinx.js +162 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/amelia/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/cerulean/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/cosmo/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/cyborg/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/flatly/bootstrap.min.css +9 -0
- 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 +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/readable/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/simplex/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/slate/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/spacelab/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/spruce/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/superhero/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/united/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/cerulean/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/cosmo/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/custom/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/cyborg/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/darkly/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/flatly/bootstrap.min.css +7 -0
- 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 +288 -0
- 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 +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/lumen/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/paper/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/readable/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/sandstone/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/simplex/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/slate/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/spacelab/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/superhero/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/united/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/yeti/bootstrap.min.css +7 -0
- 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/doctools.js +263 -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/file.png +0 -0
- data/documentation/_build/html/_static/hier.png +0 -0
- data/documentation/_build/html/_static/jquery-1.11.1.js +10308 -0
- data/documentation/_build/html/_static/jquery.js +4 -0
- data/documentation/_build/html/_static/js/jquery-1.11.0.min.js +4 -0
- data/documentation/_build/html/_static/js/jquery-fix.js +2 -0
- data/documentation/_build/html/_static/keys.png +0 -0
- data/documentation/_build/html/_static/minus.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 +63 -0
- data/documentation/_build/html/_static/searchtools.js +622 -0
- data/documentation/_build/html/_static/syntax.html +704 -0
- data/documentation/_build/html/_static/syntax_collection_meta.html +179 -0
- data/documentation/_build/html/_static/underscore-1.3.1.js +999 -0
- data/documentation/_build/html/_static/underscore.js +31 -0
- data/documentation/_build/html/_static/up-pressed.png +0 -0
- data/documentation/_build/html/_static/up.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 +808 -0
- data/documentation/_build/html/changelog.html +735 -0
- data/documentation/_build/html/commandline/commandline.html +284 -0
- data/documentation/_build/html/concepts/build_hierarchy.html +204 -0
- data/documentation/_build/html/concepts/concepts.html +181 -0
- data/documentation/_build/html/concepts/the_main_project.html +260 -0
- data/documentation/_build/html/concepts/the_project_meta_file.html +288 -0
- data/documentation/_build/html/genindex.html +152 -0
- data/documentation/_build/html/ide/eclipse/eclipse.html +185 -0
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +208 -0
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +191 -0
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +198 -0
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +196 -0
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +256 -0
- data/documentation/_build/html/ide/ide_integrations.html +182 -0
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +171 -0
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +185 -0
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +190 -0
- data/documentation/_build/html/ide/vs/vs.html +170 -0
- data/documentation/_build/html/ide/vs/vs_install.html +202 -0
- data/documentation/_build/html/index.html +238 -0
- data/documentation/_build/html/install/install_bake.html +279 -0
- data/documentation/_build/html/internal.html +217 -0
- data/documentation/_build/html/known_issues.html +175 -0
- data/documentation/_build/html/license.html +236 -0
- data/documentation/_build/html/objects.inv +0 -0
- data/documentation/_build/html/performance/performance.html +373 -0
- data/documentation/_build/html/quickstart/quickstart.html +236 -0
- data/documentation/_build/html/search.html +174 -0
- data/documentation/_build/html/searchindex.js +1 -0
- data/documentation/_build/html/syntax/derive_configs.html +295 -0
- data/documentation/_build/html/syntax/project_meta_syntax.html +884 -0
- data/documentation/_build/html/syntax/syntax.html +181 -0
- data/documentation/_build/html/syntax/variable_substitutions.html +378 -0
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +203 -0
- data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +284 -0
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +401 -0
- data/documentation/_build/html/tips_and_tricks/the_clang.html +201 -0
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +196 -0
- data/documentation/_build/html/why_bake/why_bake.html +241 -0
- data/lib/blocks/executable.rb +1 -1
- data/lib/common/version.rb +1 -1
- metadata +244 -2
@@ -0,0 +1,66 @@
|
|
1
|
+
The Bakery
|
2
|
+
==========
|
3
|
+
|
4
|
+
What is the Bakery
|
5
|
+
******************
|
6
|
+
bakery is part of the bake-toolkit distribution and it is used to build several independent projects at once.
|
7
|
+
It's very useful for e.g. compiling and running all unit tests.
|
8
|
+
The collections are specified in Collection.meta files.
|
9
|
+
|
10
|
+
How to use the Bakery on the commandline
|
11
|
+
****************************************
|
12
|
+
Call *bakery -h* to display the command line options.
|
13
|
+
The most important options are the collection name (*-b*) and the collection directory (*-m*, default is current directory).
|
14
|
+
|
15
|
+
Examples:
|
16
|
+
|
17
|
+
Build all unittests:
|
18
|
+
|
19
|
+
.. code-block:: console
|
20
|
+
|
21
|
+
bakery -b AllUnitTests
|
22
|
+
|
23
|
+
Clean all unittests:
|
24
|
+
|
25
|
+
.. code-block:: console
|
26
|
+
|
27
|
+
bakery -b AllUnitTests -c
|
28
|
+
|
29
|
+
Build all unittests, workspace checked out into two roots, console supports colors, stop on first error, run the unittests after build:
|
30
|
+
|
31
|
+
.. code-block:: console
|
32
|
+
|
33
|
+
bakery -b AllUnitTests -m w:/root1/mainProj -w w:/root2 -r -a black --include_filter run
|
34
|
+
|
35
|
+
|
36
|
+
Syntax of Collection.meta
|
37
|
+
*************************
|
38
|
+
Move the mouse cursor over the blue elements to display more information.
|
39
|
+
|
40
|
+
.. raw:: html
|
41
|
+
:file: ../_static/syntax_collection_meta.html
|
42
|
+
|
43
|
+
.. note::
|
44
|
+
|
45
|
+
* Use double quotes (") if the strings have wildcards
|
46
|
+
* Use hash marks (#) for comments.
|
47
|
+
|
48
|
+
Example:
|
49
|
+
|
50
|
+
.. code-block:: text
|
51
|
+
|
52
|
+
Collection AllUnitTests {
|
53
|
+
Project "*", config: UnitTest
|
54
|
+
}
|
55
|
+
Collection UnitTestLibsWithoutBsp {
|
56
|
+
Project "*", config: "UnitTestLib*"
|
57
|
+
Exclude "bsp*", config: "*"
|
58
|
+
}
|
59
|
+
Collection MySpecialCollection {
|
60
|
+
Project Main1, config: Debug
|
61
|
+
Project Main2, config: Release
|
62
|
+
Project Sub3, config: Debug
|
63
|
+
SubCollection UnitTestLibsWithoutBsp
|
64
|
+
}
|
65
|
+
|
66
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
Clang Analyze
|
2
|
+
*************
|
3
|
+
|
4
|
+
bake can be easily used to analyze source files with Clang. It works simliar to regular compiling, but instead of
|
5
|
+
invoking the compiler, the Clang Analyzer will be called.
|
6
|
+
|
7
|
+
Imagine you have a workspace with the following "main" project:
|
8
|
+
|
9
|
+
.. code-block:: console
|
10
|
+
|
11
|
+
Project {
|
12
|
+
...
|
13
|
+
ExecutableConfig Debug {
|
14
|
+
...
|
15
|
+
DefaultToolchain GCC
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
Either edit this Project.meta or create a new "analyze" project:
|
20
|
+
|
21
|
+
.. code-block:: console
|
22
|
+
|
23
|
+
Project {
|
24
|
+
CustomConfig Analyze {
|
25
|
+
Dependency main, config: Debug
|
26
|
+
DefaultToolchain CLANG_ANALYZE {
|
27
|
+
Compiler CPP {
|
28
|
+
Flags "-analyzer-checker=deadcode,security,alpha,unix,cplusplus"
|
29
|
+
}
|
30
|
+
Compiler C {
|
31
|
+
Flags "-analyzer-checker=deadcode,security,alpha,unix"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
As you can see the DefaultToolchain GCC is replaced with CLANG_ANALYZE. Call bake like this:
|
38
|
+
|
39
|
+
.. code-block:: console
|
40
|
+
|
41
|
+
bake Analyze -f .
|
42
|
+
|
43
|
+
"-f" means that only the compilation step will take place. The "." means files with a "." in the name will be compiled (= all files). If you want to analyze only C++ files, you can write "-f .cpp"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
Tips and Tricks
|
2
|
+
===============
|
3
|
+
|
4
|
+
.. toctree::
|
5
|
+
:maxdepth: 1
|
6
|
+
|
7
|
+
the_bakery
|
8
|
+
static_code_analysis
|
9
|
+
how_to_use_bake_with_cygwin
|
10
|
+
the_clang
|
11
|
+
|
12
|
+
|
13
|
+
Unnecessary includes
|
14
|
+
********************
|
15
|
+
|
16
|
+
If a library or executable is successfully build with "-v", unnecessary includes are printed out:
|
17
|
+
|
18
|
+
.. code-block:: console
|
19
|
+
|
20
|
+
Info: Include to ../sub1/include/ seems to be unnecessary
|
21
|
+
Info: Include to ../sub2/include/ seems to be unnecessary
|
22
|
+
|
23
|
+
This features depends on the compiler dependency files. For projects with assembler files, the list might be incorrect.
|
24
|
+
However, remove the IncludeDir statements from the Project.meta and check it out.
|
25
|
+
|
26
|
+
Symlinks and junctions
|
27
|
+
**********************
|
28
|
+
|
29
|
+
It is possible to use symlinks (Linux) or junctions (Windows) when working with git. Best practice:
|
30
|
+
* Link all used projects into _one_ directory (e.g. from application repository and basis software repository).
|
31
|
+
* Use this directory when working with bake, Eclipse, etc.
|
32
|
+
* Specify "-w <absolute_path_to_working_dir>.
|
33
|
+
* To sync/commit from/to svn, use the original directories created by git.
|
@@ -0,0 +1,40 @@
|
|
1
|
+
Why you should use bake
|
2
|
+
========================
|
3
|
+
|
4
|
+
Whether you should use bake is entirely up to you,
|
5
|
+
just take 2 minutes and have a look at our design goals and see if they fit what you are looking for.
|
6
|
+
|
7
|
+
bake desgin goals
|
8
|
+
******************
|
9
|
+
|
10
|
+
================================================================= ===============================================================================================
|
11
|
+
Goal Reasoning
|
12
|
+
================================================================= ===============================================================================================
|
13
|
+
* It must be only a built tool We want to focus your energy in providing a good and fast build tool.
|
14
|
+
|
15
|
+
* It must be a command line tool Sticking to the unix and single purpose phisolophy, we think proving a command line tool
|
16
|
+
is the easiest way to be easily used and integrated with other tools. **IDE independence!**
|
17
|
+
|
18
|
+
* It must be easy to configure We want the developer to be able to focus on coding and testing not on reading and searching
|
19
|
+
hours through the build tool documentation.
|
20
|
+
**A build tool should be easy to use and not hard to maintain!**
|
21
|
+
|
22
|
+
* The configuration must not be a meta language We want our configurations to be WYSIWYG (What You See Is What You Get).
|
23
|
+
We don't want developers to spent hours in searching for a configuration error
|
24
|
+
where are multiple other config and script generation steps are in beteween.
|
25
|
+
|
26
|
+
* It must be easy to understand configurations of large project In large projects build configurations usually get pretty complex and big, therefore
|
27
|
+
generally just a few people understand the build process. This makes the maintance
|
28
|
+
dependend on those people. This is a single point of failure and
|
29
|
+
it should be avoided in our opinion.
|
30
|
+
|
31
|
+
* It must be fast We personaly aren't fans waiting for the built, we rather build, test and then do a kicker
|
32
|
+
break!
|
33
|
+
|
34
|
+
* It should be lightweight Lightweight here means, less depencies because depencies can hinder people to get their
|
35
|
+
setup up and running.
|
36
|
+
|
37
|
+
* It must be easy to use different versions of the build tool Sometimes it is necessary to break compatability to embrace progress, even though
|
38
|
+
it should be easy to switch between different version of the tool.
|
39
|
+
================================================================= ===============================================================================================
|
40
|
+
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,26 @@
|
|
1
|
+
Project {
|
2
|
+
|
3
|
+
ExecutableConfig Debug {
|
4
|
+
Dependency Sub, config: Lib
|
5
|
+
Files "**/*.cpp"
|
6
|
+
IncludeDir "include"
|
7
|
+
DefaultToolchain GCC {
|
8
|
+
Compiler CPP {
|
9
|
+
Flags "... whatever -debug_info"
|
10
|
+
Define "DEBUG"
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
ExecutableConfig Release {
|
16
|
+
Dependency Sub, config: Lib
|
17
|
+
Files "**/*.cpp"
|
18
|
+
IncludeDir "include"
|
19
|
+
DefaultToolchain GCC {
|
20
|
+
Compiler CPP {
|
21
|
+
Flags "... whatever -optimize"
|
22
|
+
Define "NDEBUG"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
Project {
|
2
|
+
ExecutableConfig Debug {
|
3
|
+
Dependency Sub, config: Debug
|
4
|
+
Files "**/*.cpp"
|
5
|
+
IncludeDir "include"
|
6
|
+
DefaultToolchain GCC {
|
7
|
+
Compiler CPP {
|
8
|
+
Flags "-Wall"
|
9
|
+
}
|
10
|
+
}
|
11
|
+
PostSteps {
|
12
|
+
CommandLine "echo $(ArtifactName) built."
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
Project {
|
2
|
+
LibraryConfig Debug {
|
3
|
+
Files "**/*.cpp"
|
4
|
+
IncludeDir "include"
|
5
|
+
IncludeDir "Main/include"
|
6
|
+
ExternalLibrarySearchPath "lib"
|
7
|
+
ExternalLibrary "a"
|
8
|
+
ExternalLibrary "b"
|
9
|
+
Toolchain {
|
10
|
+
Compiler CPP {
|
11
|
+
Flags add: "-g3"
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,599 @@
|
|
1
|
+
/*
|
2
|
+
* basic.css
|
3
|
+
* ~~~~~~~~~
|
4
|
+
*
|
5
|
+
* Sphinx stylesheet -- basic theme.
|
6
|
+
*
|
7
|
+
* :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
|
8
|
+
* :license: BSD, see LICENSE for details.
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
/* -- main layout ----------------------------------------------------------- */
|
13
|
+
|
14
|
+
div.clearer {
|
15
|
+
clear: both;
|
16
|
+
}
|
17
|
+
|
18
|
+
/* -- relbar ---------------------------------------------------------------- */
|
19
|
+
|
20
|
+
div.related {
|
21
|
+
width: 100%;
|
22
|
+
font-size: 90%;
|
23
|
+
}
|
24
|
+
|
25
|
+
div.related h3 {
|
26
|
+
display: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
div.related ul {
|
30
|
+
margin: 0;
|
31
|
+
padding: 0 0 0 10px;
|
32
|
+
list-style: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
div.related li {
|
36
|
+
display: inline;
|
37
|
+
}
|
38
|
+
|
39
|
+
div.related li.right {
|
40
|
+
float: right;
|
41
|
+
margin-right: 5px;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* -- sidebar --------------------------------------------------------------- */
|
45
|
+
|
46
|
+
div.sphinxsidebarwrapper {
|
47
|
+
padding: 10px 5px 0 10px;
|
48
|
+
}
|
49
|
+
|
50
|
+
div.sphinxsidebar {
|
51
|
+
float: left;
|
52
|
+
width: 230px;
|
53
|
+
margin-left: -100%;
|
54
|
+
font-size: 90%;
|
55
|
+
}
|
56
|
+
|
57
|
+
div.sphinxsidebar ul {
|
58
|
+
list-style: none;
|
59
|
+
}
|
60
|
+
|
61
|
+
div.sphinxsidebar ul ul,
|
62
|
+
div.sphinxsidebar ul.want-points {
|
63
|
+
margin-left: 20px;
|
64
|
+
list-style: square;
|
65
|
+
}
|
66
|
+
|
67
|
+
div.sphinxsidebar ul ul {
|
68
|
+
margin-top: 0;
|
69
|
+
margin-bottom: 0;
|
70
|
+
}
|
71
|
+
|
72
|
+
div.sphinxsidebar form {
|
73
|
+
margin-top: 10px;
|
74
|
+
}
|
75
|
+
|
76
|
+
div.sphinxsidebar input {
|
77
|
+
border: 1px solid #98dbcc;
|
78
|
+
font-family: sans-serif;
|
79
|
+
font-size: 1em;
|
80
|
+
}
|
81
|
+
|
82
|
+
div.sphinxsidebar #searchbox input[type="text"] {
|
83
|
+
width: 170px;
|
84
|
+
}
|
85
|
+
|
86
|
+
div.sphinxsidebar #searchbox input[type="submit"] {
|
87
|
+
width: 30px;
|
88
|
+
}
|
89
|
+
|
90
|
+
img {
|
91
|
+
border: 0;
|
92
|
+
max-width: 100%;
|
93
|
+
}
|
94
|
+
|
95
|
+
/* -- search page ----------------------------------------------------------- */
|
96
|
+
|
97
|
+
ul.search {
|
98
|
+
margin: 10px 0 0 20px;
|
99
|
+
padding: 0;
|
100
|
+
}
|
101
|
+
|
102
|
+
ul.search li {
|
103
|
+
padding: 5px 0 5px 20px;
|
104
|
+
background-image: url(file.png);
|
105
|
+
background-repeat: no-repeat;
|
106
|
+
background-position: 0 7px;
|
107
|
+
}
|
108
|
+
|
109
|
+
ul.search li a {
|
110
|
+
font-weight: bold;
|
111
|
+
}
|
112
|
+
|
113
|
+
ul.search li div.context {
|
114
|
+
color: #888;
|
115
|
+
margin: 2px 0 0 30px;
|
116
|
+
text-align: left;
|
117
|
+
}
|
118
|
+
|
119
|
+
ul.keywordmatches li.goodmatch a {
|
120
|
+
font-weight: bold;
|
121
|
+
}
|
122
|
+
|
123
|
+
/* -- index page ------------------------------------------------------------ */
|
124
|
+
|
125
|
+
table.contentstable {
|
126
|
+
width: 90%;
|
127
|
+
}
|
128
|
+
|
129
|
+
table.contentstable p.biglink {
|
130
|
+
line-height: 150%;
|
131
|
+
}
|
132
|
+
|
133
|
+
a.biglink {
|
134
|
+
font-size: 1.3em;
|
135
|
+
}
|
136
|
+
|
137
|
+
span.linkdescr {
|
138
|
+
font-style: italic;
|
139
|
+
padding-top: 5px;
|
140
|
+
font-size: 90%;
|
141
|
+
}
|
142
|
+
|
143
|
+
/* -- general index --------------------------------------------------------- */
|
144
|
+
|
145
|
+
table.indextable {
|
146
|
+
width: 100%;
|
147
|
+
}
|
148
|
+
|
149
|
+
table.indextable td {
|
150
|
+
text-align: left;
|
151
|
+
vertical-align: top;
|
152
|
+
}
|
153
|
+
|
154
|
+
table.indextable dl, table.indextable dd {
|
155
|
+
margin-top: 0;
|
156
|
+
margin-bottom: 0;
|
157
|
+
}
|
158
|
+
|
159
|
+
table.indextable tr.pcap {
|
160
|
+
height: 10px;
|
161
|
+
}
|
162
|
+
|
163
|
+
table.indextable tr.cap {
|
164
|
+
margin-top: 10px;
|
165
|
+
background-color: #f2f2f2;
|
166
|
+
}
|
167
|
+
|
168
|
+
img.toggler {
|
169
|
+
margin-right: 3px;
|
170
|
+
margin-top: 3px;
|
171
|
+
cursor: pointer;
|
172
|
+
}
|
173
|
+
|
174
|
+
div.modindex-jumpbox {
|
175
|
+
border-top: 1px solid #ddd;
|
176
|
+
border-bottom: 1px solid #ddd;
|
177
|
+
margin: 1em 0 1em 0;
|
178
|
+
padding: 0.4em;
|
179
|
+
}
|
180
|
+
|
181
|
+
div.genindex-jumpbox {
|
182
|
+
border-top: 1px solid #ddd;
|
183
|
+
border-bottom: 1px solid #ddd;
|
184
|
+
margin: 1em 0 1em 0;
|
185
|
+
padding: 0.4em;
|
186
|
+
}
|
187
|
+
|
188
|
+
/* -- general body styles --------------------------------------------------- */
|
189
|
+
|
190
|
+
a.headerlink {
|
191
|
+
visibility: hidden;
|
192
|
+
}
|
193
|
+
|
194
|
+
h1:hover > a.headerlink,
|
195
|
+
h2:hover > a.headerlink,
|
196
|
+
h3:hover > a.headerlink,
|
197
|
+
h4:hover > a.headerlink,
|
198
|
+
h5:hover > a.headerlink,
|
199
|
+
h6:hover > a.headerlink,
|
200
|
+
dt:hover > a.headerlink,
|
201
|
+
caption:hover > a.headerlink,
|
202
|
+
p.caption:hover > a.headerlink,
|
203
|
+
div.code-block-caption:hover > a.headerlink {
|
204
|
+
visibility: visible;
|
205
|
+
}
|
206
|
+
|
207
|
+
div.body p.caption {
|
208
|
+
text-align: inherit;
|
209
|
+
}
|
210
|
+
|
211
|
+
div.body td {
|
212
|
+
text-align: left;
|
213
|
+
}
|
214
|
+
|
215
|
+
.field-list ul {
|
216
|
+
padding-left: 1em;
|
217
|
+
}
|
218
|
+
|
219
|
+
.first {
|
220
|
+
margin-top: 0 !important;
|
221
|
+
}
|
222
|
+
|
223
|
+
p.rubric {
|
224
|
+
margin-top: 30px;
|
225
|
+
font-weight: bold;
|
226
|
+
}
|
227
|
+
|
228
|
+
img.align-left, .figure.align-left, object.align-left {
|
229
|
+
clear: left;
|
230
|
+
float: left;
|
231
|
+
margin-right: 1em;
|
232
|
+
}
|
233
|
+
|
234
|
+
img.align-right, .figure.align-right, object.align-right {
|
235
|
+
clear: right;
|
236
|
+
float: right;
|
237
|
+
margin-left: 1em;
|
238
|
+
}
|
239
|
+
|
240
|
+
img.align-center, .figure.align-center, object.align-center {
|
241
|
+
display: block;
|
242
|
+
margin-left: auto;
|
243
|
+
margin-right: auto;
|
244
|
+
}
|
245
|
+
|
246
|
+
.align-left {
|
247
|
+
text-align: left;
|
248
|
+
}
|
249
|
+
|
250
|
+
.align-center {
|
251
|
+
text-align: center;
|
252
|
+
}
|
253
|
+
|
254
|
+
.align-right {
|
255
|
+
text-align: right;
|
256
|
+
}
|
257
|
+
|
258
|
+
/* -- sidebars -------------------------------------------------------------- */
|
259
|
+
|
260
|
+
div.sidebar {
|
261
|
+
margin: 0 0 0.5em 1em;
|
262
|
+
border: 1px solid #ddb;
|
263
|
+
padding: 7px 7px 0 7px;
|
264
|
+
background-color: #ffe;
|
265
|
+
width: 40%;
|
266
|
+
float: right;
|
267
|
+
}
|
268
|
+
|
269
|
+
p.sidebar-title {
|
270
|
+
font-weight: bold;
|
271
|
+
}
|
272
|
+
|
273
|
+
/* -- topics ---------------------------------------------------------------- */
|
274
|
+
|
275
|
+
div.topic {
|
276
|
+
border: 1px solid #ccc;
|
277
|
+
padding: 7px 7px 0 7px;
|
278
|
+
margin: 10px 0 10px 0;
|
279
|
+
}
|
280
|
+
|
281
|
+
p.topic-title {
|
282
|
+
font-size: 1.1em;
|
283
|
+
font-weight: bold;
|
284
|
+
margin-top: 10px;
|
285
|
+
}
|
286
|
+
|
287
|
+
/* -- admonitions ----------------------------------------------------------- */
|
288
|
+
|
289
|
+
div.admonition {
|
290
|
+
margin-top: 10px;
|
291
|
+
margin-bottom: 10px;
|
292
|
+
padding: 7px;
|
293
|
+
}
|
294
|
+
|
295
|
+
div.admonition dt {
|
296
|
+
font-weight: bold;
|
297
|
+
}
|
298
|
+
|
299
|
+
div.admonition dl {
|
300
|
+
margin-bottom: 0;
|
301
|
+
}
|
302
|
+
|
303
|
+
p.admonition-title {
|
304
|
+
margin: 0px 10px 5px 0px;
|
305
|
+
font-weight: bold;
|
306
|
+
}
|
307
|
+
|
308
|
+
div.body p.centered {
|
309
|
+
text-align: center;
|
310
|
+
margin-top: 25px;
|
311
|
+
}
|
312
|
+
|
313
|
+
/* -- tables ---------------------------------------------------------------- */
|
314
|
+
|
315
|
+
table.docutils {
|
316
|
+
border: 0;
|
317
|
+
border-collapse: collapse;
|
318
|
+
}
|
319
|
+
|
320
|
+
table caption span.caption-number {
|
321
|
+
font-style: italic;
|
322
|
+
}
|
323
|
+
|
324
|
+
table caption span.caption-text {
|
325
|
+
}
|
326
|
+
|
327
|
+
table.docutils td, table.docutils th {
|
328
|
+
padding: 1px 8px 1px 5px;
|
329
|
+
border-top: 0;
|
330
|
+
border-left: 0;
|
331
|
+
border-right: 0;
|
332
|
+
border-bottom: 1px solid #aaa;
|
333
|
+
}
|
334
|
+
|
335
|
+
table.field-list td, table.field-list th {
|
336
|
+
border: 0 !important;
|
337
|
+
}
|
338
|
+
|
339
|
+
table.footnote td, table.footnote th {
|
340
|
+
border: 0 !important;
|
341
|
+
}
|
342
|
+
|
343
|
+
th {
|
344
|
+
text-align: left;
|
345
|
+
padding-right: 5px;
|
346
|
+
}
|
347
|
+
|
348
|
+
table.citation {
|
349
|
+
border-left: solid 1px gray;
|
350
|
+
margin-left: 1px;
|
351
|
+
}
|
352
|
+
|
353
|
+
table.citation td {
|
354
|
+
border-bottom: none;
|
355
|
+
}
|
356
|
+
|
357
|
+
/* -- figures --------------------------------------------------------------- */
|
358
|
+
|
359
|
+
div.figure {
|
360
|
+
margin: 0.5em;
|
361
|
+
padding: 0.5em;
|
362
|
+
}
|
363
|
+
|
364
|
+
div.figure p.caption {
|
365
|
+
padding: 0.3em;
|
366
|
+
}
|
367
|
+
|
368
|
+
div.figure p.caption span.caption-number {
|
369
|
+
font-style: italic;
|
370
|
+
}
|
371
|
+
|
372
|
+
div.figure p.caption span.caption-text {
|
373
|
+
}
|
374
|
+
|
375
|
+
|
376
|
+
/* -- other body styles ----------------------------------------------------- */
|
377
|
+
|
378
|
+
ol.arabic {
|
379
|
+
list-style: decimal;
|
380
|
+
}
|
381
|
+
|
382
|
+
ol.loweralpha {
|
383
|
+
list-style: lower-alpha;
|
384
|
+
}
|
385
|
+
|
386
|
+
ol.upperalpha {
|
387
|
+
list-style: upper-alpha;
|
388
|
+
}
|
389
|
+
|
390
|
+
ol.lowerroman {
|
391
|
+
list-style: lower-roman;
|
392
|
+
}
|
393
|
+
|
394
|
+
ol.upperroman {
|
395
|
+
list-style: upper-roman;
|
396
|
+
}
|
397
|
+
|
398
|
+
dl {
|
399
|
+
margin-bottom: 15px;
|
400
|
+
}
|
401
|
+
|
402
|
+
dd p {
|
403
|
+
margin-top: 0px;
|
404
|
+
}
|
405
|
+
|
406
|
+
dd ul, dd table {
|
407
|
+
margin-bottom: 10px;
|
408
|
+
}
|
409
|
+
|
410
|
+
dd {
|
411
|
+
margin-top: 3px;
|
412
|
+
margin-bottom: 10px;
|
413
|
+
margin-left: 30px;
|
414
|
+
}
|
415
|
+
|
416
|
+
dt:target, .highlighted {
|
417
|
+
background-color: #fbe54e;
|
418
|
+
}
|
419
|
+
|
420
|
+
dl.glossary dt {
|
421
|
+
font-weight: bold;
|
422
|
+
font-size: 1.1em;
|
423
|
+
}
|
424
|
+
|
425
|
+
.field-list ul {
|
426
|
+
margin: 0;
|
427
|
+
padding-left: 1em;
|
428
|
+
}
|
429
|
+
|
430
|
+
.field-list p {
|
431
|
+
margin: 0;
|
432
|
+
}
|
433
|
+
|
434
|
+
.optional {
|
435
|
+
font-size: 1.3em;
|
436
|
+
}
|
437
|
+
|
438
|
+
.sig-paren {
|
439
|
+
font-size: larger;
|
440
|
+
}
|
441
|
+
|
442
|
+
.versionmodified {
|
443
|
+
font-style: italic;
|
444
|
+
}
|
445
|
+
|
446
|
+
.system-message {
|
447
|
+
background-color: #fda;
|
448
|
+
padding: 5px;
|
449
|
+
border: 3px solid red;
|
450
|
+
}
|
451
|
+
|
452
|
+
.footnote:target {
|
453
|
+
background-color: #ffa;
|
454
|
+
}
|
455
|
+
|
456
|
+
.line-block {
|
457
|
+
display: block;
|
458
|
+
margin-top: 1em;
|
459
|
+
margin-bottom: 1em;
|
460
|
+
}
|
461
|
+
|
462
|
+
.line-block .line-block {
|
463
|
+
margin-top: 0;
|
464
|
+
margin-bottom: 0;
|
465
|
+
margin-left: 1.5em;
|
466
|
+
}
|
467
|
+
|
468
|
+
.guilabel, .menuselection {
|
469
|
+
font-family: sans-serif;
|
470
|
+
}
|
471
|
+
|
472
|
+
.accelerator {
|
473
|
+
text-decoration: underline;
|
474
|
+
}
|
475
|
+
|
476
|
+
.classifier {
|
477
|
+
font-style: oblique;
|
478
|
+
}
|
479
|
+
|
480
|
+
abbr, acronym {
|
481
|
+
border-bottom: dotted 1px;
|
482
|
+
cursor: help;
|
483
|
+
}
|
484
|
+
|
485
|
+
/* -- code displays --------------------------------------------------------- */
|
486
|
+
|
487
|
+
pre {
|
488
|
+
overflow: auto;
|
489
|
+
overflow-y: hidden; /* fixes display issues on Chrome browsers */
|
490
|
+
}
|
491
|
+
|
492
|
+
td.linenos pre {
|
493
|
+
padding: 5px 0px;
|
494
|
+
border: 0;
|
495
|
+
background-color: transparent;
|
496
|
+
color: #aaa;
|
497
|
+
}
|
498
|
+
|
499
|
+
table.highlighttable {
|
500
|
+
margin-left: 0.5em;
|
501
|
+
}
|
502
|
+
|
503
|
+
table.highlighttable td {
|
504
|
+
padding: 0 0.5em 0 0.5em;
|
505
|
+
}
|
506
|
+
|
507
|
+
div.code-block-caption {
|
508
|
+
padding: 2px 5px;
|
509
|
+
font-size: small;
|
510
|
+
}
|
511
|
+
|
512
|
+
div.code-block-caption code {
|
513
|
+
background-color: transparent;
|
514
|
+
}
|
515
|
+
|
516
|
+
div.code-block-caption + div > div.highlight > pre {
|
517
|
+
margin-top: 0;
|
518
|
+
}
|
519
|
+
|
520
|
+
div.code-block-caption span.caption-number {
|
521
|
+
padding: 0.1em 0.3em;
|
522
|
+
font-style: italic;
|
523
|
+
}
|
524
|
+
|
525
|
+
div.code-block-caption span.caption-text {
|
526
|
+
}
|
527
|
+
|
528
|
+
div.literal-block-wrapper {
|
529
|
+
padding: 1em 1em 0;
|
530
|
+
}
|
531
|
+
|
532
|
+
div.literal-block-wrapper div.highlight {
|
533
|
+
margin: 0;
|
534
|
+
}
|
535
|
+
|
536
|
+
code.descname {
|
537
|
+
background-color: transparent;
|
538
|
+
font-weight: bold;
|
539
|
+
font-size: 1.2em;
|
540
|
+
}
|
541
|
+
|
542
|
+
code.descclassname {
|
543
|
+
background-color: transparent;
|
544
|
+
}
|
545
|
+
|
546
|
+
code.xref, a code {
|
547
|
+
background-color: transparent;
|
548
|
+
font-weight: bold;
|
549
|
+
}
|
550
|
+
|
551
|
+
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
|
552
|
+
background-color: transparent;
|
553
|
+
}
|
554
|
+
|
555
|
+
.viewcode-link {
|
556
|
+
float: right;
|
557
|
+
}
|
558
|
+
|
559
|
+
.viewcode-back {
|
560
|
+
float: right;
|
561
|
+
font-family: sans-serif;
|
562
|
+
}
|
563
|
+
|
564
|
+
div.viewcode-block:target {
|
565
|
+
margin: -1px -10px;
|
566
|
+
padding: 0 10px;
|
567
|
+
}
|
568
|
+
|
569
|
+
/* -- math display ---------------------------------------------------------- */
|
570
|
+
|
571
|
+
img.math {
|
572
|
+
vertical-align: middle;
|
573
|
+
}
|
574
|
+
|
575
|
+
div.body div.math p {
|
576
|
+
text-align: center;
|
577
|
+
}
|
578
|
+
|
579
|
+
span.eqno {
|
580
|
+
float: right;
|
581
|
+
}
|
582
|
+
|
583
|
+
/* -- printout stylesheet --------------------------------------------------- */
|
584
|
+
|
585
|
+
@media print {
|
586
|
+
div.document,
|
587
|
+
div.documentwrapper,
|
588
|
+
div.bodywrapper {
|
589
|
+
margin: 0 !important;
|
590
|
+
width: 100%;
|
591
|
+
}
|
592
|
+
|
593
|
+
div.sphinxsidebar,
|
594
|
+
div.related,
|
595
|
+
div.footer,
|
596
|
+
#top-link {
|
597
|
+
display: none;
|
598
|
+
}
|
599
|
+
}
|