1 Tue Jan 7 01:55:14 UTC 2020 Chad Elliott <elliottc@objectcomputing.com>
3 * modules/ProjectCreator.pm:
5 Do not make a copy of the flag overrides hash when the files are
6 part of the same component group. We make the copy later on when
7 we are modifying the overrides for tied files.
9 Mon Jan 6 06:21:29 UTC 2020 Chad Elliott <elliottc@objectcomputing.com>
11 * modules/ProjectCreator.pm:
13 Make a copy of the flag override hash when connecting it to a
14 file so that we do not inadvertantly modify multiple flag overrides
15 when modifying flag overrides for a single file.
17 Mon Jul 1 18:35:43 UTC 2019 Chad Elliott <elliottc@objectcomputing.com>
19 * modules/TemplateParser.pm:
21 Check the result of file_sorter() since it does not return
22 true/false, it returns -1,0,1.
24 Fri Jun 28 15:52:37 UTC 2019 Chad Elliott <elliottc@objectcomputing.com>
26 * modules/TemplateParser.pm:
28 Added a template function, is_custom_input, which takes a file
29 as the parameter and checks it against all custom input files. It
30 returns true/false when used in a <%if()%> context.
34 Use the 'is_custom_input' function template to ensure that files
35 listed as custom type inputs are not listed under template_files,
36 header_files, inline_files, documentation_files, or resource_files.
37 If a custom type input is also listed under source_files, we will
38 leave it to the user to resolve this externally.
40 This is technically only required for certain versions of vs2017 and
41 vs2019, but in order to provide this functionality for just those
42 two types would require a duplication of the vc10 template with a
43 few minor adjustments. Future fixes to the vc10 template would have
44 needed to have been propagated to the slightly different vs2017
45 template. To simplify maintenance, I just made the changes to this
48 Mon Jun 17 14:17:49 UTC 2019 Chad Elliott <elliottc@objectcomputing.com>
50 * modules/CommandHelper.pm:
51 * modules/ProjectCreator.pm:
53 Provide a ProjectCreator reference to the CommandHelper.
55 Wed May 22 13:21:16 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
57 * docs/templates/iar.txt:
61 Added a 'gruntimelibselect' template variable to change the DLib
64 Tue May 21 11:16:16 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
68 Added support for the 'linkflags' template variable.
70 Fri May 17 14:42:45 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
73 * modules/IARProjectCreator.pm:
74 * modules/IARWorkspaceCreator.pm:
76 If a project type requires relative paths, locate a relative path
77 when replacing $() variables if at all possible.
79 * modules/ProjectCreator.pm:
80 * modules/TemplateParser.pm:
83 A new template function, 'extension', can be used to get the
84 extension of a file. Additionally, non-template files can now be
85 obtained through the custom input file interface.
87 Thu May 16 18:04:40 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
91 Prepend $PROJ_DIR$ if the 'ilinkicffile' template variable is
92 relative to the project directory.
94 Thu May 16 17:46:26 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
96 * modules/DirectoryManager.pm:
97 * modules/IARWorkspaceCreator.pm:
98 * modules/TemplateParser.pm:
101 Made it so the $WS_DIR$ and $PROJ_DIR$ variables are prepended
102 only if the path is relative.
104 Wed May 15 18:25:52 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
108 Exclude template files from the build.
110 Fri May 10 16:09:37 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
114 Added support for passing compiler flags through the compile_flags
117 Mon May 6 16:35:07 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
121 Changed the configuration names as the previous names implied
122 something that was not necessarily true.
124 Mon Apr 29 17:23:19 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
128 Added optimization options and custom build rules.
130 Mon Apr 22 13:57:40 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
132 * modules/CDT6WorkspaceCreator.pm:
133 * modules/DirectoryManager.pm:
134 * modules/TemplateParser.pm:
135 * modules/WorkspaceCreator.pm:
137 Replaced calls to Cwd::abs_path with an implementation in
138 DirectoryManger that accounts for needs of Win32 specific
144 Fixes for linking executables and creating libraries. Also
145 added the use of lib_modifier.
147 Thu Apr 18 22:18:20 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
151 * docs/templates/iar.txt:
152 * modules/IARProjectCreator.pm:
153 * modules/IARWorkspaceCreator.pm:
157 Added an initial, simplistic IAR workspace/project generator.
158 There will be more changes to fully suport this IDE.
160 Mon May 21 14:33:24 UTC 2018 Adam Mitz <mitza@objectcomputing.com>
162 * templates/vc10.mpd:
164 Generate less XML for custom files with no build step.
166 * templates/vs2017platforms.mpt:
168 Updated default SDK version to match the current update of VS2017.
170 Wed May 16 14:43:23 UTC 2018 Chad Elliott <elliott_c@ociweb.com>
172 * docs/templates/uvis.txt:
174 Documented the uvis.mpd template.
176 Fri Jan 19 01:52:54 UTC 2018 Frederick Hornsey <fred@hornsey.us>
178 * config/wireshark.mpb:
179 * config/global.features:
181 When using Wireshark builds built using Autoconf (like Linux),
182 Wireshark 1.x on Windows, and systems where Wireshark headers are
183 installed, use the wireshark feature as before.
185 When using Wireshark builds built with CMake use wireshark_cmake
186 set to the Wireshark source, $WIRESHARK_BUILD set to the build
187 directory and $WIRESHARK_LIB set to relative path inside the build
188 directory that contains the Wireshark dynamic libraries. These
189 parameters replace wireshark2, $WIRESHARK2_BUILD, and
192 Mon Jan 15 17:31:47 UTC 2018 Frederick Hornsey <fred@hornsey.us>
194 * config/wireshark.mpb:
195 * config/global.features:
197 Added parameters for Wireshark 2 on Windows.
202 Thu Jan 11 18:43:46 UTC 2018 Adam Mitz <mitza@ociweb.com>
204 * clone_build_tree.pl:
206 Treat the .git directory the same as .svn and CVS.
208 Mon Aug 7 14:23:34 UTC 2017 Adam Mitz <mitza@ociweb.com>
212 Updated README for vc/vs version numbers.
214 Fri May 12 11:12:03 UTC 2017 Chad Elliott <elliott_c@ociweb.com>
216 * templates/uvis.mpd:
218 Added 'linkflags' to affect the linker options.
220 Thu Mar 23 19:33:48 UTC 2017 Adam Mitz <mitza@ociweb.com>
222 * config/pin_base.mpb:
223 * config/pin_tool.mpb:
225 * config/wireshark.mpb:
227 * docs/html/MakeProjectCreator.html:
228 * modules/VS2017ProjectCreator.pm:
229 * modules/VS2017WorkspaceCreator.pm:
231 * templates/vs2017dll.mpt:
232 * templates/vs2017exe.mpt:
233 * templates/vs2017lib.mpt:
234 * templates/vs2017libexe.mpt:
235 * templates/vs2017platforms.mpt:
237 Renamed "-type vc15" to vs2017. Updated documentation.
239 * modules/VC15ProjectCreator.pm:
240 * modules/VC15WorkspaceCreator.pm:
241 * templates/vc15dll.mpt:
242 * templates/vc15exe.mpt:
243 * templates/vc15lib.mpt:
244 * templates/vc15libexe.mpt:
245 * templates/vc15platforms.mpt:
247 Removed/renamed these files.
249 Mon Feb 13 21:58:22 UTC 2017 Adam Mitz <mitza@ociweb.com>
251 * modules/ProjectCreator.pm:
253 Enhanced handling of 'gendir' for project types that use
254 "combined custom" (mostly vc >= 10). Need to track common
255 'gendir' for output file and also get the input-file-specific
256 value of 'gendir' to replace the <%gendir%> token.
258 Tue Feb 7 15:36:45 UTC 2017 Chad Elliott <elliott_c@ociweb.com>
260 * templates/uvis.mpd:
262 Updated to support the 'prebuild' keyword.
264 Mon Jan 30 18:41:22 UTC 2017 Chad Elliott <elliott_c@ociweb.com>
266 * templates/uvis.mpd:
268 Added template variables to set the ram sizes and a scatter file.
270 Tue Jan 17 15:16:06 UTC 2017 Chad Elliott <elliott_c@ociweb.com>
272 * modules/UVISWorkspaceCreator.pm:
274 Convert slashes in the project path to backslashes.
276 * templates/uvis.mpd:
278 Support building assembly files and only put the device and CMSIS
279 sections in if the project is an executable and there are
282 Thu Nov 17 13:20:23 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
284 * templates/uvis.mpd:
286 Added the ability to set the IRAM1 and IRAM2 sizes.
288 Wed Nov 16 21:50:12 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
290 * templates/uvis.mpd:
291 * templates/uvis.mpt:
293 Added support for user defined DEVICE_Files and CMSIS_Files to
294 support building for specific targets.
296 Wed Nov 16 14:44:33 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
298 * modules/Depgen/Driver.pm:
299 * modules/Depgen/MakeDependencyWriter.pm:
301 Added an option to override the creation of Cygwin paths on
304 * templates/make.mpd:
305 * templates/makedll.mpt:
307 Corrected linking with the Keil compiler.
309 * templates/uvis.mpd:
311 Fixed the implementation of the pure_libs keyword.
313 Thu Nov 10 18:00:05 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
315 * templates/uvis.mpd:
317 Updated to support 'postbuild' and to support linking in libraries
320 Wed Nov 9 17:57:54 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
323 * modules/UVISProjectCreator.pm:
324 * modules/UVISWorkspaceCreator.pm:
325 * templates/uvis.mpd:
326 * templates/uvis.mpt:
328 Added support for the Keil uVision 5 IDE.
330 Mon Oct 31 16:16:07 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
332 * templates/makedll.mpt:
334 Updated to change the platform for the Keil compiler to something
335 specific to the operating system and architecture.
337 Wed Oct 26 11:31:35 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
339 * templates/makedll.mpt:
341 Added support for the Keil compiler.
343 Mon Sep 26 21:08:34 UTC 2016 Adam Mitz <mitza@ociweb.com>
345 * modules/ProjectCreator.pm (generated_source_listed):
347 From Chad Elliott: removed an optimization that was invalid
349 * modules/ProjectCreator.pm (other changes):
350 * modules/CommandHelper.pm:
352 Allow CommandHelper::get_output to return more detailed
353 dependency info. See comments in that function for usage.
355 Mon Mar 7 19:40:37 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
357 * modules/ProjectCreator.pm:
359 Fixed an issue with custom_only projects that define empty
360 Source_Files sections. For these projects, an empty section is
361 equivalent to a defaulted section as they do not serve any real
364 * templates/make.mpd:
368 Wed Feb 17 19:19:40 UTC 2016 Chad Elliott <elliott_c@ociweb.com>
370 * modules/ProjectCreator.pm:
372 When creating a project with only custom projects, keep explicitly
373 added files when removing non-custom_only aspects of the project.
375 Tue Sep 8 13:16:45 UTC 2015 Chad Elliott <elliott_c@ociweb.com>
377 * templates/makedll.mpt:
379 Added a C macro that corresponds to the coverage and profiling
382 Mon Jul 27 20:04:02 UTC 2015 Chad Elliott <elliott_c@ociweb.com>
384 * modules/Creator.pm:
385 * modules/TemplateParser.pm:
387 Fixed a bug where scoped names would get added to the non-scoped
388 name in every scope. This bug was introduced by me in my change
389 from Fri Jul 6 16:46:47 UTC 2012.
391 Mon Feb 23 12:34:28 UTC 2015 Chad Elliott <elliott_c@ociweb.com>
393 * modules/WorkspaceCreator.pm:
395 Do not completely override -value_template and -value_project
396 settings given on the actual MPC command line with workspace
397 'cmdline' settings. They are now merged together.
399 Thu Jan 08 07:50:12 UTC 2015 Johnny Willemsen <jwillemsen@remedy.nl
402 Removed subversion Id tag
404 Thu Nov 20 15:05:35 UTC 2014 Chad Elliott <elliott_c@ociweb.com>
406 * modules/VC8WorkspaceCreator.pm:
408 Completed the changes for the entry below. The original
409 modification was not complete.
411 Thu Nov 20 11:56:03 UTC 2014 Chad Elliott <elliott_c@ociweb.com>
413 * modules/ProjectCreator.pm:
415 Made a tiny grammatical correction in an informational message.
417 * modules/VC8WorkspaceCreator.pm:
419 When creating external dependencies, only create a full path using
420 the output directory or current directory if the project name is
421 not a full path itself. Thank you to Manfred Peter <manfredpeter
422 at siemens dot com> for finding and reporting this bug.
424 Wed Nov 5 08:12:27 UTC 2014 Johnny Willemsen <jwillemsen@remedy.nl>
426 * templates/vc1xdll.mpt:
427 * templates/vc1xexe.mpt:
428 Set same pdbc/pdbl settings to generate pdb files as we do
429 with older vc versions
431 Wed Nov 5 08:03:49 UTC 2014 Johnny Willemsen <jwillemsen@remedy.nl>
433 * docs/templates/vc10.txt:
434 * templates/vc10.mpd:
435 * templates/vc1xdll.mpt:
436 * templates/vc1xexe.mpt:
437 * templates/vc7dll.mpt:
438 With TAO we have the case that exe and dll have the same
439 name which causes problems with the pdb file. Add a new
440 use_pdb_modifier which we enable by default for vc1x, it
441 adds _dll to the pdb file for a dll, and _exe to the pdb
444 Wed Oct 8 13:41:24 UTC 2014 Chad Elliott <elliott_c@ociweb.com>
446 * MPC version 4.1.0 released.
450 add-log-time-format: (lambda () (progn (setq tz (getenv TZ)) (set-time-zone-rule UTC) (setq time (format-time-string %a %b %e %H:%M:%S %Z %Y (current-time))) (set-time-zone-rule tz) time))
451 indent-tabs-mode: nil