|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r79832 - trunk/tools/build/v2
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-01 11:26:28
Author: jurko
Date: 2012-08-01 11:26:26 EDT (Wed, 01 Aug 2012)
New Revision: 79832
URL: http://svn.boost.org/trac/boost/changeset/79832
Log:
Boost Build cleanup - minor stylistic comment changes + better commented the project-config.jam configuration file usage.
Text files modified:
trunk/tools/build/v2/build-system.jam | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
Modified: trunk/tools/build/v2/build-system.jam
==============================================================================
--- trunk/tools/build/v2/build-system.jam (original)
+++ trunk/tools/build/v2/build-system.jam 2012-08-01 11:26:26 EDT (Wed, 01 Aug 2012)
@@ -307,6 +307,10 @@
# specified. If the file name has been given explicitly then the file must
# exist.
#
+# -- project-config --
+# Always named project-config.jam. Looked up in the current working folder and
+# then upwards through its parents up to the root folder.
+#
# Test configurations have been added primarily for use by Boost Build's
# internal unit testing system but may be used freely in other places as well.
#
@@ -411,13 +415,12 @@
}
}
- # We look for project-config.jam from "." upward.
- # I am not sure this is 100% right decision, we might as well check for
- # it only alonside the Jamroot file. However:
- #
+ # We look for project-config.jam from "." upward. I am not sure this is 100%
+ # right decision, we might as well check for it only alongside the Jamroot
+ # file. However:
# - We need to load project-root.jam before Jamroot
- # - We probably would need to load project-root.jam even if there's no
- # Jamroot - e.g. to implement automake-style out-of-tree builds.
+ # - We probably need to load project-root.jam even if there is no Jamroot -
+ # e.g. to implement automake-style out-of-tree builds.
local file = [ path.glob "." : project-config.jam ] ;
if ! $(file)
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk