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

425 Commits

Author SHA1 Message Date
Vladimir Prus
6b56386b2c Don't allow a toolset module to set flags for other module.
[SVN r17085]
2003-01-30 10:24:55 +00:00
Vladimir Prus
b7ac8d527c Add stlport support.
[SVN r17068]
2003-01-28 15:59:23 +00:00
Vladimir Prus
202f647001 Bugfix: quoted includes were not handled correctly in some cases.
[SVN r17067]
2003-01-28 15:40:25 +00:00
Vladimir Prus
34dae0687e Improve handling of features. Now they are composed only of explicitly
specified properties.

* new/builtin.jam: (variant): Don't add defaults.

* new/feature.jam: (minimize): Eliminate defauls, when possible.


[SVN r17066]
2003-01-28 15:20:23 +00:00
Vladimir Prus
bff8682edf Overwrite existing symlinks.
[SVN r17064]
2003-01-28 15:13:03 +00:00
Vladimir Prus
f369885928 Added testing.launcher feature. For example, now unit tests can be
run under valgrind.


[SVN r17063]
2003-01-28 15:12:31 +00:00
Vladimir Prus
ac025b5b80 Use errors.error instead of EXIT. Also, change the error message. Previously,
one could get:

   Could not find Jamfile in this directory: ..

and start wondering why parent directory is searched at all.


[SVN r17056]
2003-01-28 08:34:05 +00:00
Rene Rivera
2e59653742 Minor syntax nit.
[SVN r17048]
2003-01-26 18:15:38 +00:00
Vladimir Prus
3d61ac7779 More QT fixes.
* new/qt.jam:
    (add-properties): Really, using gcc-specific <linkflags> wasn't the
    best idea of mine. Use toolset independent flags now.

* new/borland.jam: Handle <find-static-lib> and <find-shared-lib>

* new/kylix.jam: Add link action and handle libraries.


[SVN r17003]
2003-01-23 11:11:36 +00:00
Dave Abrahams
ad69c09e22 Simplify and test remove-trailing-slash
[SVN r17000]
2003-01-22 22:18:15 +00:00
Rene Rivera
96ef2fa56a Prefer using "whence" to test PATH, but fallback to "hash" when not available like in bash.
[SVN r16994]
2003-01-22 16:57:35 +00:00
Vladimir Prus
28bb46e2c1 Followup.
* new/type.jam
    (change-generated-target-suffix): Call set-generated-target-suffix
    if no suffix is set yet.


[SVN r16987]
2003-01-22 06:41:18 +00:00
Vladimir Prus
25642d54f0 Allow customization of suffixes used for generated targets.
* new/property.jam
    (property-map.find-replace): New method
    (property-map.find): Implement of terms of the above.

* new/qt.jam: Don't set any suffix on UIC_H.

* new/type.jam
    (change-generated-target-suffix): New rule.
    (generated-target-suffix): Process base types if no
    suffix is found.


[SVN r16986]
2003-01-22 06:33:05 +00:00
Vladimir Prus
2a5f7c0ced Implement toolset inheritance. Add Kylix toolset. Still need
to inherit "init" rule and test all this.

* new/borland.jam
    Use COMPILER_NAME and LINKER_NAME vars.

* new/generators.jam
    (generator.clone): New method.
    (register-composing): Use 'register'
    (generators-for-toolset): New rule.

* new/property.jam
    (change): New rule

* new/toolset.jam
    (add-flag): New rule
    (flags): Use the above.
    (register): New rule.
    (inherit): New rule
    (inherit-generators,inherit-flags,inherit-rules): New rules.


[SVN r16979]
2003-01-21 16:10:37 +00:00
Vladimir Prus
0d687a3ece More generators refactoring.
[SVN r16977]
2003-01-21 14:37:35 +00:00
Dave Abrahams
c59248f080 Handle BB1
[SVN r16967]
2003-01-21 05:03:08 +00:00
Dave Abrahams
a994e22c99 Handle BB1
[SVN r16966]
2003-01-21 04:55:24 +00:00
Vladimir Prus
07eb26a1b9 Add "hpp" as another suffix for "H" type.
[SVN r16961]
2003-01-20 13:02:55 +00:00
Ronald Garcia
bfdfb78e5c calls to "test" were using nonportable "-e" (bash-ism). Changed to -r.
[SVN r16923]
2003-01-17 19:54:04 +00:00
Vladimir Prus
fc65b94993 Preliminary QT support.
* new/qt.jam: New file

* new/target.jam:
    (basic-target.generate): Call 'feature.run-action'.


[SVN r16915]
2003-01-16 12:50:08 +00:00
Dave Abrahams
3a9afcc24b Fix validation
[SVN r16913]
2003-01-15 17:28:28 +00:00
Dave Abrahams
c37797ff83 Improved error-checking
[SVN r16909]
2003-01-15 11:48:46 +00:00
Vladimir Prus
3dfff0e598 Validate the build request which comes from command line.
[SVN r16908]
2003-01-15 11:41:16 +00:00
Vladimir Prus
95c3a34839 Improve toolset versions support.
* new/toolset.jam
    (normalize-condition): New rule
    (flags): Call 'normalize-condition'

