bake-toolkit 2.27.0 → 2.28.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/bin/bakeqac +3 -3
- data/documentation/_build/html/_sources/changelog.txt +9 -1
- data/documentation/_build/html/_sources/concepts/prebuild.txt +1 -1
- data/documentation/_build/html/_sources/index.txt +1 -1
- data/documentation/_build/html/_sources/known_issues.txt +0 -2
- data/documentation/_build/html/_sources/tips_and_tricks/static_code_analysis.txt +122 -122
- data/documentation/_build/html/_sources/tips_and_tricks/tips_and_tricks.txt +0 -1
- data/documentation/_build/html/_static/syntax.html +18 -13
- data/documentation/_build/html/changelog.html +11 -1
- data/documentation/_build/html/concepts/build_hierarchy.html +1 -1
- data/documentation/_build/html/concepts/inject.html +1 -1
- data/documentation/_build/html/concepts/link_order.html +1 -1
- data/documentation/_build/html/concepts/prebuild.html +1 -1
- data/documentation/_build/html/concepts/the_main_project.html +1 -1
- data/documentation/_build/html/concepts/the_project_meta_file.html +1 -1
- data/documentation/_build/html/ide/eclipse/eclipse.html +1 -1
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +1 -1
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +1 -1
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +1 -1
- data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +1 -1
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +1 -1
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +1 -1
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +1 -1
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +3 -3
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +1 -1
- data/documentation/_build/html/ide/vs/vs.html +1 -1
- data/documentation/_build/html/ide/vs/vs_install.html +1 -1
- data/documentation/_build/html/index.html +4 -5
- data/documentation/_build/html/install/install_bake.html +1 -1
- data/documentation/_build/html/internal.html +1 -1
- data/documentation/_build/html/known_issues.html +1 -3
- data/documentation/_build/html/license.html +1 -1
- data/documentation/_build/html/performance/performance.html +3 -3
- data/documentation/_build/html/quickstart/quickstart.html +1 -1
- data/documentation/_build/html/searchindex.js +1 -1
- data/documentation/_build/html/syntax/auto_adjustment.html +1 -1
- data/documentation/_build/html/syntax/derive_configs.html +1 -1
- data/documentation/_build/html/syntax/project_meta_syntax.html +18 -13
- data/documentation/_build/html/syntax/variable_substitutions.html +1 -1
- data/documentation/_build/html/tips_and_tricks/dot.html +4 -4
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +4 -4
- data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +284 -284
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +6 -6
- data/documentation/_build/html/tips_and_tricks/the_clang.html +2 -2
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +0 -1
- data/documentation/_build/html/why_bake/why_bake.html +3 -3
- data/lib/bake/model/metamodel.rb +2 -6
- data/lib/bake/model/metamodel_ext.rb +9 -0
- data/lib/bake/options/options.rb +11 -38
- data/lib/bake/options/usage.rb +1 -10
- data/lib/bake/subst.rb +12 -3
- data/lib/bake/toolchain/provider.rb +1 -3
- data/lib/bake/util.rb +0 -7
- data/lib/blocks/block.rb +2 -0
- data/lib/blocks/blockBase.rb +2 -8
- data/lib/blocks/commandLine.rb +3 -3
- data/lib/blocks/compile.rb +0 -2
- data/lib/blocks/executable.rb +1 -3
- data/lib/blocks/fileList.rb +53 -0
- data/lib/blocks/has_execute_command.rb +2 -2
- data/lib/blocks/library.rb +0 -2
- data/lib/blocks/makefile.rb +4 -4
- data/lib/common/version.rb +1 -1
- data/lib/tocxx.rb +39 -37
- metadata +3 -6
- data/lib/bake/bundle.rb +0 -159
- data/lib/bake/toolchain/errorparser/lint_error_parser.rb +0 -34
- data/lib/bake/toolchain/lint.rb +0 -19
- data/lib/blocks/lint.rb +0 -56
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1aa0177faf2f9d0cd91e59c197ae0735405be5e2
|
|
4
|
+
data.tar.gz: 0b07115194a535a57b70a67b53afe0f7bf54923d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 142f89f22e3a82d3e115cb0b0067d2744ed39362b41f67b19ac288df71cd2c779c4b15111a981d2ba1075e58c29eb3fd6a284808e3fea5f1351af2dee7eea846
|
|
7
|
+
data.tar.gz: 1732477174d2f3d279218ed5ea46dcf2cfc4887d155d7a3cd16f7ba50f940a1962723be624447edfad2bd9bc85e1854b2f9b25c9dddd3388493f2847fbf72d79
|
data/bin/bakeqac
CHANGED
|
@@ -33,7 +33,7 @@ def self.checkCipSize()
|
|
|
33
33
|
return false
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
def self.executeQacli(cmd,
|
|
36
|
+
def self.executeQacli(cmd, adminStepAndImmediateOutput = false)
|
|
37
37
|
timeStart = Time.now
|
|
38
38
|
cSizeCheck = true
|
|
39
39
|
licenseError = false
|
|
@@ -41,7 +41,8 @@ def self.executeQacli(cmd, immediateOutput = false)
|
|
|
41
41
|
success = false
|
|
42
42
|
|
|
43
43
|
loop do
|
|
44
|
-
|
|
44
|
+
FileUtils.rm_rf @options.qacdata if adminStepAndImmediateOutput
|
|
45
|
+
success, consoleOutput = ProcessHelper.run(cmd, adminStepAndImmediateOutput)
|
|
45
46
|
licenseError = false
|
|
46
47
|
|
|
47
48
|
consoleOutput.each_line do |line|
|
|
@@ -114,7 +115,6 @@ end
|
|
|
114
115
|
|
|
115
116
|
puts "bakeqac: creating database..."
|
|
116
117
|
|
|
117
|
-
FileUtils.rm_rf @options.qacdata
|
|
118
118
|
success, consoleOutput, checkError = executeQacli(cmd, true)
|
|
119
119
|
|
|
120
120
|
if success
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
-
January
|
|
4
|
+
January 3, 2017 - bake-toolkit 2.28.0
|
|
5
|
+
* Added: private flag for configs (cannot be referenced directly from outside of the project).
|
|
6
|
+
* Added: attribute "echo: off" for CommandLine and Makefile.
|
|
7
|
+
* Added: "--file-list" shows all files and headers of the projects.
|
|
8
|
+
* Removed: lint support.
|
|
9
|
+
* Bugfix: environment variables (specified with "Set") can now be set individually for different configs.
|
|
10
|
+
* Changed: qac: again slightly modified cip workaround.
|
|
11
|
+
|
|
12
|
+
January 2, 2017 - bake-toolkit 2.27.0
|
|
5
13
|
* Added: local *Adapt* with conditions (e.g. toolchain), see :ref:`adapt_reference`.
|
|
6
14
|
* Changed: qac: cip workaround slightly adapted, removed temporary debug output.
|
|
7
15
|
|
|
@@ -43,7 +43,7 @@ This prebuild behaviour must be explicitly turned on by using the following the
|
|
|
43
43
|
|
|
44
44
|
--prebuild
|
|
45
45
|
|
|
46
|
-
Note, that if objects files exist, the library will be built from existing object files (glob for
|
|
46
|
+
Note, that if objects files exist, the library will be built from existing object files (glob for \*.o in appropriate build folder). If only the archive exists, the archive will be used without building it.
|
|
47
47
|
|
|
48
48
|
Typical workflow
|
|
49
49
|
----------------
|
|
@@ -1,122 +1,122 @@
|
|
|
1
|
-
Static Code Analysis
|
|
2
|
-
====================
|
|
3
|
-
|
|
4
|
-
Static code analysis often is part or a pre step of the build, even though bake provides presteps which can be used to
|
|
5
|
-
add customized steps, we choose to add explicit support for static code analysis due to the fact that the analysis often
|
|
6
|
-
depends on information well known by the build system (include pahts, compiler flags, etc.). Currently bake has built in
|
|
7
|
-
support for *Pc-Lint*.
|
|
8
|
-
|
|
9
|
-
Lint
|
|
10
|
-
****
|
|
11
|
-
|
|
12
|
-
With bake you can lint LibraryConfigs, ExecutableConfigs, single files and the complete workspace (in this case the projects are linted separately).
|
|
13
|
-
The CPP Toolchain settings of the project are used regardless of the file type and file specific options.
|
|
14
|
-
It is possible to specify lnt-files with LintPolicy, but you can add every other lint command line option as well.
|
|
15
|
-
|
|
16
|
-
Basic Setup
|
|
17
|
-
-----------
|
|
18
|
-
|
|
19
|
-
#. Install `lint <http://www.gimpel.com/html/products.htm>`_.
|
|
20
|
-
#. Make sure the The lint executable 'lint-nt.exe' is in the path.
|
|
21
|
-
|
|
22
|
-
.. attention::
|
|
23
|
-
|
|
24
|
-
even though there is a unix version of pc-lint the asscoated binary name must be lint-nt.exe otherwise
|
|
25
|
-
it won't be recorgnized by the bake build system.
|
|
26
|
-
|
|
27
|
-
After doing this steps you are able to lint your build configurations (LibraryConfigs and ExecutableConfigs) using the *--lint* flag on the command line.
|
|
28
|
-
|
|
29
|
-
Example
|
|
30
|
-
+++++++
|
|
31
|
-
.. code-block:: console
|
|
32
|
-
|
|
33
|
-
User@Host:~$ bake Debug -p MyLibraryProject --lint
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Configuring Lint
|
|
37
|
-
----------------
|
|
38
|
-
|
|
39
|
-
In order to configure lint in the Project.meta file, just use the *LintPolicy* command, which forwards the supplied
|
|
40
|
-
the parameters to lint.
|
|
41
|
-
|
|
42
|
-
.. code-block:: text
|
|
43
|
-
|
|
44
|
-
DefaultToolchain GCC {
|
|
45
|
-
...
|
|
46
|
-
LintPolicy "$(ProjectDir)/lint/misra.lnt"
|
|
47
|
-
LintPolicy "$(ProjectDir)/lint/suppressions.lnt"
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
Example
|
|
51
|
-
+++++++
|
|
52
|
-
|
|
53
|
-
This example shows how to redirect the output to single xml files placed into the main project folder.
|
|
54
|
-
|
|
55
|
-
.. code-block:: text
|
|
56
|
-
|
|
57
|
-
DefaultToolchain GCC {
|
|
58
|
-
LintPolicy "-os($(MainProjectDir)/$(ProjectName)_$(ConfigName)_lintout.xml)"
|
|
59
|
-
LintPolicy "-v"
|
|
60
|
-
LintPolicy "+xml(doc)"
|
|
61
|
-
LintPolicy "-format=%f %l %t %n %m"
|
|
62
|
-
LintPolicy "-format_specific= "
|
|
63
|
-
LintPolicy "-pragma(message)"
|
|
64
|
-
...
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Known Issues
|
|
69
|
-
------------
|
|
70
|
-
bake only searches for lint-nt.exe
|
|
71
|
-
+++++++++++++++++++++++++++++++++++
|
|
72
|
-
**Issue:**
|
|
73
|
-
bake currently does not search for all possible names of the lint application, it only searches for a file called *lint-nt.exe*.
|
|
74
|
-
|
|
75
|
-
**Solution:**
|
|
76
|
-
If you have another lint command (e.g. because you are using flexe lint on unix)
|
|
77
|
-
just create an symlink/alias which is called *lint-nt.exe*.
|
|
78
|
-
|
|
79
|
-
Lint fails due to missing compiler includes and defines
|
|
80
|
-
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
81
|
-
**Issue:**
|
|
82
|
-
Lint will fail if compiler internal includes and defines are missing.
|
|
83
|
-
|
|
84
|
-
**Solution:**
|
|
85
|
-
|
|
86
|
-
Lint comes with some helper files, handle this issue. In order to get a list of all needed
|
|
87
|
-
helper files e.g. for GCC, use the following command.
|
|
88
|
-
|
|
89
|
-
.. code-block:: console
|
|
90
|
-
|
|
91
|
-
User@Host:~$ make -f .../PcLint/../lnt/co-gcc.mak
|
|
92
|
-
|
|
93
|
-
You will get a output like this:
|
|
94
|
-
|
|
95
|
-
.. code-block:: text
|
|
96
|
-
|
|
97
|
-
gcc-include-path.lnt, lint_cmac.h, lint_cppmac.h and size-options.lnt.
|
|
98
|
-
|
|
99
|
-
You can now add the needed includes and LintPolicies (.lnt files) to your bake
|
|
100
|
-
configuration.
|
|
101
|
-
|
|
102
|
-
Lint error due to too many includes
|
|
103
|
-
+++++++++++++++++++++++++++++++++++
|
|
104
|
-
|
|
105
|
-
**Issue:**
|
|
106
|
-
In rare cases lint has problems if it has to open too many (include) files.
|
|
107
|
-
|
|
108
|
-
**Solution:**
|
|
109
|
-
You can use the *--lint-max* and the *--lint-min* options to get around this issue.
|
|
110
|
-
|
|
111
|
-
Example:
|
|
112
|
-
|
|
113
|
-
.. code-block:: console
|
|
114
|
-
|
|
115
|
-
User@Host:~$ bake Debug -p MyLibraryProject --lint --lint-max 50 #(lints the first 51 files)
|
|
116
|
-
User@Host:~$ bake Debug -p MyLibraryProject --lint --lint-min 51 --lint-max 100 #(lints the next 50 files)
|
|
117
|
-
User@Host:~$ bake Debug -p MyLibraryProject --lint --lint-min 101 #(lints the rest of the files)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
.. Clang Analyze
|
|
121
|
-
.. *************
|
|
122
|
-
|
|
1
|
+
Static Code Analysis
|
|
2
|
+
====================
|
|
3
|
+
|
|
4
|
+
Static code analysis often is part or a pre step of the build, even though bake provides presteps which can be used to
|
|
5
|
+
add customized steps, we choose to add explicit support for static code analysis due to the fact that the analysis often
|
|
6
|
+
depends on information well known by the build system (include pahts, compiler flags, etc.). Currently bake has built in
|
|
7
|
+
support for *Pc-Lint*.
|
|
8
|
+
|
|
9
|
+
Lint
|
|
10
|
+
****
|
|
11
|
+
|
|
12
|
+
With bake you can lint LibraryConfigs, ExecutableConfigs, single files and the complete workspace (in this case the projects are linted separately).
|
|
13
|
+
The CPP Toolchain settings of the project are used regardless of the file type and file specific options.
|
|
14
|
+
It is possible to specify lnt-files with LintPolicy, but you can add every other lint command line option as well.
|
|
15
|
+
|
|
16
|
+
Basic Setup
|
|
17
|
+
-----------
|
|
18
|
+
|
|
19
|
+
#. Install `lint <http://www.gimpel.com/html/products.htm>`_.
|
|
20
|
+
#. Make sure the The lint executable 'lint-nt.exe' is in the path.
|
|
21
|
+
|
|
22
|
+
.. attention::
|
|
23
|
+
|
|
24
|
+
even though there is a unix version of pc-lint the asscoated binary name must be lint-nt.exe otherwise
|
|
25
|
+
it won't be recorgnized by the bake build system.
|
|
26
|
+
|
|
27
|
+
After doing this steps you are able to lint your build configurations (LibraryConfigs and ExecutableConfigs) using the *--lint* flag on the command line.
|
|
28
|
+
|
|
29
|
+
Example
|
|
30
|
+
+++++++
|
|
31
|
+
.. code-block:: console
|
|
32
|
+
|
|
33
|
+
User@Host:~$ bake Debug -p MyLibraryProject --lint
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
Configuring Lint
|
|
37
|
+
----------------
|
|
38
|
+
|
|
39
|
+
In order to configure lint in the Project.meta file, just use the *LintPolicy* command, which forwards the supplied
|
|
40
|
+
the parameters to lint.
|
|
41
|
+
|
|
42
|
+
.. code-block:: text
|
|
43
|
+
|
|
44
|
+
DefaultToolchain GCC {
|
|
45
|
+
...
|
|
46
|
+
LintPolicy "$(ProjectDir)/lint/misra.lnt"
|
|
47
|
+
LintPolicy "$(ProjectDir)/lint/suppressions.lnt"
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
Example
|
|
51
|
+
+++++++
|
|
52
|
+
|
|
53
|
+
This example shows how to redirect the output to single xml files placed into the main project folder.
|
|
54
|
+
|
|
55
|
+
.. code-block:: text
|
|
56
|
+
|
|
57
|
+
DefaultToolchain GCC {
|
|
58
|
+
LintPolicy "-os($(MainProjectDir)/$(ProjectName)_$(ConfigName)_lintout.xml)"
|
|
59
|
+
LintPolicy "-v"
|
|
60
|
+
LintPolicy "+xml(doc)"
|
|
61
|
+
LintPolicy "-format=%f %l %t %n %m"
|
|
62
|
+
LintPolicy "-format_specific= "
|
|
63
|
+
LintPolicy "-pragma(message)"
|
|
64
|
+
...
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Known Issues
|
|
69
|
+
------------
|
|
70
|
+
bake only searches for lint-nt.exe
|
|
71
|
+
+++++++++++++++++++++++++++++++++++
|
|
72
|
+
**Issue:**
|
|
73
|
+
bake currently does not search for all possible names of the lint application, it only searches for a file called *lint-nt.exe*.
|
|
74
|
+
|
|
75
|
+
**Solution:**
|
|
76
|
+
If you have another lint command (e.g. because you are using flexe lint on unix)
|
|
77
|
+
just create an symlink/alias which is called *lint-nt.exe*.
|
|
78
|
+
|
|
79
|
+
Lint fails due to missing compiler includes and defines
|
|
80
|
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
81
|
+
**Issue:**
|
|
82
|
+
Lint will fail if compiler internal includes and defines are missing.
|
|
83
|
+
|
|
84
|
+
**Solution:**
|
|
85
|
+
|
|
86
|
+
Lint comes with some helper files, handle this issue. In order to get a list of all needed
|
|
87
|
+
helper files e.g. for GCC, use the following command.
|
|
88
|
+
|
|
89
|
+
.. code-block:: console
|
|
90
|
+
|
|
91
|
+
User@Host:~$ make -f .../PcLint/../lnt/co-gcc.mak
|
|
92
|
+
|
|
93
|
+
You will get a output like this:
|
|
94
|
+
|
|
95
|
+
.. code-block:: text
|
|
96
|
+
|
|
97
|
+
gcc-include-path.lnt, lint_cmac.h, lint_cppmac.h and size-options.lnt.
|
|
98
|
+
|
|
99
|
+
You can now add the needed includes and LintPolicies (.lnt files) to your bake
|
|
100
|
+
configuration.
|
|
101
|
+
|
|
102
|
+
Lint error due to too many includes
|
|
103
|
+
+++++++++++++++++++++++++++++++++++
|
|
104
|
+
|
|
105
|
+
**Issue:**
|
|
106
|
+
In rare cases lint has problems if it has to open too many (include) files.
|
|
107
|
+
|
|
108
|
+
**Solution:**
|
|
109
|
+
You can use the *--lint-max* and the *--lint-min* options to get around this issue.
|
|
110
|
+
|
|
111
|
+
Example:
|
|
112
|
+
|
|
113
|
+
.. code-block:: console
|
|
114
|
+
|
|
115
|
+
User@Host:~$ bake Debug -p MyLibraryProject --lint --lint-max 50 #(lints the first 51 files)
|
|
116
|
+
User@Host:~$ bake Debug -p MyLibraryProject --lint --lint-min 51 --lint-max 100 #(lints the next 50 files)
|
|
117
|
+
User@Host:~$ bake Debug -p MyLibraryProject --lint --lint-min 101 #(lints the rest of the files)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
.. Clang Analyze
|
|
121
|
+
.. *************
|
|
122
|
+
|
|
@@ -65,7 +65,9 @@ z-index: 100;
|
|
|
65
65
|
<span class="mycomment"># 0..n configs</span><br>
|
|
66
66
|
<span class="showRadio" onMouseover="showExecutableConfig()" onMouseout="notip()" id="executableConfig">ExecutableConfig</span> |
|
|
67
67
|
<span class="hideRadio" onMouseover="showLibraryConfig()" onMouseout="notip()" id="libraryConfig">LibraryConfig</span> |
|
|
68
|
-
<span class="hideRadio" onMouseover="showCustomConfig()" onMouseout="notip()" id="customConfig">CustomConfig</span> <name>,
|
|
68
|
+
<span class="hideRadio" onMouseover="showCustomConfig()" onMouseout="notip()" id="customConfig">CustomConfig</span> <name>,
|
|
69
|
+
<span class="help" onMouseover="showExtends()" onMouseout="notip()">extends</span>: <parent(s)>,
|
|
70
|
+
<span class="help" onMouseover="showPrivate()" onMouseout="notip()">private</span>: true|false {<br><br>
|
|
69
71
|
|
|
70
72
|
<span><span style="background-color:#EEEEEE;" class="show">
|
|
71
73
|
<span class="mycomment"># Valid for all config types</span><br><br>
|
|
@@ -85,12 +87,14 @@ z-index: 100;
|
|
|
85
87
|
<span class="help" onMouseover="showMakefilePathTo()" onMouseout="notip()">pathTo</span>: <paths>,
|
|
86
88
|
<span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
|
|
87
89
|
<span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: <name>,
|
|
90
|
+
<span class="help" onMouseover="showEcho()" onMouseout="notip()">echo</span>: on|off,
|
|
88
91
|
<span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: <[array]> {<br>
|
|
89
92
|
<span class="help" onMouseover="showMakefileFlags()" onMouseout="notip()">Flags</span> <flags><br>
|
|
90
93
|
}<br>
|
|
91
94
|
<span class="help" onMouseover="showCommandLine()" onMouseout="notip()">CommandLine</span> <line>,
|
|
92
95
|
<span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
|
|
93
96
|
<span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: <name>,
|
|
97
|
+
<span class="help" onMouseover="showEcho()" onMouseout="notip()">echo</span>: on|off,
|
|
94
98
|
<span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: <[array]><br>
|
|
95
99
|
}<br>
|
|
96
100
|
<span class="help" onMouseover="showPostSteps()" onMouseout="notip()">PostSteps</span> {<br>
|
|
@@ -120,7 +124,6 @@ z-index: 100;
|
|
|
120
124
|
<span class="help" onMouseover="showLibPostfixFlags()" onMouseout="notip()">LibPostfixFlags</span> <flags><br>
|
|
121
125
|
}<br>
|
|
122
126
|
<span class="help" onMouseover="showInternalIncludes()" onMouseout="notip()">InternalIncludes</span> <file><br>
|
|
123
|
-
<span class="help" onMouseover="showDefaultLintPolicy()" onMouseout="notip()">LintPolicy</span> <policy><br>
|
|
124
127
|
<span class="help" onMouseover="showDocu()" onMouseout="notip()">Docu</span> <cmdLine><br>
|
|
125
128
|
}<br>
|
|
126
129
|
|
|
@@ -141,7 +144,6 @@ z-index: 100;
|
|
|
141
144
|
<span class="help" onMouseover="showLibPrefixFlags()" onMouseout="notip()">LibPrefixFlags</span> <flags>, add: <flags>, remove: <flags><br>
|
|
142
145
|
<span class="help" onMouseover="showLibPostfixFlags()" onMouseout="notip()">LibPostfixFlags</span> <flags>, add: <flags>, remove: <flags><br>
|
|
143
146
|
}<br>
|
|
144
|
-
<span class="help" onMouseover="showLintPolicy()" onMouseout="notip()">LintPolicy</span> <policy><br>
|
|
145
147
|
<span class="help" onMouseover="showDocu()" onMouseout="notip()">Docu</span> <cmdLine><br>
|
|
146
148
|
}<br>
|
|
147
149
|
<span class="help" onMouseover="showPrebuild()" onMouseout="notip()">Prebuild</span> {<br>
|
|
@@ -177,6 +179,7 @@ z-index: 100;
|
|
|
177
179
|
<span class="help" onMouseover="showMakefilePathTo()" onMouseout="notip()">pathTo</span>: <paths>,
|
|
178
180
|
<span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
|
|
179
181
|
<span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: <name>,
|
|
182
|
+
<span class="help" onMouseover="showEcho()" onMouseout="notip()">echo</span>: on|off,
|
|
180
183
|
<span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: <[array]> {<br>
|
|
181
184
|
<span class="help" onMouseover="showMakefileFlags()" onMouseout="notip()">Flags</span> <flags><br>
|
|
182
185
|
}<br>
|
|
@@ -184,13 +187,14 @@ z-index: 100;
|
|
|
184
187
|
<span style="background-color:#DDDDDD;" id="commandline_part" class="hide"><line>,
|
|
185
188
|
<span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
|
|
186
189
|
<span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: <name>,
|
|
190
|
+
<span class="help" onMouseover="showEcho()" onMouseout="notip()">echo</span>: on|off,
|
|
187
191
|
<span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: <[array]>
|
|
188
192
|
</span>
|
|
189
193
|
<br></span><br></span>
|
|
190
194
|
}<br>
|
|
191
195
|
}<br><br>
|
|
192
|
-
Adapt toolchain: <name>, os: <name>, mainProject: <name>, mainConfig: <name>{<br>
|
|
193
|
-
|
|
196
|
+
Adapt toolchain: <name>, os: <name>, mainProject: <name>, mainConfig: <name> {<br>
|
|
197
|
+
<span class="mycomment"># See Adapt documention for details.</span><br>
|
|
194
198
|
}<br>
|
|
195
199
|
|
|
196
200
|
|
|
@@ -345,6 +349,11 @@ function showStepDefault() {
|
|
|
345
349
|
ddrivetip("default", "No","-","on",str)
|
|
346
350
|
}
|
|
347
351
|
|
|
352
|
+
function showEcho() {
|
|
353
|
+
str = 'On means the command line is shown in output, off means the command line is not shown.'
|
|
354
|
+
ddrivetip("echo", "No","-","on",str)
|
|
355
|
+
}
|
|
356
|
+
|
|
348
357
|
function showStepFilter() {
|
|
349
358
|
str = 'A step can be switched on or off explicitly regardless of the "default" attribute with the command line options<br>'+
|
|
350
359
|
'<i> --do <filter name></i><br>'+
|
|
@@ -429,6 +438,10 @@ function showExtends() {
|
|
|
429
438
|
ddrivetip("extends", "No","0..1","-","Inherit settings from parent config(s).<br>For more information see docu page 'Derive configs'.")
|
|
430
439
|
}
|
|
431
440
|
|
|
441
|
+
function showPrivate() {
|
|
442
|
+
ddrivetip("private", "No","0..1","false","If true, the config cannot be referenced directly outside of this project.")
|
|
443
|
+
}
|
|
444
|
+
|
|
432
445
|
function showFiles() {
|
|
433
446
|
str = 'Specifies the files to build.<br>'+
|
|
434
447
|
'It\'s valid to specify a single file, e.g.<br>'+
|
|
@@ -616,10 +629,6 @@ function showLinker() {
|
|
|
616
629
|
ddrivetip("Linker", "No","0..1","-","Makes sense only for ExecutableConfigs.")
|
|
617
630
|
}
|
|
618
631
|
|
|
619
|
-
function showLintPolicy() {
|
|
620
|
-
ddrivetip("LintPolicy", "No","0..n","-","lnt-file - but it can be used for any other command line option for Lint.")
|
|
621
|
-
}
|
|
622
|
-
|
|
623
632
|
function showDocu() {
|
|
624
633
|
ddrivetip("Docu", "No","0..1","-","Command to build the documentation. e.g.:<br>doxygen main.cfg")
|
|
625
634
|
}
|
|
@@ -652,10 +661,6 @@ function showDefaultLinker() {
|
|
|
652
661
|
ddrivetip("Linker", "No","0..1","-","Default settings for the linker.")
|
|
653
662
|
}
|
|
654
663
|
|
|
655
|
-
function showDefaultLintPolicy() {
|
|
656
|
-
ddrivetip("LintPolicy", "No","0..n","-","lnt-file - but it can be used for any other command line option for Lint.")
|
|
657
|
-
}
|
|
658
|
-
|
|
659
664
|
function showCommand() {
|
|
660
665
|
ddrivetip("command", "No","-","Depending on toolchain, e.g. \"gcc\"","Change command, e.g. \"$(PATH_TO_EXE)/gcc_speciale.exe\"")
|
|
661
666
|
}
|
|
@@ -140,7 +140,17 @@
|
|
|
140
140
|
<div class="section" id="changelog">
|
|
141
141
|
<h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
|
|
142
142
|
<dl class="docutils">
|
|
143
|
-
<dt>January
|
|
143
|
+
<dt>January 3, 2017 - bake-toolkit 2.28.0</dt>
|
|
144
|
+
<dd><ul class="first last simple">
|
|
145
|
+
<li>Added: private flag for configs (cannot be referenced directly from outside of the project).</li>
|
|
146
|
+
<li>Added: attribute “echo: off” for CommandLine and Makefile.</li>
|
|
147
|
+
<li>Added: “–file-list” shows all files and headers of the projects.</li>
|
|
148
|
+
<li>Removed: lint support.</li>
|
|
149
|
+
<li>Bugfix: environment variables (specified with “Set”) can now be set individually for different configs.</li>
|
|
150
|
+
<li>Changed: qac: again slightly modified cip workaround.</li>
|
|
151
|
+
</ul>
|
|
152
|
+
</dd>
|
|
153
|
+
<dt>January 2, 2017 - bake-toolkit 2.27.0</dt>
|
|
144
154
|
<dd><ul class="first last simple">
|
|
145
155
|
<li>Added: local <em>Adapt</em> with conditions (e.g. toolchain), see <a class="reference internal" href="syntax/adapt_configs.html#adapt-reference"><span>Adapt configs</span></a>.</li>
|
|
146
156
|
<li>Changed: qac: cip workaround slightly adapted, removed temporary debug output.</li>
|