Vladimir Prus
1b9b3dfebc
Improve diagnostics.
...
[SVN r17220]
2003-02-05 08:00:06 +00:00
Vladimir Prus
3a65037585
Check that generators are created with valid source and target types.
...
* new/builtin.jam
(lib-generator): Don't pass any source types to base's ctor.
* new/generators.jam
(generator): Check types.
(composing-generators): Allow empty list of source types.
* new/type.jam
(validate): New rule
[SVN r17168]
2003-02-03 10:14:32 +00:00
Vladimir Prus
8d0128af6f
More generators refactoring.
...
[SVN r17118]
2003-01-31 14:50:22 +00:00
Vladimir Prus
27c73b0bfb
More generators docs and minor refactoring.
...
[SVN r17117]
2003-01-31 14:20:25 +00:00
Vladimir Prus
4c346e6599
Bugfix: now search-lib targets can be used in requirements and
...
usage-requirements.
* new/builtin.jam
(link-action.adjust-properties): Rework.
* test/searched_lib.py: New test.
[SVN r17104]
2003-01-31 09:26:25 +00:00
Vladimir Prus
686ad5a7d2
Add a comment as to why searched-lib instances with different properties
...
won't be confused.
[SVN r17103]
2003-01-31 08:17:05 +00:00
Vladimir Prus
ff3c854c57
Don't allow a toolset module to set flags for other module.
...
[SVN r17085]
2003-01-30 10:24:55 +00:00
Vladimir Prus
8d15ef3b68
Respect <threading> in QT support.
...
[SVN r17074]
2003-01-29 06:37:26 +00:00
Vladimir Prus
43aea6eb77
Add comments.
...
[SVN r17073]
2003-01-29 06:16:48 +00:00
Vladimir Prus
e13e04e1c8
Sync QT support with recent changes.
...
[SVN r17072]
2003-01-29 06:09:15 +00:00
Vladimir Prus
708cbbd8b8
Add stlport support.
...
[SVN r17068]
2003-01-28 15:59:23 +00:00
Vladimir Prus
2ba321d252
Bugfix: quoted includes were not handled correctly in some cases.
...
[SVN r17067]
2003-01-28 15:40:25 +00:00
Vladimir Prus
b67df40f13
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
ee7abc0343
Overwrite existing symlinks.
...
[SVN r17064]
2003-01-28 15:13:03 +00:00
Vladimir Prus
f72669f745
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
19b2952fc0
Quote filenames for borland. Mostly so that tlib do not find
...
options inside filenames which contain dashes.
[SVN r17059]
2003-01-28 08:48:44 +00:00
Vladimir Prus
8a400ce9ff
Enable warnings for gcc.
...
* new/gcc.jam: The change itself.
* test/generators-test/Jamfile: Supress a warning :-)
[SVN r17058]
2003-01-28 08:46:22 +00:00
Vladimir Prus
dbfe339f53
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
d813f1f1bf
Minor syntax nit.
...
[SVN r17048]
2003-01-26 18:15:38 +00:00
Vladimir Prus
5a6eead02b
Bugfix from J?rgen Hunold.
...
* new/gcc.jam
(link-dll): Set "-L" properly.
[SVN r17024]
2003-01-24 13:31:50 +00:00
Vladimir Prus
e0f37d26f5
Introduce "--ignore-config" command line option.
...
[SVN r17004]
2003-01-23 11:22:47 +00:00
Vladimir Prus
bcc1f33b35
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
85d01052a6
Simplify and test remove-trailing-slash
...
[SVN r17000]
2003-01-22 22:18:15 +00:00
Vladimir Prus
04536b21c6
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
fa173e4cb5
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
0f58dd79ab
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
1241832b20
More generators refactoring.
...
[SVN r16977]
2003-01-21 14:37:35 +00:00
Vladimir Prus
5ba775b4ac
Accomodate for BB1 fix.
...
[SVN r16973]
2003-01-21 13:11:09 +00:00
Vladimir Prus
19dfcf7458
Add UIC support to QT module.
...
[SVN r16968]
2003-01-21 07:14:44 +00:00
Dave Abrahams
94776f3501
Handle BB1
...
[SVN r16967]
2003-01-21 05:03:08 +00:00
Vladimir Prus
d70986a0cb
Add "hpp" as another suffix for "H" type.
...
[SVN r16961]
2003-01-20 13:02:55 +00:00
Vladimir Prus
d31812b267
More QT fixes, from J?rgen Hunold.
...
In addition, use "H" type for mocced headers, not QPP.
[SVN r16959]
2003-01-20 10:44:49 +00:00
Vladimir Prus
51a23ac252
Add appropriate -L switch for QT.
...
[SVN r16958]
2003-01-20 09:25:53 +00:00
Vladimir Prus
69a0d57b98
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
85f00c1fa6
Fix validation
...
[SVN r16913]
2003-01-15 17:28:28 +00:00
Dave Abrahams
260491c74e
Improved error-checking
...
[SVN r16909]
2003-01-15 11:48:46 +00:00
Vladimir Prus
0358888227
Validate the build request which comes from command line.
...
[SVN r16908]
2003-01-15 11:41:16 +00:00
Vladimir Prus
5767b13edc
Make toolset-version feature propagated and link-incompatible.
...
[SVN r16907]
2003-01-15 11:11:44 +00:00
Vladimir Prus
5fc775a012
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
4b4562f5d1
Remove debug output.
...
[SVN r16905]
2003-01-15 10:25:09 +00:00
Dave Abrahams
6a22b69b48
Fix subfeature validation
...
[SVN r16903]
2003-01-15 01:11:27 +00:00
Dave Abrahams
03de2bf162
Fix catch so that it generates an error if no error has occurred.
...
[SVN r16902]
2003-01-15 00:05:24 +00:00
Vladimir Prus
ddca757e08
More generators refactoring.
...
[SVN r16901]
2003-01-14 19:10:28 +00:00
Vladimir Prus
2cbe023cfb
Minor refactoring.
...
[SVN r16895]
2003-01-13 17:29:42 +00:00
Vladimir Prus
7cddc35739
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
4c14009b18
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
3a33e7909a
Rename 'use-requirements' to 'usage-requirement', to avoid
...
confusion.
[SVN r16883]
2003-01-13 11:15:07 +00:00
Vladimir Prus
b4ef09b91c
Refine the virtual-targets/actions UML diagram and add some relevant
...
comments.
[SVN r16881]
2003-01-13 07:36:32 +00:00
Vladimir Prus
4ddba70b16
Add forgotten method to the UML diagram.
...
[SVN r16880]
2003-01-13 06:54:53 +00:00
Dave Abrahams
f9f79ff8c0
Add Vladimir's UML diagram
...
[SVN r16879]
2003-01-12 22:57:53 +00:00