* new/gcc.jam
    (init): Set compiler name for all actions in
    gcc module, now that toolset.jam supports it.


[SVN r16906]
2003-01-15 10:56:47 +00:00
Vladimir Prus
cf6accc4d0 Remove debug output.
[SVN r16905]
2003-01-15 10:25:09 +00:00
Dave Abrahams
afaf0fb6cf Fix subfeature validation
[SVN r16903]
2003-01-15 01:11:27 +00:00
Vladimir Prus
c5c627cfc5 More generators refactoring.
[SVN r16901]
2003-01-14 19:10:28 +00:00
Vladimir Prus
a2f8ae8f9f Minor refactoring.
[SVN r16895]
2003-01-13 17:29:42 +00:00
Rene Rivera
f26c7b5405 Add recognition of OpenBSD... to fix some of the regression tests (threads).
[SVN r16893]
2003-01-13 16:51:58 +00:00
Vladimir Prus
41b44f946c Fix the stage rule, so that it allows sources with directory names.
* new/stage.jam:
   (stage-target-class): Strip directory names when determining the name of
   the target file.

* test/stage.py: Update the test.


[SVN r16892]
2003-01-13 16:28:47 +00:00
Vladimir Prus
2782e9b785 Fix/improve the symlink rule.
* new/path.jam
    (make-NT, make-UNIX): Convert empty path into "."

* new/project.jam
    (path-relative-to-project-location): New rule.

* new/stage.jam
    (stage-target-class.construct): Use the above rule.

* new/symlink.jam
    (symlink-targets.construct): Call 'set-path' on created
    virtual targets.
    (ln): Attempts at better handling creating symlinks in
    directories.

* new/virtual-target.jam
    (abstract-file-target.actual-name): If explicit path was
    given, include it in grist.

* test/symlink.py: New test.

* test/test_all.py
    Run new test.


[SVN r16889]
2003-01-13 16:09:43 +00:00
Vladimir Prus
53c60e6a4e Rename 'use-requirements' to 'usage-requirement', to avoid
confusion.


[SVN r16883]
2003-01-13 11:15:07 +00:00
Vladimir Prus
b1a6452ba4 Refine the virtual-targets/actions UML diagram and add some relevant
comments.


[SVN r16881]
2003-01-13 07:36:32 +00:00
Vladimir Prus
065bdd7b3d Add forgotten method to the UML diagram.
[SVN r16880]
2003-01-13 06:54:53 +00:00
Dave Abrahams
a7a05eb537 Add Vladimir's UML diagram
[SVN r16879]
2003-01-12 22:57:53 +00:00
Dave Abrahams
b24afee6a7 Add Vladimir's UML diagram
[SVN r16878]
2003-01-12 21:24:41 +00:00
Rene Rivera
690e60a303 Per John's observation, added missing quotes in acc CC.
[SVN r16862]
2003-01-10 17:43:22 +00:00
Rene Rivera
81857f25c0 Guard against OSPLAT not being defined. Missed one.
[SVN r16861]
2003-01-10 17:15:46 +00:00
Rene Rivera
e0b7b88c4b Guard against OSPLAT not being defined.
[SVN r16860]
2003-01-10 17:09:08 +00:00
Rene Rivera
2b06644d35 Add -Ae flag to acc.
[SVN r16859]
2003-01-10 16:26:23 +00:00
Rene Rivera
af1b75748e Use HP-UX uname to determine if aCC(cc) is available.
Add -Ae flag to acc.


[SVN r16858]
2003-01-10 16:22:05 +00:00
Vladimir Prus
96b2477766 Use more strict checks of suffix->type mapping. Does
allow type for a suffix to change.

* new/type.jam
    (register-suffixes): New rule. ( suffixes + : type )
    (register): Use the above.


[SVN r16848]
2003-01-10 10:02:13 +00:00
Vladimir Prus
d1c305bc15 Make prebuilt.py work on NT/MinGW.
[SVN r16847]
2003-01-10 09:40:58 +00:00
Rene Rivera
c317b69f9c Added "-Ae" flag to acc toolset.
Added generic Unix cc toolset.


[SVN r16843]
2003-01-09 21:57:03 +00:00
Rene Rivera
b1f592f446 Added aCC toolset.
Fixed problematic use of ksh "function" keyword.


[SVN r16841]
2003-01-09 17:50:11 +00:00
Dave Abrahams
bc09ba073f Add assertions
[SVN r16838]
2003-01-09 16:20:58 +00:00
Vladimir Prus
d9217ebe21 Make stage.py work on NT/MinGW.
[SVN r16835]
2003-01-09 16:08:51 +00:00
Vladimir Prus
7ea3d6ca65 Bugfix for another case where Jam were changing slash direction.
[SVN r16832]
2003-01-09 15:26:31 +00:00
Vladimir Prus
e1fc0d24d6 Changes static lib suffix to "lib" on NT. Use "a" for gcc on all
platforms.


[SVN r16830]
2003-01-09 14:51:45 +00:00
Vladimir Prus
fb591ad7bd Add a diagnostic.
[SVN r16816]
2003-01-09 06:51:46 +00:00