Commit Graph

12124 Commits

Author SHA1 Message Date
Jurko Gospodnetić
7615fadbb2 Cleaned up internal Boost Build dependency_test.py test - made the test script create all of its needed test project files at run-time instead of having them maintained as actual Boost Build project files.
[SVN r80013]
2012-08-13 18:16:14 +00:00
Jurko Gospodnetić
7563ac7877 Internal Boost Build dependency_test.py test cleanup - removed some old and no longer relevant comments (from the time before the <dependency> feature got renamed to <implicit-dependency>), better commented the <implicit-dependency> feature usage, removed redundant ignoring of *.tds Borland debugger symbol files (already done internally in the BoostBuild.py testing system implementation module), minor stylistic changes.
[SVN r80012]
2012-08-13 17:55:20 +00:00
Jurko Gospodnetić
2734f4efb5 Internal Boost Build dependency_test.py test cleanup - removed some old and no longer relevant comments (from the time before the <dependency> feature got renamed to <implicit-dependency>), better commented the <implicit-dependency> feature usage, removed redundant ignoring of *.tds Borland debugger symbol files (already done internally in the BoostBuild.py testing system implementation module), minor stylistic changes.
[SVN r80012]
2012-08-13 17:55:20 +00:00
Jurko Gospodnetić
03b86769f5 Boost Build tools/boostbook.jam module cleanup - boostbook targets no longer constructed using a generator for the fake BOOSTBOOK_MAIN type. A clean custom basic-target class is used now instead, corresponding to how similar work is done in the tools/doxygen.jam module.
[SVN r80011]
2012-08-13 16:53:19 +00:00
Jurko Gospodnetić
ae6e6d2aa6 Boost Build tools/boostbook.jam module cleanup - boostbook targets no longer constructed using a generator for the fake BOOSTBOOK_MAIN type. A clean custom basic-target class is used now instead, corresponding to how similar work is done in the tools/doxygen.jam module.
[SVN r80011]
2012-08-13 16:53:19 +00:00
Jurko Gospodnetić
4a9820167b Updated Boost Build's tools/boostbook.jam module to pass its created xml-catalog virtual target through the virtual-target.register rule, as is supposed to be done with all virtual-target instances.
[SVN r80010]
2012-08-13 15:39:18 +00:00
Jurko Gospodnetić
3f0d2385e8 Updated Boost Build's tools/boostbook.jam module to pass its created xml-catalog virtual target through the virtual-target.register rule, as is supposed to be done with all virtual-target instances.
[SVN r80010]
2012-08-13 15:39:18 +00:00
Jurko Gospodnetić
69285830c4 Boost Build cleanup - minor stylistic changes in the tools/boostbook.jam module.
[SVN r80009]
2012-08-13 15:32:49 +00:00
Jurko Gospodnetić
f99446efa2 Boost Build cleanup - minor stylistic changes in the tools/boostbook.jam module.
[SVN r80009]
2012-08-13 15:32:49 +00:00
Jurko Gospodnetić
cdae76add5 Corrected an malformed Boost Build error message displayed when property definitions are encountered in a basic-target's 'sources' constructor parameter.
[SVN r80008]
2012-08-13 15:07:02 +00:00
Jurko Gospodnetić
3a638bb642 Corrected an malformed Boost Build error message displayed when property definitions are encountered in a basic-target's 'sources' constructor parameter.
[SVN r80008]
2012-08-13 15:07:02 +00:00
Jurko Gospodnetić
e36413300c Improved Boost Build's error message displayed when encountering actual targets with matching names, belonging to virtual targets of which at least one does not have an assigned 'creating subvariant' (may happen when Boost Build or build script code creates a virtual-target but forgets to pass it to the virtual-target.register rule).
[SVN r80007]
2012-08-13 15:05:04 +00:00
Jurko Gospodnetić
e8af292c70 Improved Boost Build's error message displayed when encountering actual targets with matching names, belonging to virtual targets of which at least one does not have an assigned 'creating subvariant' (may happen when Boost Build or build script code creates a virtual-target but forgets to pass it to the virtual-target.register rule).
[SVN r80007]
2012-08-13 15:05:04 +00:00
Jurko Gospodnetić
89bbb60774 Updated Boost Build's stage.symlink rule to pass its constructed virtual target through the virtual-target.register rule, as all virtual-target instances are supposed to be.
[SVN r80006]
2012-08-13 14:39:47 +00:00
Jurko Gospodnetić
837b963169 Updated Boost Build's stage.symlink rule to pass its constructed virtual target through the virtual-target.register rule, as all virtual-target instances are supposed to be.
[SVN r80006]
2012-08-13 14:39:47 +00:00
Jurko Gospodnetić
7d613bbf8c Boost Build cleanup - minor stylistic changes.
[SVN r80005]
2012-08-13 14:35:56 +00:00
Jurko Gospodnetić
5a0d9820ac Boost Build cleanup - minor stylistic changes.
[SVN r80005]
2012-08-13 14:35:56 +00:00
Jurko Gospodnetić
66a9427409 Corrected the internal Boost Build project_id.py test to pass with the latest changes made in the project.py module.
[SVN r80004]
2012-08-13 14:22:02 +00:00
Jurko Gospodnetić
34da969579 Corrected the internal Boost Build project_id.py test to pass with the latest changes made in the project.py module.
[SVN r80004]
2012-08-13 14:22:02 +00:00
Jurko Gospodnetić
92ee14e55e 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ć
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ć
f144b75d02 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ć
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ć
a0a4734b88 Boost Build documentation typo correction.
[SVN r79995]
2012-08-13 05:00:13 +00:00
Jurko Gospodnetić
fd09f55057 Boost Build documentation typo correction.
[SVN r79995]
2012-08-13 05:00:13 +00:00
Jurko Gospodnetić
d95c5d93b6 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ć
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ć
3cf63e8925 Boost Build cleanup - minor stylistic changes made to the boostbook.jam module.
[SVN r79972]
2012-08-11 22:19:22 +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ć
426a0a5d93 Boost Build cleanup - minor stylistic changes.
[SVN r79971]
2012-08-11 21:43:23 +00:00
Jurko Gospodnetić
dcf0276c77 Boost Build cleanup - minor stylistic changes.
[SVN r79971]
2012-08-11 21:43:23 +00:00
Jurko Gospodnetić
6638d89c81 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ć
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ć
357cf6b6c7 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ć
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ć
23eb1973ba 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ć
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ć
9e40e3bb0a 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ć
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ć
3a1f076aff Boost Build code cleanup - minor stylistic changes.
[SVN r79954]
2012-08-10 13:56:54 +00:00
Jurko Gospodnetić
e60fe481a8 Boost Build code cleanup - minor stylistic changes.
[SVN r79954]
2012-08-10 13:56:54 +00:00
Jurko Gospodnetić
31c1c824f9 Boost Build cleanup - minor stylistic code change.
[SVN r79945]
2012-08-09 10:56:50 +00:00
Jurko Gospodnetić
9bb216654a Boost Build cleanup - minor stylistic code change.
[SVN r79945]
2012-08-09 10:56:50 +00:00
Jurko Gospodnetić
794ed3b40f 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ć
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ć
c41cce76fb Simplified Boost Build's internal project_id.py test a bit.
[SVN r79940]
2012-08-08 22:50:42 +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ć
654b8e6a9a 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ć
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ć
93c0e2c9b4 Intenral Boost Build testing system cleanup - minor stylistic change.
[SVN r79938]
2012-08-08 22:20:10 +00:00