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.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/bin/bakeqac +3 -3
  3. data/documentation/_build/html/_sources/changelog.txt +9 -1
  4. data/documentation/_build/html/_sources/concepts/prebuild.txt +1 -1
  5. data/documentation/_build/html/_sources/index.txt +1 -1
  6. data/documentation/_build/html/_sources/known_issues.txt +0 -2
  7. data/documentation/_build/html/_sources/tips_and_tricks/static_code_analysis.txt +122 -122
  8. data/documentation/_build/html/_sources/tips_and_tricks/tips_and_tricks.txt +0 -1
  9. data/documentation/_build/html/_static/syntax.html +18 -13
  10. data/documentation/_build/html/changelog.html +11 -1
  11. data/documentation/_build/html/concepts/build_hierarchy.html +1 -1
  12. data/documentation/_build/html/concepts/inject.html +1 -1
  13. data/documentation/_build/html/concepts/link_order.html +1 -1
  14. data/documentation/_build/html/concepts/prebuild.html +1 -1
  15. data/documentation/_build/html/concepts/the_main_project.html +1 -1
  16. data/documentation/_build/html/concepts/the_project_meta_file.html +1 -1
  17. data/documentation/_build/html/ide/eclipse/eclipse.html +1 -1
  18. data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +1 -1
  19. data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +1 -1
  20. data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +1 -1
  21. data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +1 -1
  22. data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +1 -1
  23. data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +1 -1
  24. data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +1 -1
  25. data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +3 -3
  26. data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +1 -1
  27. data/documentation/_build/html/ide/vs/vs.html +1 -1
  28. data/documentation/_build/html/ide/vs/vs_install.html +1 -1
  29. data/documentation/_build/html/index.html +4 -5
  30. data/documentation/_build/html/install/install_bake.html +1 -1
  31. data/documentation/_build/html/internal.html +1 -1
  32. data/documentation/_build/html/known_issues.html +1 -3
  33. data/documentation/_build/html/license.html +1 -1
  34. data/documentation/_build/html/performance/performance.html +3 -3
  35. data/documentation/_build/html/quickstart/quickstart.html +1 -1
  36. data/documentation/_build/html/searchindex.js +1 -1
  37. data/documentation/_build/html/syntax/auto_adjustment.html +1 -1
  38. data/documentation/_build/html/syntax/derive_configs.html +1 -1
  39. data/documentation/_build/html/syntax/project_meta_syntax.html +18 -13
  40. data/documentation/_build/html/syntax/variable_substitutions.html +1 -1
  41. data/documentation/_build/html/tips_and_tricks/dot.html +4 -4
  42. data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +4 -4
  43. data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +284 -284
  44. data/documentation/_build/html/tips_and_tricks/the_bakery.html +6 -6
  45. data/documentation/_build/html/tips_and_tricks/the_clang.html +2 -2
  46. data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +0 -1
  47. data/documentation/_build/html/why_bake/why_bake.html +3 -3
  48. data/lib/bake/model/metamodel.rb +2 -6
  49. data/lib/bake/model/metamodel_ext.rb +9 -0
  50. data/lib/bake/options/options.rb +11 -38
  51. data/lib/bake/options/usage.rb +1 -10
  52. data/lib/bake/subst.rb +12 -3
  53. data/lib/bake/toolchain/provider.rb +1 -3
  54. data/lib/bake/util.rb +0 -7
  55. data/lib/blocks/block.rb +2 -0
  56. data/lib/blocks/blockBase.rb +2 -8
  57. data/lib/blocks/commandLine.rb +3 -3
  58. data/lib/blocks/compile.rb +0 -2
  59. data/lib/blocks/executable.rb +1 -3
  60. data/lib/blocks/fileList.rb +53 -0
  61. data/lib/blocks/has_execute_command.rb +2 -2
  62. data/lib/blocks/library.rb +0 -2
  63. data/lib/blocks/makefile.rb +4 -4
  64. data/lib/common/version.rb +1 -1
  65. data/lib/tocxx.rb +39 -37
  66. metadata +3 -6
  67. data/lib/bake/bundle.rb +0 -159
  68. data/lib/bake/toolchain/errorparser/lint_error_parser.rb +0 -34
  69. data/lib/bake/toolchain/lint.rb +0 -19
  70. data/lib/blocks/lint.rb +0 -56
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0e1f90912811da36dbf1370d42792187d92ad06
4
- data.tar.gz: f3b95ad81adb8298b0ac6bbc2efd1527a797a276
3
+ metadata.gz: 1aa0177faf2f9d0cd91e59c197ae0735405be5e2
4
+ data.tar.gz: 0b07115194a535a57b70a67b53afe0f7bf54923d
5
5
  SHA512:
