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

949 Commits

Author SHA1 Message Date
Vladimir Prus
5601b6a6b0 Improve comments.
[SVN r18691]
2003-06-06 09:36:33 +00:00
Vladimir Prus
06f6b2c588 Forgotten change.
[SVN r18690]
2003-06-06 09:08:50 +00:00
Vladimir Prus
90dbefd759 Refactorings. Now usage requirements that should be propagated to dependents
are communiated via return value of 'abstract-target.generate', not as
attribute of virtual target. The advantage is that we can return usage
requirements, even if no targets were created.

Also, usage requirements is not really attribute of virtual target. If several
virtual targets are created for one main target, the previous code would set
the same usage requirements on all virtual targets.


[SVN r18689]
2003-06-06 09:02:36 +00:00
Vladimir Prus
5daf202a98 Forgotten change
[SVN r18688]
2003-06-06 06:52:06 +00:00
Vladimir Prus
0d46fcc22c 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
6327d3e7be 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
4a7f6828e0 initial commit
[SVN r18684]
2003-06-05 22:27:39 +00:00
Vladimir Prus
22118a1c76 Add support for resource compiler, from Andre Hentz.
[SVN r18676]
2003-06-05 05:51:00 +00:00
Vladimir Prus
2ba0bd04cb 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
0d2f6b260b 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
ce2ba6245d 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
dab5ce51e9 Regex bug fix
[SVN r18655]
2003-06-03 18:26:33 +00:00
Dave Abrahams
c3c84ebf7d initial commit
[SVN r18654]
2003-06-03 18:15:33 +00:00
Vladimir Prus
2bfc27ce68 Add missing imports.
[SVN r18612]
2003-05-30 13:57:24 +00:00
Vladimir Prus
ebe8aca43e ".cc" is C++, too.
[SVN r18611]
2003-05-30 13:55:48 +00:00
Vladimir Prus
2659bbc1c0 Tweak docs.
[SVN r18585]
2003-05-28 11:34:31 +00:00
Vladimir Prus
7ffc4fc6d3 Accomodate layout changes.
[SVN r18584]
2003-05-28 11:33:07 +00:00
Vladimir Prus
5a4da8e5d5 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
b1e6684b13 Strip binaries when no debug symbols are needed.
[SVN r18577]
2003-05-28 07:23:05 +00:00
Vladimir Prus
ce2b257a16 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
377bb87cad 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
6bc8613bab Give a little feedback about the current directory when a test fails
[SVN r18571]
2003-05-27 23:59:03 +00:00
Vladimir Prus
bb73dfd63a 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
3fb20369d8 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
f93a741446 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
c1aa2a6273 Update the railsys tests for recent QT changes.
[SVN r18555]
2003-05-27 06:08:09 +00:00
Vladimir Prus
2459873857 Change the QT toolset to use new standalone project feature.
[SVN r18545]
2003-05-26 14:44:24 +00:00
Vladimir Prus
e8463abada 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
13c385b491 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
88370d5a63 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
1d0317cd2e Introduce 'profile' variant.
[SVN r18509]
2003-05-23 11:36:27 +00:00
Vladimir Prus
5dc40cd49a 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
c052b1ad2b Add/clarify comments.
[SVN r18496]
2003-05-22 11:50:10 +00:00
Vladimir Prus
fcbb3a32f2 Add missing import.
[SVN r18495]
2003-05-22 11:48:39 +00:00
Vladimir Prus
2e2d1a1685 Fix debian package build.
[SVN r18492]
2003-05-22 08:41:18 +00:00
Vladimir Prus
db4f219cb0 Fix typo, reported by Sam Partington.
[SVN r18480]
2003-05-21 09:44:26 +00:00
Vladimir Prus
d7d68b98ed Correct SF download location URL.
[SVN r18479]
2003-05-21 07:03:41 +00:00
Vladimir Prus
57b93d881f Bugfix: add "bin" to explicitly provided path.
[SVN r18477]
2003-05-21 06:20:43 +00:00
Vladimir Prus
eaa52a9be4 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
220713e082 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
179bcfd272 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
aa4dacd6b6 added missing includes
[SVN r18457]
2003-05-19 21:25:34 +00:00
Vladimir Prus
db0e5275e5 Add msvc and borland to default user-config.jam.
[SVN r18449]
2003-05-19 12:57:29 +00:00
Vladimir Prus
95ec8bfc41 Ignore borland debug symbols.
[SVN r18448]
2003-05-19 12:39:06 +00:00
Vladimir Prus
cf46e57f64 Improve distro roller.
[SVN r18447]
2003-05-19 12:26:27 +00:00
Vladimir Prus
c9b3a8449a 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
51d8568b7c 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
26a1bae954 Check for bjam 3.1.5.
[SVN r18439]
2003-05-19 10:09:56 +00:00
Vladimir Prus
2f3cd9913e Bump bjam version to 3.1.5. The current V2 codebase won't work with
older bjams, at all.


[SVN r18437]
2003-05-19 10:07:00 +00:00
Vladimir Prus
1d14f245bf 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