2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 13:42:14 +00:00
Commit Graph

755 Commits

Author SHA1 Message Date
Vladimir Prus
4fa7253c46 Speedup: call 'normalize-raw-paths' only when we're really going to
load module.


[SVN r18687]
2003-06-06 06:31:25 +00:00
Vladimir Prus
736169e2b3 Don't warn when dependency main target produced nothing.
* new/targets.jam
  (basic-target.check-for-unused-sources): Don't warn when group
  of targets originated from one main target is empty.


[SVN r18686]
2003-06-06 06:29:31 +00:00
Dave Abrahams
fef3b62969 initial commit
[SVN r18684]
2003-06-05 22:27:39 +00:00
Vladimir Prus
4ec24a848b Add support for resource compiler, from Andre Hentz.
[SVN r18676]
2003-06-05 05:51:00 +00:00
Vladimir Prus
741c5f3482 Followup. The previous commit somehow was untested. Fixing some bugs now,
and additionally:

* new/targets.jam
  (generate): Create target for a file, when main target is not found.
  (basic-target.generate-sources): Don't create targets for files.


[SVN r18668]
2003-06-04 14:17:54 +00:00
Vladimir Prus
ecbc945e8e Simplify project-id and target-id handling.
* new/project.jam
  (lookup) Don't support project location in front of "@".
  (lookup-with-load): Remove.
  (find): New rule.
  (find-target): move to...

* new/target.jam
  (find): Here. And simplify.


[SVN r18667]
2003-06-04 13:30:45 +00:00
Vladimir Prus
4d99adb1aa Doc system works again.
* kernel/bootstrap.jam: Allow option handler modules to indicate that
  regular build process should be skipped.

* options/help.jam: Return 'true', don't EXIT. Existing prevents header
  scanning, which is the mechanism that makes 'doc' module work.

* new/doc.jam: Import header scanning rule into global module.
  (split-symbol): Handle the case where the are two modules with the same
  name (e.g. V1 stlport.jam and V2 stlport.jam).


[SVN r18663]
2003-06-04 05:55:25 +00:00
Dave Abrahams
7b03c97dcc Regex bug fix
[SVN r18655]
2003-06-03 18:26:33 +00:00
Dave Abrahams
1655be7509 initial commit
[SVN r18654]
2003-06-03 18:15:33 +00:00
Vladimir Prus
0c3459d60a Add missing imports.
[SVN r18612]
2003-05-30 13:57:24 +00:00
Vladimir Prus
1a90e155ac ".cc" is C++, too.
[SVN r18611]
2003-05-30 13:55:48 +00:00
Vladimir Prus
5aa300601d Tweak docs.
[SVN r18585]
2003-05-28 11:34:31 +00:00
Vladimir Prus
949329cd08 Accomodate layout changes.
[SVN r18584]
2003-05-28 11:33:07 +00:00
Vladimir Prus
43f3855045 Remove 'boost-build.jam' files from 'railsys' test, since they mess up
testing.


[SVN r18583]
2003-05-28 11:32:01 +00:00
Vladimir Prus
d4d3de2a5b Strip binaries when no debug symbols are needed.
[SVN r18577]
2003-05-28 07:23:05 +00:00
Vladimir Prus
a87f41243c Bugfix from Michael Stevens: when directory names contained regex
metacharacters, Boost.Build misbehaved.

* new/path.jam
  (all-parents): Don't use regex to strip path prefix, use a more robust
    approach.

* test/bad_dirname.py: New test.


[SVN r18576]
2003-05-28 07:11:50 +00:00
Dave Abrahams
d9d8785236 Enabled sorting of BBv2 modules into subdirectories
build-system.jam - moved from tools/build/new to tools/build

boost-build.jam - moved from tools/build/new to tools/build/kernel
bootstrap.jam
errors.jam
modules.jam

test/BoostBuild.py   - adjusted for the above modification
test/boost-build.jam

project-root.jam - renamed to "project-roots.jam" to avoid confusion
                   and conflict with the user's project-root.jam file

project.jam                           - adjusted for the above renaming
test/project-test1/project-test1.jam

type.jam - broke a circular module dependency


[SVN r18575]
2003-05-28 01:33:38 +00:00
Dave Abrahams
7035a065ab Give a little feedback about the current directory when a test fails
[SVN r18571]
2003-05-27 23:59:03 +00:00
Vladimir Prus
0613f8cd4c Bugfix: recognize '.a' as valid extension for libraries, on Cygwin.
Bug reported by Wieger Wesselink.


[SVN r18559]
2003-05-27 14:23:51 +00:00
Vladimir Prus
4726d5af16 Add infrastructure which allows project-root.jam to fulfil Jamfile
role as well, so that small projects can use only one file.

* new/project.jam
  (load): Load project root at the very start, in case it wants to
     be Jamfile.
  (act-as-jamfile): New rule.
  (module-name): Allow to tweak the name of module associated with a location.


[SVN r18557]
2003-05-27 07:00:32 +00:00
Vladimir Prus
97b89a1d7d Refactorings.
* new/project.jam
  (load): Prevent loading jamfile twice here, since we have all the
     necessary data.
  (load-jamfile): Don't try to check for duplicate loading (the check
     was a bit clumsy, anywhay). Remove 'loaded-var' parameter.


[SVN r18556]
2003-05-27 06:35:48 +00:00
Vladimir Prus
3bc7e08c2a Update the railsys tests for recent QT changes.
[SVN r18555]
2003-05-27 06:08:09 +00:00
Vladimir Prus
c0522c6ea0 Change the QT toolset to use new standalone project feature.
[SVN r18545]
2003-05-26 14:44:24 +00:00
Vladimir Prus
fd6016b3cd Allow 'standalone' projects.
* new/project.jam
  (inherit-attribute): New rule, extracted from 'initialize'.
  (initialize): Allow 'jamfile' parameter to be empty, in which case
    the project is 'standalone'.


[SVN r18544]
2003-05-26 14:30:26 +00:00
Vladimir Prus
e843a3ed33 Refactorings. Use module name to identify Jamfiles, not the directory where
they are located. The problem with using the directory name is that we might
want toolset modules to act as project, and directory name is not unique then.
We might even want to declare two projects in the same module.


[SVN r18542]
2003-05-26 13:51:21 +00:00
Vladimir Prus
49f08e0d86 Refactorings: remove 'project-root' attribute of project, for lack of any
use.

* new/project.jam
  (initialize): Register with project root here. Don't initialize the
   'project-root' attribute.
  (project-attributes.set): Don't allow 'project-root' and 'project-root-module'.


[SVN r18541]
2003-05-26 12:56:24 +00:00
Vladimir Prus
06f4f865ac Introduce 'profile' variant.
[SVN r18509]
2003-05-23 11:36:27 +00:00
Vladimir Prus
f7ef4fd7c8 Bugfix.
* new/stage.jam
  (stage-target-class.construct): Pass the result via
  'virtual-target.register'. I wonder if virtual targets should
   be create via 'virtual-target.create' which will invoke
  'virtual-target.register' internally. Passing via 'register' was forgotten
   in many places.

* test/stage.py: New test.


[SVN r18497]
2003-05-22 13:23:40 +00:00
Vladimir Prus
9dda3d8f84 Add/clarify comments.
[SVN r18496]
2003-05-22 11:50:10 +00:00
Vladimir Prus
48b5b18d85 Add missing import.
[SVN r18495]
2003-05-22 11:48:39 +00:00
Vladimir Prus
0953f79f34 Fix typo, reported by Sam Partington.
[SVN r18480]
2003-05-21 09:44:26 +00:00
Vladimir Prus
3261f24ae2 Correct SF download location URL.
[SVN r18479]
2003-05-21 07:03:41 +00:00
Vladimir Prus
c220aed2c8 Bugfix: add "bin" to explicitly provided path.
[SVN r18477]
2003-05-21 06:20:43 +00:00
Vladimir Prus
fc0aeb21b4 Don't warn about multiple msvc installations when --quiet is passed,
to avoid spirious test failures.


[SVN r18476]
2003-05-21 05:41:04 +00:00
Vladimir Prus
5c685928a7 Use the previous approach for finding generator's match rank, now
that we have a use case. Add an explanation in code. More details
will be posted to the list.


[SVN r18475]
2003-05-21 05:37:39 +00:00
Vladimir Prus
6252e93ae8 Set 'x' bit on jam_src/build.bat, so that it's executable under cygwin.
[SVN r18465]
2003-05-20 10:23:44 +00:00
Dave Abrahams
2ecd97fd7e added missing includes
[SVN r18457]
2003-05-19 21:25:34 +00:00
Vladimir Prus
f071deaf87 Add msvc and borland to default user-config.jam.
[SVN r18449]
2003-05-19 12:57:29 +00:00
Vladimir Prus
02ff2c7385 Ignore borland debug symbols.
[SVN r18448]
2003-05-19 12:39:06 +00:00
Vladimir Prus
7d08a71fa8 Improve distro roller.
[SVN r18447]
2003-05-19 12:26:27 +00:00
Vladimir Prus
88503a540c Make toolset.using accessible in project-root. It's a great convenience
for testing.


[SVN r18441]
2003-05-19 10:52:31 +00:00
Vladimir Prus
83ed59d79b Fix a couple of fallouts from the default build change.
* new/make.jam
  (make): Pass 'default-build' in the right position.

* new/targets.jam
  (basic-target): Use empty property-set if no default-build is passed.
  (main-target): Use 'raw' to test property-set for emptines. The string
  emptyness test that use to be there does not works for property-sets.


[SVN r18440]
2003-05-19 10:28:02 +00:00
Vladimir Prus
ad92677c12 Check for bjam 3.1.5.
[SVN r18439]
2003-05-19 10:09:56 +00:00
Vladimir Prus
254e4195c8 Fix a bug with default build handling. The bug was caused by the fact that
default build was stored as plain list, and implied properties were not
converted. E.g. we had "debug release", not "<variant>debug <variant>release",
which was assumed.

* new/targets.jam
  (main-target, basic-target): Store 'property-set' as default-build
  attribute.
  (main-target-default-build): Use 'property-set.create-with-validation'.

* new/property-set.jam
  (create-with-validation): New rule.

* test/default_build.py: More tests.


[SVN r18436]
2003-05-19 09:54:08 +00:00
Vladimir Prus
85f7aa7304 Add missing imports.
[SVN r18435]
2003-05-19 09:01:11 +00:00
Dave Abrahams
69e27f57bf * expand.c - Implemented :W modifier for Cygwin->Windows path
translation.  Cleaned up indentation and idiomatic use of string.

* index.html - documented recent features including VARNAMES and
  DELETE_MODULE

* borland.jam, msvc.jam - use the new :W modifier to simplify
  code (but only somewhat)

* BoostBuild.py - ignore MSVC .ilk files under Cygwin and NT


[SVN r18434]
2003-05-19 06:30:44 +00:00
Dave Abrahams
44b48fc7df * Restored the printing of qualified names from invoked actions.
Consequently rolled back the workaround in make_rule.py

* Added new indirect rule invocation module for encoding the module to
  invoke a rule from as well as the exact name to invoke it by, and
  for subsequent invocation.

* Fixed module __test__ rules so they really do execute in a separate
  module.  Associated tweaks to __test__ in path.jam


[SVN r18427]
2003-05-16 16:30:13 +00:00
Dave Abrahams
cb47933367 Added missing import
[SVN r18426]
2003-05-16 15:51:36 +00:00
Vladimir Prus
a644f2547e Unbreak 'searched_lib.py'.
* new/virtual-target.jam
  (null-action): Pass '.no-action' as action name, not 'no-action'. The
  action name is really dummy, it's not used at all. However, when it does
  not include dot, the smart 'action' ctor will assume it's local and prepend
  module name to it. The calling module will be 'null-action' instance module,
  always unique, and as result, no two targets with null actions will be
  equal, as far as 'virtual-target.register' is concerned.


[SVN r18424]
2003-05-16 12:57:40 +00:00
Vladimir Prus
a7d40e46c4 Add a (terrible verbose, but hopefully clear) commentary.
[SVN r18423]
2003-05-16 12:49:59 +00:00