2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00
Commit Graph

5648 Commits

Author SHA1 Message Date
Jurko Gospodnetić
33bbf45b1d Boost Build cleanup - more detailed error reporting when attempting to register the same project id for multiple projects.
[SVN r80000]
2012-08-13 11:55:49 +00:00
Jurko Gospodnetić
67b135fdea Updated Boost Build documentation to note that the virtual-target.register rule should be called for each created virtual-target instance and not only to remove duplicates when there is a chance of creating multiple matching virtual targets. Without this call, Boost Build fails to track which virtual targets get created for each metatarget.
[SVN r79996]
2012-08-13 05:11:50 +00:00
Jurko Gospodnetić
fd09f55057 Boost Build documentation typo correction.
[SVN r79995]
2012-08-13 05:00:13 +00:00
Jurko Gospodnetić
1a045cf7ad Boost Build cleanup - added two new rules to the project.jam module (is-config-module for checking whether a module is one of Boost Build's configuration file modules & get-jamroot-module returning a given non-standalone & non-configuration project's base parent Jamroot project) and used them to restore corrected boostbook.jam module functionality for storing its constructed xml-catalog targets in the same location independent of what folder the build got run from. Updated related rule comments.
[SVN r79973]
2012-08-11 22:24:51 +00:00
Jurko Gospodnetić
70f5f72aee Boost Build cleanup - minor stylistic changes made to the boostbook.jam module.
[SVN r79972]
2012-08-11 22:19:22 +00:00
Jurko Gospodnetić
dcf0276c77 Boost Build cleanup - minor stylistic changes.
[SVN r79971]
2012-08-11 21:43:23 +00:00
Jurko Gospodnetić
bfecc4e1dd Boost Build cleanup - build-system.jam module's should-clean-project() rule result caching updated to correctly cache both true and false values. This got 'pessimized' a bit when we started using values directly convertable to false (i.e. undefined value or empty string) as return values for the result false instead of the string "false".
[SVN r79969]
2012-08-11 14:49:52 +00:00
Jurko Gospodnetić
7baf43ded5 Boost Build cleanup - build-system.jam module's should-clean-project() rule simplified by not requiring a separate list of built projects only to use that list for marking those projects as needing to be cleaned. Now instead of building this list we directly mark those projects as needing to be cleaned.
[SVN r79968]
2012-08-11 14:45:36 +00:00
Jurko Gospodnetić
6c25a7d614 Boost Build cleanup - added a project.is-jamroot-module() rule (and an accompanying implementation detail project-attributes.is-jamroot() rule) to make testing whether a project module is a Jamroot module cleaner. As 'an example' updated the build-system.should-clean-project() rule to cleanly test for the Jamroot project module instead of assuming that Jamroot module is the one whose parent module is user-config. The old implementation was also incorrect since Jamroot may also have project-config as a parent.
[SVN r79967]
2012-08-11 14:31:59 +00:00
Jurko Gospodnetić
3f89cb59e4 Boost Build cleanup - build-system.jam module's global .project-targets variable made replaced with a local one, passed as a rule parameter where needed, minor stylistic code & comment changes.
[SVN r79955]
2012-08-10 15:29:47 +00:00
Jurko Gospodnetić
e60fe481a8 Boost Build code cleanup - minor stylistic changes.
[SVN r79954]
2012-08-10 13:56:54 +00:00
Jurko Gospodnetić
9bb216654a Boost Build cleanup - minor stylistic code change.
[SVN r79945]
2012-08-09 10:56:50 +00:00
Jurko Gospodnetić
f5d6f30e2c Boost Build cleanup - made the project.target() rule error-out in case when the requested modules does not yet have a project target assigned. The code in question handling this case did not seem to ever get used in either the internal Boost Build tests or the Boost library build.
[SVN r79944]
2012-08-09 10:46:04 +00:00
Jurko Gospodnetić
b8ac53ec3e Simplified Boost Build's internal project_id.py test a bit.
[SVN r79940]
2012-08-08 22:50:42 +00:00
Jurko Gospodnetić
24fda212b3 Added a new internal Boost Build test checking Boost Build's project id handling.
[SVN r79939]
2012-08-08 22:29:29 +00:00
Jurko Gospodnetić
8009af1d6a Intenral Boost Build testing system cleanup - minor stylistic change.
[SVN r79938]
2012-08-08 22:20:10 +00:00
Jurko Gospodnetić
875a7e3d33 Boost Build cleanup - minor stylistic changes.
[SVN r79935]
2012-08-08 19:35:21 +00:00
Jurko Gospodnetić
a338255d02 Added a better Boost Build diagnostic error message when attempting to reference a target using an explicitly specified project id but without a leading slash ('/') character, e.g. as in:
use-project xxx : ../external/some-project ;
  exe a : xxx//some-obj ;

as opposed to:

  use-project xxx : ../external/some-project ;
  exe a : /xxx//some-obj ;

[SVN r79931]
2012-08-08 17:31:08 +00:00
Jurko Gospodnetić
d46fb527d4 Boost Build cleanup - minor stylistic changes.
[SVN r79930]
2012-08-08 17:21:01 +00:00
Jurko Gospodnetić
ca9c052c8b Boost Build cleanup - made assigning project ids to project modules consistent whether done using the project() or the use-project() rule:
- given id always prepended with a leading slash if needed
  - informative error message displayed if the same id has already been assigned to a different project module.

[SVN r79927]
2012-08-08 16:17:57 +00:00
Jurko Gospodnetić
0a7a6f81d7 Boost Build's project() rule now supports taking more than 9 parameters up to the limit of 19 imposed by the current Boost Jam implementation.
[SVN r79925]
2012-08-08 16:00:05 +00:00
Jurko Gospodnetić
607ddcfe78 Boost Build cleanup - minor stylistic changes.
[SVN r79924]
2012-08-08 15:49:33 +00:00
Jurko Gospodnetić
54e4baea8d Boost Build's errors.jam module now recognizes project-config.jam modules as user locations same as other Boost Build configuration files.
[SVN r79923]
2012-08-08 14:39:07 +00:00
Jurko Gospodnetić
a00e8143b5 Updated Boost Build's errors.jam module to have its rules support more than 9 parameters (up to 19 currently supported by Boost Jam).
[SVN r79922]
2012-08-08 14:37:06 +00:00
Jurko Gospodnetić
208d3dce25 Boost Build doxygen.jam module cleanup - minor stylistic changes.
[SVN r79917]
2012-08-07 21:50:38 +00:00
Jurko Gospodnetić
d13d9a5126 Fixed a typo in Boost Build's doxygen.jam module's headers-to-doxyfile() rule.
[SVN r79916]
2012-08-07 21:33:46 +00:00
Jurko Gospodnetić
156fc95ca9 Updated Boost Build's doxygen.jam toolset module to not rely on Boost Build leaving behind a dangling 'current project' reference after it finishes loading all of its project modules. This should fix Boost library documentation build failures encountered after revision [79874].
[SVN r79915]
2012-08-07 21:30:31 +00:00
Jurko Gospodnetić
0372eb469e Boost Build cleanup - made the project.use rule local + minor stylistic changes.
[SVN r79910]
2012-08-07 14:15:31 +00:00
Jurko Gospodnetić
d097df0ec6 Boost Build cleanup - removed an old stale rule comment that should have been removed in revision [79870].
[SVN r79909]
2012-08-07 13:42:18 +00:00
Jurko Gospodnetić
786ea71a81 Corrected Boost Build's error message displayed when a target id is encountered containing an unresolvable explicit project reference.
[SVN r79906]
2012-08-07 13:13:41 +00:00
Jurko Gospodnetić
045bf2033e Boost Build cleanup - minor stylistic change.
[SVN r79905]
2012-08-07 13:11:44 +00:00
Jurko Gospodnetić
bb58317939 Boost Build cleanup - errors.backtrace rule no longer displays an extra empty line if asked to list user modules only and there are no user modules in the current call stack.
[SVN r79904]
2012-08-07 13:09:31 +00:00
Jurko Gospodnetić
43a5588bcd Cleaned up the 'unused' abs_workdir.py internal Boost Build test a bit. Added related embedded TODO comments.
[SVN r79903]
2012-08-07 12:22:24 +00:00
Jurko Gospodnetić
a0c8bfa5bc Boost Build cleanup - minor stylistic changes.
[SVN r79901]
2012-08-07 10:38:38 +00:00
Jurko Gospodnetić
3b169e677a Boost Build cleanup - added an additional --debug-loading diagnostic message when lazily creating parentless project targets due to a project target being requested for a module that did not have its project target created yet.
[SVN r79890]
2012-08-06 15:38:05 +00:00
Jurko Gospodnetić
9f02bce645 Boost Build cleanup - minor stylistic change.
[SVN r79889]
2012-08-06 15:34:07 +00:00
Jurko Gospodnetić
05c32444d6 Boost Build cleanup - minor stylistic changes.
[SVN r79888]
2012-08-06 15:16:53 +00:00
Jurko Gospodnetić
4e1084a278 Corrected the Boost Build boostbook.jam toolset module to correctly generate its global XML catalog file without relying on Boost Build's 'current project' reference being left set to some non-standalone project after Boost Build finishes loading all of its project files. This should fix Boost library documentation build failures encountered after revision [79874].
[SVN r79887]
2012-08-06 14:42:39 +00:00
Jurko Gospodnetić
58c4aa2d03 Internal Boost Build path_features.py test cleanup - minor stylistic changes.
[SVN r79883]
2012-08-05 19:45:28 +00:00
Jurko Gospodnetić
dde0a25f67 Corrected the internal Boost Build path_features.py test to not fail in case the used compiler does not modify any bytes in one of the recompiled .obj files and only updates its timestamp, as msvc occasionally does.
[SVN r79882]
2012-08-05 19:39:21 +00:00
Jurko Gospodnetić
2f300b0ca8 Updated Boost Build's internal collect_debug_info.py test to collect additional Boost Jam version information - OS name and the minimum supported path modification timestamp.
[SVN r79881]
2012-08-05 18:32:38 +00:00
Jurko Gospodnetić
458e565b8d Restored old Boost Jam '-v' version information screen to what it was like before revision [79779] as requested by Steven Watanabe. Boost Jam now reports its minimum supported path modification timestamp resolution using a new builtin JAM_TIMESTAMP_RESOLUTION variable. Updated Boost Build's internal testing system to correctly fetch this Boost Jam version information.
[SVN r79880]
2012-08-05 18:31:19 +00:00
Jurko Gospodnetić
b82912ddb7 Boost Build cleanup - removed some redundant module imports in multiple project-rules module rules.
[SVN r79877]
2012-08-05 16:50:31 +00:00
Jurko Gospodnetić
9fab9764db Boost Build cleanup - project-rules.using() & project-rules.import() rules now restore the original 'current project' reference the same way.
[SVN r79876]
2012-08-05 16:46:19 +00:00
Jurko Gospodnetić
5d62d79d0c Boost Build cleanup - minor stylistic changes.
[SVN r79875]
2012-08-05 16:30:41 +00:00
Jurko Gospodnetić
74468b59ac Made Boost Build clear its 'current project' reference after it is done with loading project modules. Any request for the 'current project' reference when there is no project module currently being loaded will now be treated as an error. Updated the related indirect_conditional.py internal Boost Build test case accordingly.
Additional implementation notes:
  - internal worker project.load-jamfile() rule now resets the current project when done
  - project.use() no longer needs to reset the current project since project.load-jamfile() does that now

[SVN r79874]
2012-08-05 15:12:58 +00:00
Jurko Gospodnetić
893b641db6 Boost Build cleanup - minor stylistic change.
[SVN r79873]
2012-08-05 14:53:14 +00:00
Jurko Gospodnetić
2196274c50 Boost Build cleanup - added a FIXME note regarding an encountered potentially incorrect implementation comment in the main Boost Build routine.
[SVN r79872]
2012-08-05 14:51:33 +00:00
Jurko Gospodnetić
2482fb9efc Boost Build cleanup - removed the never used project.act-as-jamfile() rule.
[SVN r79870]
2012-08-05 09:41:46 +00:00
Jurko Gospodnetić
fc8b3d9b64 Corrected Boost Build's --debug-loading output - removed an unused variable reference leftover by mistake in commit [79863] from previous debugging.
[SVN r79867]
2012-08-05 08:19:54 +00:00