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

255 Commits

Author SHA1 Message Date
Vladimir Prus
85a59b8ae6 Borland tweaks.
* test/dependency_test.py
  Ignore *.tds files.


[SVN r18219]
2003-04-09 12:17:11 +00:00
Vladimir Prus
303e1f6e62 Test tweak: don't import toolsets --- user-config/test-config should do that.
[SVN r18218]
2003-04-09 12:14:28 +00:00
Vladimir Prus
a3683f2d46 Patch from Andre Hentz to fix os=cygwin/toolset=msvc combination.
* new/builtin.jam: Associate obj and lib extension with OBJ and
STATIC_LIB target types, to handle the above combination. The gcc
toolset overrides these extension explicitly.

* new/msvc.jam
   (archive): Use bash syntax on cygwin.


[SVN r18210]
2003-04-08 14:14:53 +00:00
Vladimir Prus
fc2f841c10 Win32 fixes.
[SVN r18182]
2003-04-04 08:00:42 +00:00
Vladimir Prus
1beb700397 Tweaks.
* test/BoostBuild.py
    (Tester.expand_toolset): New method.


[SVN r18180]
2003-04-04 07:52:09 +00:00
Vladimir Prus
7786ca9bc2 Pass string to 'popen3', since it does not like lists.
[SVN r18179]
2003-04-04 07:50:36 +00:00
Vladimir Prus
7a0cd86cfc Patch from Andre Hentz.
Change the test system to use "exec*", not "system". This is needed to
avoid espacing shell metacharacters.


[SVN r18156]
2003-04-02 12:43:05 +00:00
Vladimir Prus
3737f4e662 Additional tests for direct build request handling.
[SVN r18147]
2003-04-01 08:46:38 +00:00
Vladimir Prus
9cff37cbd7 Enable a test which now works.
[SVN r18146]
2003-04-01 07:50:01 +00:00
Douglas Gregor
696f3b7fab print.py: Test the print module by using it to output text with quotes to a
text file

test_all.py: add print.py


[SVN r18126]
2003-03-28 15:27:14 +00:00
Vladimir Prus
f2658f847b Patch from Andre Hentz.
* new/builtin.jam
  - register builtin.response-generator with 'register-linker', to
    take advantange of 'link-action'. Convert <library-path>,
    <find-static-library> and <find-shared-library> into on-target
    variables using toolset.flags.
  (builtin.response-file) Output variables for library path to response
    file.
  (searched-lib-generator.run): Assign 'null-action' instance to the
  generated target, to carry properties. Correct prototype and workaround
  some, as-yet-unknown problem.

* test/searched_lib.py: New test (added by me).


[SVN r18121]
2003-03-28 09:20:58 +00:00
Vladimir Prus
224bc8cbae Bugfix: pass toolset after extra_arguments, so that
run_build_system("-n") generates
   -n gcc
command line, intead of
   gcc -n
where '-n' is ignored.


[SVN r18120]
2003-03-28 09:12:51 +00:00
Vladimir Prus
f42a4cb547 Robustify project-test3 and project-test4, so that don't fail
if just some incidental property is added.


[SVN r18119]
2003-03-28 08:39:21 +00:00
Vladimir Prus
decfb3d99e Workaround a big BUG. The test must pass now, however.
[SVN r18103]
2003-03-27 15:46:14 +00:00
Dave Abrahams
712168581a Adjust for Win32
[SVN r18030]
2003-03-20 13:48:59 +00:00
Dave Abrahams
600f255ce3 Account for Win32 idiosyncracies
[SVN r18024]
2003-03-20 02:42:17 +00:00
Vladimir Prus
a5efdf0444 Bugfix. Make values of path-constants into absolute paths, so that they
can be used without problems as values of path features.


[SVN r17908]
2003-03-14 07:50:19 +00:00
Vladimir Prus
f5adde7477 Bugfix: allow alternative with no sources and no generated targets.
* new/targets.jam
  (generate): Use a special string to report failure, not just return
      of empty list.
  (basic-target.generate-sources): Accomodate the above change.
  (basic-target.check-for-unused-sources): Allow empty list of targets.

* test/alternatives.py: New test.


[SVN r17906]
2003-03-14 06:58:44 +00:00
Dave Abrahams
941d2165f8 Patches for WIN32
[SVN r17895]
2003-03-13 17:41:17 +00:00
Dave Abrahams
d3c9688784 Patches for WIN32
[SVN r17894]
2003-03-13 17:37:13 +00:00
Vladimir Prus
f9f7f7443a Bugfix: translate path properties even in conditional properties.
* new/property.jam
  (split-conditional): New rule
  (translate-paths): Use the above to handle conditional properties.

* test/path_features.py: New tests.


[SVN r17881]
2003-03-13 10:09:06 +00:00
Vladimir Prus
4d03dcea6a Integrate the "railsys" test.
[SVN r17848]
2003-03-12 14:08:57 +00:00
Vladimir Prus
136c9c8a72 Update tests for the last commit.
[SVN r17846]
2003-03-12 14:03:34 +00:00
Vladimir Prus
cebcbbc38d Add big testcase from Jürgen Hunold.
[SVN r17838]
2003-03-12 13:30:21 +00:00
Vladimir Prus
5e0438a328 Fix conditional usage requirements. Thanks to Ali Azarbayejani for bug
report.

* new/property-set.jam
   (property-set.evaluate-conditionals): New parameter 'context'.

* new/property.jam
   (evaluate-conditionals-in-context): Renamed from 'evaluate-conditionals'.
   New parameter 'context'.

* new/targets.jam
   (basic-target.generate): Evaluate conditionals in usage-requirements.

* test/conditionals.py: Add test.


[SVN r17830]
2003-03-12 08:35:54 +00:00
Vladimir Prus
a64edbb6eb Change <dependency>, so that it does not really add dependency
unconditionally.

* new/builtin.jam
     (linking-generator.run): New rule. Sets dependency on <library>
     properties.

* new/generators.jam
     (construct): Do not handle usage requirements. Do not handle
     dependency features in any way.

* new/targets.jam
     (main-target.generate-really): Don't create/set subvariant-dg.
     (basic-target.generate): Collect usage requirements. Create/set
     subvariant-dg.

* new/virtual-target.jam
     (subvariant-dg): Take actual build properties together with
     requested ones.


[SVN r17813]
2003-03-11 12:41:39 +00:00
Vladimir Prus
873676c2ec Bugfixes: prevent two equal property lists generate two different
property-set instances, because of different order.

* new/property-set.jam
    (create): Sort the properties.

* new/feature.jam:
     (minimize): Bugfix.


[SVN r17812]
2003-03-11 12:08:35 +00:00
Vladimir Prus
b16238f064 Doc tweak.
[SVN r17768]
2003-03-07 16:39:13 +00:00
Vladimir Prus
e922b1c0cf Change default-build handling.
* new/targets.jam
     (main-target.apply-default-build): Combine build request with
     default build.

* new/default_biuld.py: More tests.


[SVN r17756]
2003-03-07 10:06:42 +00:00
Vladimir Prus
3b46c3ac8a Make default values of features really work. Now a feature with
default value will always be present in build properties of all
main targets. The change moves adding default value into main
targets --- it was done at the top level.

* new/build-request.jam
    (expand-no-defaults): No longer local.

* new/build-system.jam
    Use 'build-request.expand-no-defaults', not 'expand'.

* new/feature.jam
    (add-defaults): Tolerate conditional properties
        (e.g <variant>debug:<define>DEBUG)

* new/property-set.jam
    (property-set.add-defaults): New method.

* new/targets.jam
    (basic-target.final-properties): Add defaults.

* test/default_features.py: New test.


[SVN r17753]
2003-03-07 08:45:37 +00:00
Dave Abrahams
222d39dde5 Accomodate msvc
[SVN r17746]
2003-03-06 17:54:16 +00:00
Dave Abrahams
87aaef17ce Stop putting exported symbols in the intended .exe object file
[SVN r17742]
2003-03-06 14:58:04 +00:00
Dave Abrahams
028a48ecdb improve error reports
[SVN r17741]
2003-03-06 14:57:26 +00:00
Vladimir Prus
02cc9a139a Improve test system docs.
[SVN r17731]
2003-03-05 14:51:05 +00:00
Dave Abrahams
67102d1ef5 Fixes for NT
[SVN r17704]
2003-03-03 16:12:38 +00:00
Vladimir Prus
caa491f503 Prevent the 'make' rule perform reduntant builds. Thanks to Kirill Lapshin
for the bug report.

* new/make.jam
    (make-target-class.construct): Pass the result through
    'virtual-target.register'.

* new/virtual-target.jam
    (register): Ignore incidental properties when deciding if targets are
    equivivalent.

* test/make_rule.py: Add new test.


[SVN r17701]
2003-03-03 07:47:14 +00:00
Vladimir Prus
5decdacc6b Warn on unused sources.
* new/targets.jam
    (basic-target.check-for-unused-sources): New rule.
    (basic-target.generate): Call the above.

* new/virtual-target.jam
    (traverse): New arguments 'include-roots' and 'include-sources'.

* test/unused.py: New test.


[SVN r17685]
2003-02-28 08:13:38 +00:00
Vladimir Prus
5aeb1de191 Cleanups. Default build improvements related to BB10.
* new/targets.jam
    (main-target.default-build): New field.
    (main-target.add-alternative): Don't allow default-build for
       second and subsequence alternatives. Record default build
       from the first one.
    (main-target.generate): Expand build request.
    (main-target.generate-really): New rule, extracted from 'generate'.
    (basic-target.default-build): New rule.
    (basic-target.generate): Don't expand default build.

* test/BoostBuild.py
  Allow to suppress passing toolset when calling run_build_system.
  Some Python 2.1 compatibility fixes.

* test/alternatives.py
  More tests.

* test/default_build.py
  More tests.


[SVN r17683]
2003-02-28 06:36:39 +00:00
Dave Abrahams
3acedf660f Fix extensions
[SVN r17681]
2003-02-28 01:33:10 +00:00
Dave Abrahams
a6b6b2efd7 Warning suppression for MSVC
[SVN r17676]
2003-02-27 15:08:20 +00:00
Dave Abrahams
76064516f3 Fixes for NT
[SVN r17675]
2003-02-27 15:04:11 +00:00
Dave Abrahams
fdfe46c246 Warning suppression for MSVC
[SVN r17674]
2003-02-27 15:01:02 +00:00
Vladimir Prus
9938a0fc41 Refactorings.
* new/targets.jam
    (main-target.select-alternatives): New rule.
    (main-target.generate): Simplify, using the above.

* new/errors.jam
    (error): Do EXIT if --no-error-backtrace is given.

* tests/alternatives.py: New test.


[SVN r17673]
2003-02-27 14:25:26 +00:00
Vladimir Prus
dedb6cf02d Bugfix: nested 'build-project' statements were not handled correctly
when any build request is given on command line. Thanks to
Jürgen Hunold for catching this!


[SVN r17669]
2003-02-27 08:51:37 +00:00
Dave Abrahams
f059b430a7 typo
[SVN r17643]
2003-02-25 14:42:34 +00:00
Dave Abrahams
155baed247 Fixes for testing
[SVN r17642]
2003-02-25 14:37:10 +00:00
Vladimir Prus
447bfc4c1e Fix some conditional logic.
[SVN r17640]
2003-02-25 14:09:45 +00:00
Dave Abrahams
e7257dfcd3 roll back mistaken change
[SVN r17638]
2003-02-25 13:52:19 +00:00
Dave Abrahams
8f49f2843c This uses gcc explicitly, so it had better not rely on $toolset
[SVN r17624]
2003-02-25 02:27:29 +00:00
Dave Abrahams
d65774fd04 Better handling of pass_toolset
[SVN r17604]
2003-02-23 17:04:57 +00:00