bake-toolkit 2.20.4 → 2.21.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/Rakefile.rb +3 -3
- data/bin/bake +46 -46
- data/bin/bake-doc +11 -11
- data/bin/bakery +179 -179
- data/bin/createVSProjects +213 -213
- data/documentation/_build/html/_sources/changelog.txt +456 -451
- data/documentation/_build/html/_sources/commandline/commandline.txt +107 -107
- data/documentation/_build/html/_sources/concepts/build_hierarchy.txt +34 -34
- data/documentation/_build/html/_sources/concepts/concepts.txt +14 -14
- data/documentation/_build/html/_sources/concepts/inject.txt +65 -65
- data/documentation/_build/html/_sources/concepts/link_order.txt +91 -91
- data/documentation/_build/html/_sources/concepts/prebuild.txt +56 -56
- data/documentation/_build/html/_sources/concepts/the_main_project.txt +45 -45
- data/documentation/_build/html/_sources/concepts/the_project_meta_file.txt +72 -72
- data/documentation/_build/html/_sources/ide/eclipse/eclipse.txt +25 -25
- data/documentation/_build/html/_sources/ide/eclipse/how_to_convert_existing_cdt_workspace.txt +31 -31
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_new_project_in_eclipse.txt +18 -18
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_workspace_in_eclipse.txt +27 -27
- data/documentation/_build/html/_sources/ide/eclipse/how_to_debug_in_eclipse.txt +38 -38
- data/documentation/_build/html/_sources/ide/eclipse/how_to_install_eclipse_plugin.txt +44 -44
- data/documentation/_build/html/_sources/ide/eclipse/how_to_use_bake_in_eclipse.txt +86 -86
- data/documentation/_build/html/_sources/ide/ide_integrations.txt +8 -8
- data/documentation/_build/html/_sources/ide/vs/how_to_create_vs_projects.txt +15 -15
- data/documentation/_build/html/_sources/ide/vs/how_to_debug_in_vs.txt +35 -35
- data/documentation/_build/html/_sources/ide/vs/how_to_used_bake_in_vs.txt +35 -35
- data/documentation/_build/html/_sources/ide/vs/vs.txt +10 -10
- data/documentation/_build/html/_sources/ide/vs/vs_install.txt +43 -43
- data/documentation/_build/html/_sources/index.txt +33 -33
- data/documentation/_build/html/_sources/install/install_bake.txt +112 -112
- data/documentation/_build/html/_sources/internal.txt +50 -50
- data/documentation/_build/html/_sources/known_issues.txt +9 -9
- data/documentation/_build/html/_sources/license.txt +4 -4
- data/documentation/_build/html/_sources/performance/performance.txt +104 -104
- data/documentation/_build/html/_sources/quickstart/quickstart.txt +70 -70
- data/documentation/_build/html/_sources/syntax/adapt_configs.txt +143 -143
- data/documentation/_build/html/_sources/syntax/auto_adjustment.txt +43 -43
- data/documentation/_build/html/_sources/syntax/derive_configs.txt +93 -94
- data/documentation/_build/html/_sources/syntax/project_meta_syntax.txt +19 -19
- data/documentation/_build/html/_sources/syntax/syntax.txt +11 -11
- data/documentation/_build/html/_sources/syntax/variable_substitutions.txt +147 -147
- data/documentation/_build/html/_sources/tips_and_tricks/dot.txt +34 -34
- data/documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt +62 -62
- data/documentation/_build/html/_sources/tips_and_tricks/static_code_analysis.txt +122 -122
- data/documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt +72 -72
- data/documentation/_build/html/_sources/tips_and_tricks/the_clang.txt +43 -43
- data/documentation/_build/html/_sources/tips_and_tricks/tips_and_tricks.txt +34 -34
- data/documentation/_build/html/_sources/why_bake/why_bake.txt +40 -40
- data/documentation/_build/html/changelog.html +7 -0
- data/documentation/_build/html/commandline/commandline.html +2 -2
- data/documentation/_build/html/concepts/link_order.html +2 -2
- data/documentation/_build/html/concepts/prebuild.html +2 -2
- data/documentation/_build/html/index.html +4 -4
- data/documentation/_build/html/performance/performance.html +2 -2
- data/documentation/_build/html/searchindex.js +1 -1
- data/documentation/_build/html/syntax/adapt_configs.html +2 -2
- data/documentation/_build/html/syntax/syntax.html +2 -2
- data/documentation/_build/html/tips_and_tricks/the_clang.html +2 -2
- data/documentation/_build/html/why_bake/why_bake.html +2 -2
- data/lib/adapt/config/loader.rb +112 -112
- data/lib/bake/bundle.rb +158 -158
- data/lib/bake/cache.rb +179 -180
- data/lib/bake/config/checks.rb +68 -68
- data/lib/bake/config/loader.rb +363 -363
- data/lib/bake/libElement.rb +176 -176
- data/lib/bake/mergeConfig.rb +208 -208
- data/lib/bake/model/language.rb +45 -45
- data/lib/bake/model/loader.rb +99 -99
- data/lib/bake/model/metamodel.rb +307 -307
- data/lib/bake/model/metamodel_ext.rb +27 -27
- data/lib/bake/options/create.rb +95 -95
- data/lib/bake/options/options.rb +315 -310
- data/lib/bake/options/showDoc.rb +20 -20
- data/lib/bake/options/showLicense.rb +9 -9
- data/lib/bake/options/showToolchains.rb +38 -38
- data/lib/bake/options/usage.rb +79 -68
- data/lib/bake/subst.rb +313 -313
- data/lib/bake/toolchain/clang.rb +44 -44
- data/lib/bake/toolchain/clang_analyze.rb +31 -31
- data/lib/bake/toolchain/colorizing_formatter.rb +125 -125
- data/lib/bake/toolchain/diab.rb +53 -53
- data/lib/bake/toolchain/errorparser/diab_compiler_error_parser.rb +40 -40
- data/lib/bake/toolchain/errorparser/diab_linker_error_parser.rb +41 -41
- data/lib/bake/toolchain/errorparser/error_parser.rb +71 -71
- data/lib/bake/toolchain/errorparser/gcc_compiler_error_parser.rb +35 -35
- data/lib/bake/toolchain/errorparser/gcc_linker_error_parser.rb +35 -35
- data/lib/bake/toolchain/errorparser/greenhills_compiler_error_parser.rb +32 -32
- data/lib/bake/toolchain/errorparser/greenhills_linker_error_parser.rb +44 -44
- data/lib/bake/toolchain/errorparser/keil_compiler_error_parser.rb +40 -40
- data/lib/bake/toolchain/errorparser/keil_linker_error_parser.rb +30 -30
- data/lib/bake/toolchain/errorparser/lint_error_parser.rb +34 -34
- data/lib/bake/toolchain/errorparser/msvc_compiler_error_parser.rb +63 -63
- data/lib/bake/toolchain/errorparser/msvc_linker_error_parser.rb +42 -42
- data/lib/bake/toolchain/errorparser/process_output.rb +2 -2
- data/lib/bake/toolchain/errorparser/ti_compiler_error_parser.rb +30 -30
- data/lib/bake/toolchain/errorparser/ti_linker_error_parser.rb +30 -30
- data/lib/bake/toolchain/gcc.rb +49 -49
- data/lib/bake/toolchain/gcc_env.rb +55 -55
- data/lib/bake/toolchain/greenhills.rb +52 -52
- data/lib/bake/toolchain/keil.rb +53 -53
- data/lib/bake/toolchain/lint.rb +20 -20
- data/lib/bake/toolchain/msvc.rb +58 -58
- data/lib/bake/toolchain/provider.rb +146 -146
- data/lib/bake/toolchain/ti.rb +47 -47
- data/lib/bake/util.rb +149 -149
- data/lib/bakery/buildPattern.rb +24 -24
- data/lib/bakery/model/language.rb +22 -22
- data/lib/bakery/model/loader.rb +55 -55
- data/lib/bakery/model/metamodel.rb +48 -48
- data/lib/bakery/options/options.rb +87 -87
- data/lib/bakery/toBake.rb +81 -81
- data/lib/blocks/block.rb +324 -324
- data/lib/blocks/blockBase.rb +204 -204
- data/lib/blocks/commandLine.rb +38 -38
- data/lib/blocks/compile.rb +529 -528
- data/lib/blocks/convert.rb +41 -41
- data/lib/blocks/docu.rb +30 -30
- data/lib/blocks/executable.rb +174 -174
- data/lib/blocks/has_execute_command.rb +31 -31
- data/lib/blocks/library.rb +114 -114
- data/lib/blocks/lint.rb +56 -56
- data/lib/blocks/makefile.rb +100 -100
- data/lib/blocks/showIncludes.rb +140 -125
- data/lib/common/abortException.rb +4 -4
- data/lib/common/cleanup.rb +10 -10
- data/lib/common/exit_helper.rb +38 -38
- data/lib/common/ext/file.rb +88 -88
- data/lib/common/ext/rtext.rb +11 -11
- data/lib/common/ext/stdout.rb +45 -45
- data/lib/common/ide_interface.rb +194 -194
- data/lib/common/options/parser.rb +95 -85
- data/lib/common/process.rb +64 -64
- data/lib/common/utils.rb +52 -52
- data/lib/common/version.rb +31 -23
- data/lib/multithread/job.rb +44 -44
- data/lib/tocxx.rb +558 -555
- data/lib/vs/options.rb +69 -69
- data/license.txt +90 -90
- metadata +2 -2
data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_new_project_in_eclipse.txt
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
How to create a new project in Eclipse
|
|
2
|
-
======================================
|
|
3
|
-
This is very easy. Navigate to `File->New->Other` and choose bake Project.
|
|
4
|
-
|
|
5
|
-
========================================= =======================================
|
|
6
|
-
.. image:: ../../_static/SelectNew.png .. image:: ../../_static/New.png
|
|
7
|
-
========================================= =======================================
|
|
8
|
-
|
|
9
|
-
Choose a name. If you have more than one workspace root, you can also choose a location.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
========================================= ===========================================================================
|
|
14
|
-
.. image:: ../../_static/Result.png A new folder with three files will be created. `.cproject` and `.project`
|
|
15
|
-
wrapper files for Eclipse and an almost.
|
|
16
|
-
empty `Project.meta` which can be filled with build configurations.
|
|
17
|
-
========================================= ===========================================================================
|
|
18
|
-
|
|
1
|
+
How to create a new project in Eclipse
|
|
2
|
+
======================================
|
|
3
|
+
This is very easy. Navigate to `File->New->Other` and choose bake Project.
|
|
4
|
+
|
|
5
|
+
========================================= =======================================
|
|
6
|
+
.. image:: ../../_static/SelectNew.png .. image:: ../../_static/New.png
|
|
7
|
+
========================================= =======================================
|
|
8
|
+
|
|
9
|
+
Choose a name. If you have more than one workspace root, you can also choose a location.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
========================================= ===========================================================================
|
|
14
|
+
.. image:: ../../_static/Result.png A new folder with three files will be created. `.cproject` and `.project`
|
|
15
|
+
wrapper files for Eclipse and an almost.
|
|
16
|
+
empty `Project.meta` which can be filled with build configurations.
|
|
17
|
+
========================================= ===========================================================================
|
|
18
|
+
|
data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_workspace_in_eclipse.txt
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
How to create a workspace in Eclipse
|
|
2
|
-
====================================
|
|
3
|
-
|
|
4
|
-
Using bake in Eclipse is very similar compared to the :any:`CDT build mechanism <how_to_convert_existing_cdt_workspace>`.
|
|
5
|
-
|
|
6
|
-
.. warning::
|
|
7
|
-
One major difference is, that `.cproject` and `.project` files are just wrappers. Do not use the standard property pages,
|
|
8
|
-
they will be simply ignored! Edit only the `Project.meta` files.
|
|
9
|
-
The `.cprojec`t and `.project` files shall not be committed to your source control.
|
|
10
|
-
|
|
11
|
-
Import
|
|
12
|
-
******
|
|
13
|
-
|
|
14
|
-
If you have a workspace with no `.cproject` and `.project` files, but `Project.meta` files, you can import them to Eclipse.
|
|
15
|
-
You can also use the importer to import single projects.
|
|
16
|
-
The importer can be found unter `File->Import` or in the context menu of the Project Explorer.
|
|
17
|
-
All (sub)directories with a `Project.meta` are listed here. Choose the projects to import and press Finish.
|
|
18
|
-
|
|
19
|
-
========================================= =======================================
|
|
20
|
-
.. image:: ../../_static/SelectImport.png .. image:: ../../_static/Import.png
|
|
21
|
-
========================================= =======================================
|
|
22
|
-
|
|
23
|
-
.. note::
|
|
24
|
-
Note, that `.cproject` and `.project` files will not be overwritten per default. If e.g. a project is not a c-project,
|
|
25
|
-
some bake features will not available. In this case, enable the recreate option.
|
|
26
|
-
This is also a good idea, if you want to get rid of old configurations.
|
|
27
|
-
|
|
1
|
+
How to create a workspace in Eclipse
|
|
2
|
+
====================================
|
|
3
|
+
|
|
4
|
+
Using bake in Eclipse is very similar compared to the :any:`CDT build mechanism <how_to_convert_existing_cdt_workspace>`.
|
|
5
|
+
|
|
6
|
+
.. warning::
|
|
7
|
+
One major difference is, that `.cproject` and `.project` files are just wrappers. Do not use the standard property pages,
|
|
8
|
+
they will be simply ignored! Edit only the `Project.meta` files.
|
|
9
|
+
The `.cprojec`t and `.project` files shall not be committed to your source control.
|
|
10
|
+
|
|
11
|
+
Import
|
|
12
|
+
******
|
|
13
|
+
|
|
14
|
+
If you have a workspace with no `.cproject` and `.project` files, but `Project.meta` files, you can import them to Eclipse.
|
|
15
|
+
You can also use the importer to import single projects.
|
|
16
|
+
The importer can be found unter `File->Import` or in the context menu of the Project Explorer.
|
|
17
|
+
All (sub)directories with a `Project.meta` are listed here. Choose the projects to import and press Finish.
|
|
18
|
+
|
|
19
|
+
========================================= =======================================
|
|
20
|
+
.. image:: ../../_static/SelectImport.png .. image:: ../../_static/Import.png
|
|
21
|
+
========================================= =======================================
|
|
22
|
+
|
|
23
|
+
.. note::
|
|
24
|
+
Note, that `.cproject` and `.project` files will not be overwritten per default. If e.g. a project is not a c-project,
|
|
25
|
+
some bake features will not available. In this case, enable the recreate option.
|
|
26
|
+
This is also a good idea, if you want to get rid of old configurations.
|
|
27
|
+
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
How to debug in Eclipse
|
|
2
|
-
=======================
|
|
3
|
-
|
|
4
|
-
The following example is made with Eclipse Mars, **Cygwin**, **gcc** and **gdb**. However, the same applies to all other compilers and
|
|
5
|
-
environments, too.
|
|
6
|
-
|
|
7
|
-
1. Compile with debug information
|
|
8
|
-
*********************************
|
|
9
|
-
|
|
10
|
-
Don't forget this. Otherwise sources symbols cannot not mapped.
|
|
11
|
-
|
|
12
|
-
.. image:: ../../_static/debug_flag.png
|
|
13
|
-
|
|
14
|
-
2. Create a debug configuration for a C++ application
|
|
15
|
-
*****************************************************
|
|
16
|
-
|
|
17
|
-
This options can be found under Run->Debug Configurations... or click on the arrow next to the green spider.
|
|
18
|
-
|
|
19
|
-
.. image:: ../../_static/debug_app.png
|
|
20
|
-
|
|
21
|
-
| Choose a suitable name and the executable.
|
|
22
|
-
|
|
23
|
-
3. Add path mapping
|
|
24
|
-
*******************
|
|
25
|
-
|
|
26
|
-
.. image:: ../../_static/debug_path.png
|
|
27
|
-
|
|
28
|
-
.. image:: ../../_static/debug_map.png
|
|
29
|
-
|
|
30
|
-
| Note that this must be done if the compiler uses different paths than Eclipse. In this example I have used gcc under Cygwin,
|
|
31
|
-
| which typically uses "/cygdrive/c" for "c:\\". I always mount "c:\\" to "/c".
|
|
32
|
-
|
|
|
33
|
-
| Also note, that my Eclipse changes "/c" to "\\c" in the dialog box automatically, but it works nevertheless.
|
|
34
|
-
|
|
35
|
-
4. Now you can debug your code
|
|
36
|
-
******************************
|
|
37
|
-
|
|
38
|
-
.. image:: ../../_static/debug_debug.png
|
|
1
|
+
How to debug in Eclipse
|
|
2
|
+
=======================
|
|
3
|
+
|
|
4
|
+
The following example is made with Eclipse Mars, **Cygwin**, **gcc** and **gdb**. However, the same applies to all other compilers and
|
|
5
|
+
environments, too.
|
|
6
|
+
|
|
7
|
+
1. Compile with debug information
|
|
8
|
+
*********************************
|
|
9
|
+
|
|
10
|
+
Don't forget this. Otherwise sources symbols cannot not mapped.
|
|
11
|
+
|
|
12
|
+
.. image:: ../../_static/debug_flag.png
|
|
13
|
+
|
|
14
|
+
2. Create a debug configuration for a C++ application
|
|
15
|
+
*****************************************************
|
|
16
|
+
|
|
17
|
+
This options can be found under Run->Debug Configurations... or click on the arrow next to the green spider.
|
|
18
|
+
|
|
19
|
+
.. image:: ../../_static/debug_app.png
|
|
20
|
+
|
|
21
|
+
| Choose a suitable name and the executable.
|
|
22
|
+
|
|
23
|
+
3. Add path mapping
|
|
24
|
+
*******************
|
|
25
|
+
|
|
26
|
+
.. image:: ../../_static/debug_path.png
|
|
27
|
+
|
|
28
|
+
.. image:: ../../_static/debug_map.png
|
|
29
|
+
|
|
30
|
+
| Note that this must be done if the compiler uses different paths than Eclipse. In this example I have used gcc under Cygwin,
|
|
31
|
+
| which typically uses "/cygdrive/c" for "c:\\". I always mount "c:\\" to "/c".
|
|
32
|
+
|
|
|
33
|
+
| Also note, that my Eclipse changes "/c" to "\\c" in the dialog box automatically, but it works nevertheless.
|
|
34
|
+
|
|
35
|
+
4. Now you can debug your code
|
|
36
|
+
******************************
|
|
37
|
+
|
|
38
|
+
.. image:: ../../_static/debug_debug.png
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
How to install bake Eclipse integration
|
|
2
|
-
=======================================
|
|
3
|
-
|
|
4
|
-
The bake Eclipse integration plugin is available on a E.S.R.Labs update site. Please follow the steps below to install the plugin.
|
|
5
|
-
|
|
6
|
-
#. Go to "Help" -> "Install New Software"
|
|
7
|
-
|
|
8
|
-
.. image:: ../../_static/InstallNewSoftware.png
|
|
9
|
-
:width: 100 %
|
|
10
|
-
:scale: 50 %
|
|
11
|
-
|
|
12
|
-
#. Setup the update site
|
|
13
|
-
|
|
14
|
-
`<http://www.esrlabs.com/eclipse-plugins/com.esrlabs.eclipse.bake.updatesite/>`_
|
|
15
|
-
|
|
16
|
-
.. image:: ../../_static/AddRepository.png
|
|
17
|
-
:width: 100 %
|
|
18
|
-
:scale: 50 %
|
|
19
|
-
|
|
20
|
-
#. Select the bake Feature
|
|
21
|
-
|
|
22
|
-
.. image:: ../../_static/AvailableSoftware.png
|
|
23
|
-
:width: 100 %
|
|
24
|
-
:scale: 50 %
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
#. Accept the license after reading it
|
|
28
|
-
|
|
29
|
-
.. image:: ../../_static/Licenses.png
|
|
30
|
-
:width: 100 %
|
|
31
|
-
:scale: 50 %
|
|
32
|
-
|
|
33
|
-
#. Ignore the security warning - you can trust the software
|
|
34
|
-
|
|
35
|
-
.. image:: ../../_static/TrustMe.png
|
|
36
|
-
:width: 100 %
|
|
37
|
-
:scale: 50 %
|
|
38
|
-
|
|
39
|
-
#. After successfull installation, restart Eclipse
|
|
40
|
-
|
|
41
|
-
.. image:: ../../_static/Restart.png
|
|
42
|
-
:width: 100 %
|
|
43
|
-
:scale: 50 %
|
|
44
|
-
|
|
1
|
+
How to install bake Eclipse integration
|
|
2
|
+
=======================================
|
|
3
|
+
|
|
4
|
+
The bake Eclipse integration plugin is available on a E.S.R.Labs update site. Please follow the steps below to install the plugin.
|
|
5
|
+
|
|
6
|
+
#. Go to "Help" -> "Install New Software"
|
|
7
|
+
|
|
8
|
+
.. image:: ../../_static/InstallNewSoftware.png
|
|
9
|
+
:width: 100 %
|
|
10
|
+
:scale: 50 %
|
|
11
|
+
|
|
12
|
+
#. Setup the update site
|
|
13
|
+
|
|
14
|
+
`<http://www.esrlabs.com/eclipse-plugins/com.esrlabs.eclipse.bake.updatesite/>`_
|
|
15
|
+
|
|
16
|
+
.. image:: ../../_static/AddRepository.png
|
|
17
|
+
:width: 100 %
|
|
18
|
+
:scale: 50 %
|
|
19
|
+
|
|
20
|
+
#. Select the bake Feature
|
|
21
|
+
|
|
22
|
+
.. image:: ../../_static/AvailableSoftware.png
|
|
23
|
+
:width: 100 %
|
|
24
|
+
:scale: 50 %
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#. Accept the license after reading it
|
|
28
|
+
|
|
29
|
+
.. image:: ../../_static/Licenses.png
|
|
30
|
+
:width: 100 %
|
|
31
|
+
:scale: 50 %
|
|
32
|
+
|
|
33
|
+
#. Ignore the security warning - you can trust the software
|
|
34
|
+
|
|
35
|
+
.. image:: ../../_static/TrustMe.png
|
|
36
|
+
:width: 100 %
|
|
37
|
+
:scale: 50 %
|
|
38
|
+
|
|
39
|
+
#. After successfull installation, restart Eclipse
|
|
40
|
+
|
|
41
|
+
.. image:: ../../_static/Restart.png
|
|
42
|
+
:width: 100 %
|
|
43
|
+
:scale: 50 %
|
|
44
|
+
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
How to use bake in Eclipse
|
|
2
|
-
==========================
|
|
3
|
-
|
|
4
|
-
Choose the C/C++ perspective
|
|
5
|
-
****************************
|
|
6
|
-
|
|
7
|
-
The menu items described on this page only appear in the C/C++ perspective.
|
|
8
|
-
|
|
9
|
-
Select a build configuration of the main project
|
|
10
|
-
************************************************
|
|
11
|
-
|
|
12
|
-
#. Right click on the main project and select a bake build configuration.
|
|
13
|
-
|
|
14
|
-
.. image:: ../../_static/FirstSelect.png
|
|
15
|
-
:width: 100 %
|
|
16
|
-
:scale: 50 %
|
|
17
|
-
|
|
18
|
-
.. note::
|
|
19
|
-
|
|
20
|
-
* That only configurations with a DefaultToolchain will be displayed.
|
|
21
|
-
|
|
22
|
-
#. If no Project.meta or configuration with a DefaultToolchain exist, an error item will be displayed like this
|
|
23
|
-
|
|
24
|
-
.. image:: ../../_static/WrongSelect.png
|
|
25
|
-
:width: 100 %
|
|
26
|
-
:scale: 50 %
|
|
27
|
-
|
|
28
|
-
#. The chosen config is marked with a filled circle before the config name.You can also see it directly in the project explorer
|
|
29
|
-
|
|
30
|
-
.. image:: ../../_static/SecondSelect.png
|
|
31
|
-
:width: 100 %
|
|
32
|
-
:scale: 50 %
|
|
33
|
-
|
|
34
|
-
.. note::
|
|
35
|
-
|
|
36
|
-
* This label decoration can be switched off and on via Window->Preferences->General->Appearance->Label Decoration
|
|
37
|
-
|
|
38
|
-
Adjust includes and defines for CDT
|
|
39
|
-
***********************************
|
|
40
|
-
s you might have already seen, a new menu item for the main project is enabled now: Adjust includes and defines for CDT.
|
|
41
|
-
All CDT features work out-of-the-box except those about the `#include` and `#define` statements e.g. auto-completion of includes.
|
|
42
|
-
To import the includes and defines into the CDT .cproject files, simply click on this menu item.
|
|
43
|
-
|
|
44
|
-
Compiler internal includes and defines must be specified in InternalInclude and InternalDefine files.
|
|
45
|
-
See "Syntax" help page how to set the name of these files. Note, that the variables CPPPath, CPath, ASMPath,
|
|
46
|
-
ArchiverPath and LinkerPath can be used in these files.
|
|
47
|
-
|
|
48
|
-
Adjusting can take between a few seconds and a minute depending on the size of the workspace and the number of
|
|
49
|
-
project settings which have to be written.
|
|
50
|
-
|
|
51
|
-
Build/Clean Projects/Files
|
|
52
|
-
**************************
|
|
53
|
-
Now you can build or clean a project by clicking on the appropriate menu items.
|
|
54
|
-
|
|
55
|
-
========================================= =======================================
|
|
56
|
-
Project File
|
|
57
|
-
========================================= =======================================
|
|
58
|
-
.. image:: ../../_static/buildMain.png .. image:: ../../_static/buildFile.png
|
|
59
|
-
========================================= =======================================
|
|
60
|
-
|
|
61
|
-
.. note::
|
|
62
|
-
* Build File always rebuilds the file
|
|
63
|
-
|
|
64
|
-
Result
|
|
65
|
-
******
|
|
66
|
-
|
|
67
|
-
The result of the build will be shown in the Console and Problems View as usual
|
|
68
|
-
|
|
69
|
-
.. image:: ../../_static/console.png
|
|
70
|
-
:width: 100 %
|
|
71
|
-
:scale: 50 %
|
|
72
|
-
|
|
73
|
-
.. image:: ../../_static/problem.png
|
|
74
|
-
:width: 100 %
|
|
75
|
-
:scale: 50 %
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
Preferences
|
|
79
|
-
***********
|
|
80
|
-
|
|
81
|
-
Via `Window->Preferences->bake` some settings can be changed and the bake command line can be extended
|
|
82
|
-
|
|
83
|
-
.. image:: ../../_static/pref.png
|
|
84
|
-
:width: 100 %
|
|
85
|
-
:scale: 50 %
|
|
86
|
-
|
|
1
|
+
How to use bake in Eclipse
|
|
2
|
+
==========================
|
|
3
|
+
|
|
4
|
+
Choose the C/C++ perspective
|
|
5
|
+
****************************
|
|
6
|
+
|
|
7
|
+
The menu items described on this page only appear in the C/C++ perspective.
|
|
8
|
+
|
|
9
|
+
Select a build configuration of the main project
|
|
10
|
+
************************************************
|
|
11
|
+
|
|
12
|
+
#. Right click on the main project and select a bake build configuration.
|
|
13
|
+
|
|
14
|
+
.. image:: ../../_static/FirstSelect.png
|
|
15
|
+
:width: 100 %
|
|
16
|
+
:scale: 50 %
|
|
17
|
+
|
|
18
|
+
.. note::
|
|
19
|
+
|
|
20
|
+
* That only configurations with a DefaultToolchain will be displayed.
|
|
21
|
+
|
|
22
|
+
#. If no Project.meta or configuration with a DefaultToolchain exist, an error item will be displayed like this
|
|
23
|
+
|
|
24
|
+
.. image:: ../../_static/WrongSelect.png
|
|
25
|
+
:width: 100 %
|
|
26
|
+
:scale: 50 %
|
|
27
|
+
|
|
28
|
+
#. The chosen config is marked with a filled circle before the config name.You can also see it directly in the project explorer
|
|
29
|
+
|
|
30
|
+
.. image:: ../../_static/SecondSelect.png
|
|
31
|
+
:width: 100 %
|
|
32
|
+
:scale: 50 %
|
|
33
|
+
|
|
34
|
+
.. note::
|
|
35
|
+
|
|
36
|
+
* This label decoration can be switched off and on via Window->Preferences->General->Appearance->Label Decoration
|
|
37
|
+
|
|
38
|
+
Adjust includes and defines for CDT
|
|
39
|
+
***********************************
|
|
40
|
+
s you might have already seen, a new menu item for the main project is enabled now: Adjust includes and defines for CDT.
|
|
41
|
+
All CDT features work out-of-the-box except those about the `#include` and `#define` statements e.g. auto-completion of includes.
|
|
42
|
+
To import the includes and defines into the CDT .cproject files, simply click on this menu item.
|
|
43
|
+
|
|
44
|
+
Compiler internal includes and defines must be specified in InternalInclude and InternalDefine files.
|
|
45
|
+
See "Syntax" help page how to set the name of these files. Note, that the variables CPPPath, CPath, ASMPath,
|
|
46
|
+
ArchiverPath and LinkerPath can be used in these files.
|
|
47
|
+
|
|
48
|
+
Adjusting can take between a few seconds and a minute depending on the size of the workspace and the number of
|
|
49
|
+
project settings which have to be written.
|
|
50
|
+
|
|
51
|
+
Build/Clean Projects/Files
|
|
52
|
+
**************************
|
|
53
|
+
Now you can build or clean a project by clicking on the appropriate menu items.
|
|
54
|
+
|
|
55
|
+
========================================= =======================================
|
|
56
|
+
Project File
|
|
57
|
+
========================================= =======================================
|
|
58
|
+
.. image:: ../../_static/buildMain.png .. image:: ../../_static/buildFile.png
|
|
59
|
+
========================================= =======================================
|
|
60
|
+
|
|
61
|
+
.. note::
|
|
62
|
+
* Build File always rebuilds the file
|
|
63
|
+
|
|
64
|
+
Result
|
|
65
|
+
******
|
|
66
|
+
|
|
67
|
+
The result of the build will be shown in the Console and Problems View as usual
|
|
68
|
+
|
|
69
|
+
.. image:: ../../_static/console.png
|
|
70
|
+
:width: 100 %
|
|
71
|
+
:scale: 50 %
|
|
72
|
+
|
|
73
|
+
.. image:: ../../_static/problem.png
|
|
74
|
+
:width: 100 %
|
|
75
|
+
:scale: 50 %
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
Preferences
|
|
79
|
+
***********
|
|
80
|
+
|
|
81
|
+
Via `Window->Preferences->bake` some settings can be changed and the bake command line can be extended
|
|
82
|
+
|
|
83
|
+
.. image:: ../../_static/pref.png
|
|
84
|
+
:width: 100 %
|
|
85
|
+
:scale: 50 %
|
|
86
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
IDE Support
|
|
2
|
-
===========
|
|
3
|
-
|
|
4
|
-
.. toctree::
|
|
5
|
-
:maxdepth: 2
|
|
6
|
-
|
|
7
|
-
eclipse/eclipse
|
|
8
|
-
vs/vs
|
|
1
|
+
IDE Support
|
|
2
|
+
===========
|
|
3
|
+
|
|
4
|
+
.. toctree::
|
|
5
|
+
:maxdepth: 2
|
|
6
|
+
|
|
7
|
+
eclipse/eclipse
|
|
8
|
+
vs/vs
|