6
- metadata.gz: 189d2546359dcd6469d9780f70d753c73875f4ed382697e3ea9214fc139f3c10aece6baa9ffac3f54dfd824a4e14e4bb926a01e8756d1e4bdfd10e031d2de9e4
7
- data.tar.gz: d10fa61a1f6e25b653f8c778e3a58cb6e06e5e2a1f839429100b7ebc1aecd77266d423faffd565446b5228ed3e9d775c55e1171f24e70d26f8ce3f7fe73bd4e6
6
+ metadata.gz: 142f89f22e3a82d3e115cb0b0067d2744ed39362b41f67b19ac288df71cd2c779c4b15111a981d2ba1075e58c29eb3fd6a284808e3fea5f1351af2dee7eea846
7
+ data.tar.gz: 1732477174d2f3d279218ed5ea46dcf2cfc4887d155d7a3cd16f7ba50f940a1962723be624447edfad2bd9bc85e1854b2f9b25c9dddd3388493f2847fbf72d79
@@ -33,7 +33,7 @@ def self.checkCipSize()
33
33
  return false
34
34
  end
35
35
 
36
- def self.executeQacli(cmd, immediateOutput = false)
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
- success, consoleOutput = ProcessHelper.run(cmd, immediateOutput)
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 x, 2017 - bake-toolkit 2.27.0
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 *.o in appropriate build folder). If only the archive exists, the archive will be used without building it.
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,4 +1,4 @@
1
- bake 2.27.0
1
+ bake 2.28.0
2
2
  ==========================================
3
3
  bake, building software **fast** and **easy**!
4
4
 
@@ -5,5 +5,3 @@ Known Issues
5
5
  * Workaround 1: Clean the project.
6
6
  * Workaround 2: Delete the archive/executable manually.
7
7
  * Workaround 3: Touch, edit, create another source file.
8
-
9
- * Issue: Lint output not shown during linting (has to be refactored)
@@ -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
+
@@ -5,7 +5,6 @@ Additional features
5
5
  :maxdepth: 1
6
6
 
7
7
  the_bakery
8
- static_code_analysis
9
8
  how_to_use_bake_with_cygwin
10
9
  the_clang
11
10
  dot
@@ -65,7 +65,9 @@ z-index: 100;
65
65
  &nbsp; <span class="mycomment"># 0..n configs</span><br>
66
66
  &nbsp; <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> &#60;name&#62;, <span class="help" onMouseover="showExtends()" onMouseout="notip()">extends</span>: &#60;parent(s)&#62; {<br><br>
68
+ <span class="hideRadio" onMouseover="showCustomConfig()" onMouseout="notip()" id="customConfig">CustomConfig</span> &#60;name&#62;,
69
+ <span class="help" onMouseover="showExtends()" onMouseout="notip()">extends</span>: &#60;parent(s)&#62;,
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
  &nbsp; &nbsp; <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>: &#60;paths&#62;,
86
88
  <span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
87
89
  <span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: &#60;name&#62;,
90
+ <span class="help" onMouseover="showEcho()" onMouseout="notip()">echo</span>: on|off,
88
91
  <span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: &#60;[array]&#62; {<br>
89
92
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showMakefileFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;<br>
90
93
  &nbsp; &nbsp; &nbsp; }<br>
91
94
  &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showCommandLine()" onMouseout="notip()">CommandLine</span> &#60;line&#62;,
92
95
  <span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
93
96
  <span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: &#60;name&#62;,
97
+ <span class="help" onMouseover="showEcho()" onMouseout="notip()">echo</span>: on|off,
94
98
  <span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: &#60;[array]&#62;<br>
95
99
  &nbsp; &nbsp; }<br>
96
100
  &nbsp; &nbsp; <span class="help" onMouseover="showPostSteps()" onMouseout="notip()">PostSteps</span> {<br>
@@ -120,7 +124,6 @@ z-index: 100;
120
124
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showLibPostfixFlags()" onMouseout="notip()">LibPostfixFlags</span> &#60;flags&#62;<br>
121
125
  &nbsp; &nbsp; &nbsp; }<br>
122
126
  &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showInternalIncludes()" onMouseout="notip()">InternalIncludes</span> &#60;file&#62;<br>
123
- &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showDefaultLintPolicy()" onMouseout="notip()">LintPolicy</span> &#60;policy&#62;<br>
124
127
  &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showDocu()" onMouseout="notip()">Docu</span> &#60;cmdLine&#62;<br>
125
128
  &nbsp; &nbsp; }<br>
126
129
 
@@ -141,7 +144,6 @@ z-index: 100;
141
144
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showLibPrefixFlags()" onMouseout="notip()">LibPrefixFlags</span> &#60;flags&#62;, add: &#60;flags&#62;, remove: &#60;flags&#62<br>
142
145
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showLibPostfixFlags()" onMouseout="notip()">LibPostfixFlags</span> &#60;flags&#62;, add: &#60;flags&#62;, remove: &#60;flags&#62<br>
143
146
  &nbsp; &nbsp; &nbsp; }<br>
144
- &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showLintPolicy()" onMouseout="notip()">LintPolicy</span> &#60;policy&#62;<br>
145
147
  &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showDocu()" onMouseout="notip()">Docu</span> &#60;cmdLine&#62;<br>
146
148
  &nbsp; &nbsp; }<br>
147
149
  &nbsp; &nbsp; <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>: &#60;paths&#62;,
178
180
  <span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
179
181
  <span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: &#60;name&#62;,
182
+ <span class="help" onMouseover="showEcho()" onMouseout="notip()">echo</span>: on|off,
180
183
  <span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: &#60;[array]&#62; {<br>
181
184
  &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showMakefileFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;<br>
182
185
  &nbsp; &nbsp; }<br>
@@ -184,13 +187,14 @@ z-index: 100;
184
187
  <span style="background-color:#DDDDDD;" id="commandline_part" class="hide">&#60;line&#62;,
185
188
  <span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
186
189
  <span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: &#60;name&#62;,
190
+ <span class="help" onMouseover="showEcho()" onMouseout="notip()">echo</span>: on|off,
187
191
  <span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: &#60;[array]&#62;
188
192
  </span>
189
193
  &nbsp; &nbsp; <br></span><br></span>
190
194
  &nbsp; }<br>
191
195
  }<br><br>
192
- Adapt toolchain: &#60;name&#62;, os: &#60;name&#62;, mainProject: &#60;name&#62;, mainConfig: &#60;name&#62;{<br>
193
- ... see adapt documention for details.<br>
196
+ Adapt toolchain: &#60;name&#62;, os: &#60;name&#62;, mainProject: &#60;name&#62;, mainConfig: &#60;name&#62; {<br>
197
+ &nbsp; <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> &nbsp; &nbsp; --do &#60;filter name&#62;</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 x, 2017 - bake-toolkit 2.27.0</dt>
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 &#8220;echo: off&#8221; for CommandLine and Makefile.</li>
147
+ <li>Added: &#8220;&#8211;file-list&#8221; shows all files and headers of the projects.</li>
148
+ <li>Removed: lint support.</li>
149
+ <li>Bugfix: environment variables (specified with &#8220;Set&#8221;) 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>