Commit Graph

6746 Commits

Author SHA1 Message Date
Vladimir Prus
26b658d851 Win32 fixes. Big thanks to Bjorn Karlsson.
* jam_src/pwc.c: Concert short pathnames to long ones.


[SVN r18181]
2003-04-04 07:55:59 +00:00
Vladimir Prus
734a903141 Tweaks.
* test/BoostBuild.py
    (Tester.expand_toolset): New method.


[SVN r18180]
2003-04-04 07:52:09 +00:00
Vladimir Prus
dc3798680b Pass string to 'popen3', since it does not like lists.
[SVN r18179]
2003-04-04 07:50:36 +00:00
Vladimir Prus
25893b5299 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
Douglas Gregor
eb407e2196 type.xsl: Much improved formatting for <inherit> elements, including allowing
<purpose> elements for comments


[SVN r18155]
2003-04-02 04:37:05 +00:00
Douglas Gregor
47b75617e9 Changed content model of <inherit> to require an explicit <type>
element, optionally contain a <purpose>, and make "access" attribute
implied.


[SVN r18152]
2003-04-02 04:34:10 +00:00
Douglas Gregor
394b9481e8 print.jam: Provide escaped strings for Windows and Unix
regex.jam: Provide "escape" routine that escapes a string with certain escape
  characters

boostbook.jam: Use print.escape to properly escape argument to "echo" on
  Windows and Unix (BoostBook now works on non-Cygwin Windows)


[SVN r18148]
2003-04-01 14:34:31 +00:00
Vladimir Prus
18e3d505c5 Additional tests for direct build request handling.
[SVN r18147]
2003-04-01 08:46:38 +00:00
Vladimir Prus
ba9708237c Enable a test which now works.
[SVN r18146]
2003-04-01 07:50:01 +00:00
Douglas Gregor
56bdf40a61 Allow passing in the caller to the make rule, so that other modules
(that aren't user projects) can use it to add targets to their callers


[SVN r18137]
2003-03-30 15:24:57 +00:00
Douglas Gregor
20c6293280 - Testsuite building support
- Catalog is marked "ALWAYS" here (not in the print module)


[SVN r18136]
2003-03-30 15:23:23 +00:00
Douglas Gregor
7dc0242de8 ALWAYS $(output-target) doesn't belong in the text rule, it belongs in
the caller


[SVN r18135]
2003-03-30 15:17:52 +00:00
Douglas Gregor
5418f37caf Transforms a documented DTD (in XML) to BoostBook
[SVN r18131]
2003-03-30 03:11:16 +00:00
Douglas Gregor
2a66bc716f reference.dtdxml: The BoostBook DTD, converted to XML and documented
reference.xml: generated from reference.dtdxml

reference_doc.xml: Useless now that we have reference.dtdxml

boostbook.xml: Include reference.xml, not reference_doc.xml


[SVN r18130]
2003-03-30 03:10:39 +00:00
Douglas Gregor
dd6d05efad - Deal with different environt-setting syntax on Windows vs. Unix
- Remove the BoostBook XSL/DTD dir arguments from the BoostBook module (they really aren't useful)
- Add XSLTPROC argument to BoostBook module


[SVN r18129]
2003-03-29 16:01:32 +00:00
Douglas Gregor
ac0c5a6902 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
Douglas Gregor
f9eb8662c3 Use the print module to output the XML catalog properly
[SVN r18125]
2003-03-28 15:13:33 +00:00
Douglas Gregor
25672629c8 - Changes the \" -> '' transformation into \" -> \\\", i.e., instead of
transforming the double-quote character into two single quotes, we transform
it into a correctly-escaped double quote.

- Add an "overwrite" option to print.text that overwrites the file instead of
appending to it.


[SVN r18124]
2003-03-28 15:12:29 +00:00
Vladimir Prus
f238cf2acd 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
dce78fa7e6 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
0a391bc011 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
Douglas Gregor
1b5675ffc6 - Bring BoostBook output closer to real BoostBook
- Don't repeat inner classes at namespace level
- Fix this dumb "which file are we in" question yet again


[SVN r18110]
2003-03-27 18:45:18 +00:00
Douglas Gregor
d92c434035 Now able to set the FILE_PATTERNS and RECURSIVE Doxygen parameters via features
[SVN r18109]
2003-03-27 18:43:18 +00:00
Douglas Gregor
1da5be7b40 Suggest FOP version 0.20.4
Note name of DTD is "DocBook XML 4.2"


[SVN r18108]
2003-03-27 18:16:08 +00:00
Douglas Gregor
74b93f951b Fixes for errors as suggested by William Kempf
[SVN r18105]
2003-03-27 17:11:31 +00:00
Douglas Gregor
87718b807c Make it overt that the DocBook DTD comes as a ZIP file, not as a single file.
[SVN r18104]
2003-03-27 16:32:36 +00:00
Vladimir Prus
c61c95f83f Workaround a big BUG. The test must pass now, however.
[SVN r18103]
2003-03-27 15:46:14 +00:00
Vladimir Prus
c310d5eae1 Bugfix: quote filenames in actions.
[SVN r18102]
2003-03-27 15:40:07 +00:00
Vladimir Prus
3283d0e609 Allow to link libraries into shared libraries on gcc.
[SVN r18101]
2003-03-27 12:28:21 +00:00
Douglas Gregor
d8c82c6256 Added sections on Apache FOP and Doxygen
[SVN r18100]
2003-03-27 05:18:39 +00:00
Douglas Gregor
56b3678f11 Really minor tweaks
[SVN r18099]
2003-03-27 05:18:10 +00:00
Douglas Gregor
f3b3f8136c Introduce ability to generate Doxygen XML from a list of source files
with one command.


[SVN r18098]
2003-03-27 00:06:22 +00:00
Vladimir Prus
9b377b5014 Fix path handling on Cygwin. Thanks to Andre Hentz for the patch.
[SVN r18091]
2003-03-26 12:16:01 +00:00
Vladimir Prus
33023f6bbb Issue a user-friendly warning when no toolsets are configured.
[SVN r18090]
2003-03-26 09:19:02 +00:00
Vladimir Prus
2c6d4c6bc5 Comments/renames.
[SVN r18089]
2003-03-26 09:09:42 +00:00
Vladimir Prus
96e1e32621 Improve installation docs.
[SVN r18088]
2003-03-26 09:03:26 +00:00
Douglas Gregor
f886329309 boostbook.jam: Add rule to access XSL directory from other modules
doxygen.jam: _Very_ preliminary support for Doxygen --> BoostBook conversion.
  Uses a hacked up Doxygen to output XML representation as one big XML file
  instead of many smaller (unlinked) XML files.


[SVN r18087]
2003-03-26 04:39:01 +00:00
Vladimir Prus
1afd24c0c0 Doc correction from Michael Stevens.
[SVN r18074]
2003-03-24 07:32:00 +00:00
Rene Rivera
38f1e2875d Changes to bootstrap and build with the MinGW environment.
* Define the OS as NT as this seems more reasonable than having MINGW as the OS (after all MinGW is the toolset not the OS).
* Add detection of one common install location for MinGW.


[SVN r18073]
2003-03-24 04:34:27 +00:00
Rene Rivera
7d25223c37 Minor change to hopefully cover more NT shells.
[SVN r18068]
2003-03-24 00:56:58 +00:00
Beman Dawes
6ef81d572a fix lib name (Joerg Walter)
[SVN r18042]
2003-03-21 16:17:18 +00:00
Dave Abrahams
95a518771f minor UML tweaks
[SVN r18034]
2003-03-20 16:01:53 +00:00
Dave Abrahams
2711546a90 Adjust for Win32
[SVN r18030]
2003-03-20 13:48:59 +00:00
Dave Abrahams
cb97e6c6aa Add missing path nativizing.
[SVN r18029]
2003-03-20 13:48:31 +00:00
Dave Abrahams
d54171322d Account for Win32 idiosyncracies
[SVN r18024]
2003-03-20 02:42:17 +00:00
Dave Abrahams
3174f6e10d Fix usage requirements check to account for conditional properties.
I'm not completely sure this is precisely the right fix:

    a. The error message used to reference a non-existent variable.
    What was it supposed to be?

    b. Should property.remove et. al. be able to cope with conditional
    properties?


[SVN r18023]
2003-03-20 02:41:49 +00:00
Joel de Guzman
602aeec6c1 Bump to v1.6.0
[SVN r18021]
2003-03-19 23:33:19 +00:00
Douglas Gregor
4cc8497d71 *.xml: Fix DTD location, write a little, remove a little
Jamfile.v2: for building BoostBook documentation


[SVN r18018]
2003-03-19 20:23:16 +00:00
Douglas Gregor
a17077debe When variable lists have a title, revert to the standard DocBook formatting
[SVN r18017]
2003-03-19 20:07:27 +00:00
Douglas Gregor
850f2ae6a8 boostbook.jam: Removed PDF & Postscript-specific code
fop.jam: Support PostScript and PDF generation via FOP


[SVN r18016]
2003-03-19 19:46:47 +00:00
Douglas Gregor
146defdd93 Need to have at least "using boostbook ;" so that initialization is performed
[SVN r18014]
2003-03-19 19:19:59 +00:00
Douglas Gregor
90a3cc83b4 No use for these old makefiles: we be Jammin' now
[SVN r18013]
2003-03-19 19:11:59 +00:00
Douglas Gregor
b07dc40847 Don't allow < or > in man page names
[SVN r18012]
2003-03-19 18:27:56 +00:00
Dave Abrahams
6f079153a7 Hack around command-line length limitations
[SVN r18001]
2003-03-19 11:55:32 +00:00
Vladimir Prus
080626d78c Make gcc.archive action 'piecemeal'.
[SVN r18000]
2003-03-19 09:10:24 +00:00
Vladimir Prus
27ea6a2468 Prevent 'hardcode-dll-paths' from setting rpath on static libraries.
Thanks to Ali Azarbayejani for the bug report.


[SVN r17999]
2003-03-19 09:00:25 +00:00
Douglas Gregor
39b8c4ffcc Setup the BoostBook XSL and DTD directories along with the DocBook XSL
and DTD directories, in the initialization phase. After that, we don't
get to peek at BOOST_ROOT anymore.


[SVN r17984]
2003-03-19 00:28:20 +00:00
Douglas Gregor
e55e4c0a1f boostbook.jam:
- Added XML catalog support (finally!). The DocBook XSL stylesheet and DTD
    directories can be specified via "using boostbook : xsl-dir : dtd-dir ; "
    in any BBv2 configuration file, or via command line parameters/environment
    variants DOCBOOK_XSL_DIR and DOCBOOK_DTD_DIR, respectively.

user-config.jam:
  - Add "using boostbook" example


[SVN r17983]
2003-03-19 00:16:38 +00:00
Douglas Gregor
00dee36e3a Remove LOCATE/common.MkDir hackery and use set-path (thanks Vladimir)
[SVN r17976]
2003-03-18 18:01:50 +00:00
Markus Schöpflin
a5e0f1b240 Name of fs lib changed.
[SVN r17970]
2003-03-18 08:48:26 +00:00
Douglas Gregor
8aa3401eab manpages.xsl: Output man pages into subdirectories based on the man page number
(e.g., man3 for section 3 man pages)


[SVN r17965]
2003-03-17 18:32:17 +00:00
Douglas Gregor
15aa74ac2f boostbook.jam:
- Add support for HTML output (multiple files, with a manifest)
  - Add support for man page output (multiple files, with a manifest)


[SVN r17964]
2003-03-17 18:20:38 +00:00
Douglas Gregor
48a6125b8b manpages.xsl: Wrapper around DocBook manpages output
- Fixes spacing of <programlisting> elements in lists.
  - Handles generation of a manifest, if desired


[SVN r17963]
2003-03-17 18:18:52 +00:00
Douglas Gregor
10e47daf72 Generate a manifest
[SVN r17962]
2003-03-17 17:12:26 +00:00
Douglas Gregor
638ee725dd Allow '=' in free features specified on the command line
[SVN r17961]
2003-03-17 15:55:28 +00:00
Douglas Gregor
a378f5fada Remove html format, because it doesn't work
[SVN r17958]
2003-03-17 15:14:13 +00:00
Vladimir Prus
ba72a92929 Try to reduce the number of include paths.
[SVN r17956]
2003-03-17 09:31:19 +00:00
Vladimir Prus
c6c1f5ab26 Better direct request handling.
* new/build-request.jam
  (directly-requested-properties-adjuster): Redo.

* new/targets.jam
  (main-target.generate-really): Adjust properties here.

* new/virtual-target.jam
  (register-actual-name): New rule.
  (virtual-target.actualize-no-scanner): Call the above, to detected bugs,
  where two virtual target correspond to one Jam target name.


[SVN r17955]
2003-03-17 09:27:43 +00:00
Vladimir Prus
8ee356c8ac Refactorings.
* new/build-request.jam
  (directly-requested-properties-adjuster): New class.

* new/targets.jam
  (abstract-target.direct-build-request): Gone.
  (abstract-target.set-property-adjuster): New method.
  (main-target.generate): Use property-adjuster.


[SVN r17954]
2003-03-17 08:36:34 +00:00
Vladimir Prus
5562b7fcb7 Bufgix. Thanks to Jürgen Hunold for the report.
* new/toolset.jam
  (set-target-variable): Call 'path.native' when setting path features.


[SVN r17953]
2003-03-17 07:58:06 +00:00
Vladimir Prus
74194aa050 Path handling fixes.
[SVN r17952]
2003-03-17 07:44:33 +00:00
Vladimir Prus
fa23498c7d Document use of HTML Tidy.
[SVN r17951]
2003-03-17 06:42:35 +00:00
Douglas Gregor
52b44f57f9 - Support nested classes
- Much improved handling of <purpose> elements in comments


[SVN r17945]
2003-03-16 01:58:29 +00:00
Douglas Gregor
8fb158c087 Fix path for boost.xml
[SVN r17944]
2003-03-16 01:57:35 +00:00
Douglas Gregor
e3e52d40ee function.xsl, template.xsl, type.xsl:
- Deal with changes in the DTD

html.xsl, html-single.xsl:
  - Better handling of function semantic clauses


[SVN r17940]
2003-03-15 23:11:32 +00:00
Douglas Gregor
23d0b67c41 - Eliminate "return-type" attribute for functions
- Require "type" element for most function types
- member-function-group --> method-group
- Remove useless attributes in a few places
- Allow "id" element on BoostBook elements
- Lots of little cleanups and strictifications


[SVN r17939]
2003-03-15 23:10:51 +00:00
Douglas Gregor
4b0e5c0b7d Use "description" element where appropriate
[SVN r17936]
2003-03-15 21:37:18 +00:00
Douglas Gregor
67860256a8 Use description element in functions
[SVN r17935]
2003-03-15 21:36:10 +00:00
Douglas Gregor
3985ee2af5 Support FO, PS, PDF
[SVN r17926]
2003-03-14 21:39:45 +00:00
Douglas Gregor
f9832669c3 use the generate.id template, not generate-id
[SVN r17925]
2003-03-14 21:39:17 +00:00
Douglas Gregor
c0e458a920 Rename html-single to onehtml so that we can request document types
directly from the command line, e.g.,

  bjam onehtml pdf


[SVN r17920]
2003-03-14 19:00:52 +00:00
Douglas Gregor
8fa3ffbdbc Added an XInclude dependency scanner for XML documents
[SVN r17918]
2003-03-14 18:31:26 +00:00
Douglas Gregor
626e28e710 Initial shot at basic BoostBook Jam support
[SVN r17917]
2003-03-14 18:11:43 +00:00
Vladimir Prus
c4d1c43984 Refactoring.
[SVN r17915]
2003-03-14 15:26:18 +00:00
Vladimir Prus
440b19dcce 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
57a4145e76 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
8f8fdb4664 Patches for WIN32
[SVN r17895]
2003-03-13 17:41:17 +00:00
Dave Abrahams
33b400754e Patches for WIN32
[SVN r17894]
2003-03-13 17:37:13 +00:00
Vladimir Prus
2ac530761b Bugfix.
[SVN r17885]
2003-03-13 10:51:20 +00:00
Vladimir Prus
73e220e057 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
Douglas Gregor
22b4b6259d Cleanups, including highlighting in static constants and typedefs
[SVN r17873]
2003-03-13 00:46:15 +00:00
Douglas Gregor
58d5386bc4 Moving from attributes to elements, and introducing a more regular structure
[SVN r17870]
2003-03-13 00:29:30 +00:00
Douglas Gregor
0bd8f624f1 GNU makefile and configure script
[SVN r17867]
2003-03-12 23:37:58 +00:00
Douglas Gregor
e0b74f6342 BoostBook documentation
[SVN r17863]
2003-03-12 22:02:01 +00:00
Douglas Gregor
fe63db04f3 Imported BoostBook XSL stylesheets and DTD
[SVN r17862]
2003-03-12 22:01:44 +00:00
Vladimir Prus
3546c7d963 Integrate the "railsys" test.
[SVN r17848]
2003-03-12 14:08:57 +00:00
Vladimir Prus
2b6f9b53f2 Update tests for the last commit.
[SVN r17846]
2003-03-12 14:03:34 +00:00
Vladimir Prus
9ee4574fc9 Bugfix.
* new/project.jam
  (project-attributes.set): Pass default build through 'property.make'.


[SVN r17845]
2003-03-12 13:55:11 +00:00
Vladimir Prus
c4ab4e644f Add big testcase from Jürgen Hunold.
[SVN r17838]
2003-03-12 13:30:21 +00:00
Vladimir Prus
dbbe1946f4 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
Beman Dawes
42ae4906fa just use links leaf() for releative URL
[SVN r17822]
2003-03-12 00:11:27 +00:00
Vladimir Prus
d51afd5872 Bugfix.
* new/feature.jam
    (expand-subfeatures): Don't try expanding subfeatures in subfeatures.


[SVN r17815]
2003-03-11 15:26:10 +00:00
Vladimir Prus
7a3ea54b50 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
6377570cf1 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
Beman Dawes
8ba91e7889 allow fs::native args, empty subinclude path
[SVN r17787]
2003-03-08 21:44:07 +00:00
Raoul Gough
2f7a88dc77 Supply --enable-auto-image-base when linking a DLL
[SVN r17784]
2003-03-08 09:53:45 +00:00
Dave Abrahams
a148605127 Added dangling_reference FAQ
Various idiomatic MPL cleanups in indirect_traits.hpp
raw_function support
Patches for CWPro7.2
Patches to pass tests under Python 2.3 with the new bool type.
Tests for member operators returning const objects
Fixes for testing Boost.Python under Cygwin


[SVN r17777]
2003-03-08 03:53:19 +00:00
Vladimir Prus
d25ff2d47b Doc tweak.
[SVN r17768]
2003-03-07 16:39:13 +00:00
Dave Abrahams
f582b33aa1 Roll back change which broke Beman's build
[SVN r17767]
2003-03-07 16:24:28 +00:00
Dave Abrahams
43602f3afe bugfix
[SVN r17763]
2003-03-07 15:22:54 +00:00
Vladimir Prus
057e8798e2 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
ec85a3318c Refactorings.
* new/targets.jam
     (main-target.apply-default-build): Call
     'build-request.expand-no-defaults', not 'expand'. The motivation
     is to have defaults added in one place: 'property-set.add-defaults'.
     Also handle the case where default-build is empty.

     (main-target.generate): Apply defaults here. The motivation is
     that if we're using default build, default features should be
     applied here as well, or else we'll get ambiguous alternatives.

     (basic-target.generate): Do not add defaults.


[SVN r17755]
2003-03-07 09:44:20 +00:00
Vladimir Prus
339ae6ddf9 Refactoring.
* new/targets.jam
    (main-target.apply-default-build): New rule, extracted from 'generate'.
    (main-target.generate): Use the above.


[SVN r17754]
2003-03-07 09:09:44 +00:00
Vladimir Prus
5482f20a24 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
Vladimir Prus
7a8c906ed6 Typo.
[SVN r17752]
2003-03-07 06:47:03 +00:00
Dave Abrahams
0cd19b2bb5 Accomodate msvc
[SVN r17746]
2003-03-06 17:54:16 +00:00
Dave Abrahams
2c12561cbb set-target-variables on multiple targets
[SVN r17744]
2003-03-06 17:25:10 +00:00
Dave Abrahams
9944436ad3 Stop putting exported symbols in the intended .exe object file
[SVN r17742]
2003-03-06 14:58:04 +00:00
Dave Abrahams
21fb708543 improve error reports
[SVN r17741]
2003-03-06 14:57:26 +00:00
Vladimir Prus
1d38d9aa59 Add comments/configuration examples.
[SVN r17736]
2003-03-05 15:40:33 +00:00
Markus Schöpflin
94000952ac Merged from branch RC_1_30_0 to trunk.
[SVN r17735]
2003-03-05 15:40:23 +00:00
Vladimir Prus
cff5dbd7a9 Improve test system docs.
[SVN r17731]
2003-03-05 14:51:05 +00:00
Vladimir Prus
8e77f85fbb Doc improvements. Explain library dependencies. Clarify project ids.
[SVN r17729]
2003-03-05 11:17:20 +00:00
Vladimir Prus
a15390229e Make 'user-interface' feature propagated.
[SVN r17711]
2003-03-04 07:55:06 +00:00
Dave Abrahams
560106a559 Fix for cygwin
[SVN r17710]
2003-03-03 19:59:45 +00:00
Dave Abrahams
0707699612 Add user-interface feature; won't build .exes otherwise!
[SVN r17705]
2003-03-03 16:13:37 +00:00
Dave Abrahams
a208eb12f0 Fixes for NT
[SVN r17704]
2003-03-03 16:12:38 +00:00
Vladimir Prus
2caeab775a 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
Dave Abrahams
c1cc64c105 More fragile tweaks for running under Cygwin
[SVN r17699]
2003-03-02 22:09:59 +00:00
Dave Abrahams
0c8f0ffbbe tweaks for stlfilt
[SVN r17698]
2003-03-02 21:46:23 +00:00
Vladimir Prus
7bc92de297 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
659046ebbb Refactoring.
* new/targets.jam
   (basic-target.final-properties): New rule, extracted from 'generate'.
   (basic-target.generate-sources): New rule, extracted from 'generate'.
   (basic-target.requirements): Gone.


[SVN r17684]
2003-02-28 07:19:31 +00:00
Vladimir Prus
661de1c398 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
af62d7a2ae Fix extensions
[SVN r17681]
2003-02-28 01:33:10 +00:00
Dave Abrahams
89b2df2787 Fixes
[SVN r17680]
2003-02-28 01:32:45 +00:00
Dave Abrahams
4281ebe760 Warning suppression for MSVC
[SVN r17676]
2003-02-27 15:08:20 +00:00
Dave Abrahams
c8c0b6f47b Fixes for NT
[SVN r17675]
2003-02-27 15:04:11 +00:00
Dave Abrahams
93821782b2 Warning suppression for MSVC
[SVN r17674]
2003-02-27 15:01:02 +00:00
Vladimir Prus
89ab4f0c8f 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
4daa100fd8 Tweak debug output.
[SVN r17672]
2003-02-27 13:10:57 +00:00
Vladimir Prus
d6b35069a2 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
11f91a744b Fixes for Python and Cygwin testing
[SVN r17667]
2003-02-27 02:20:01 +00:00
Dave Abrahams
71f683395d bugfix
[SVN r17661]
2003-02-26 19:55:18 +00:00
Dave Abrahams
89bd402288 Fix name references
[SVN r17659]
2003-02-26 15:32:32 +00:00
Rene Rivera
c18bc1b8ab Initial code for modifier generators... Name modifier is implemented, and <version> facet of name modifier to produce correct soname/version-name behaviour.
[SVN r17655]
2003-02-26 06:29:12 +00:00
Rene Rivera
db95de0776 Example of using <version> feature.
[SVN r17654]
2003-02-26 06:26:08 +00:00
Rene Rivera
7ed22e8600 Add relative-to to calculate relative paths between dirs.
[SVN r17653]
2003-02-26 06:12:24 +00:00
Dave Abrahams
6fc3335ba4 bugfix
[SVN r17649]
2003-02-25 18:25:29 +00:00
Dave Abrahams
61f55af6cd Better handling of multiple versions
[SVN r17648]
2003-02-25 17:57:41 +00:00
Dave Abrahams
6b0894c46a Allow prepare-target rule in toolsets, fix error reporting
[SVN r17647]
2003-02-25 16:25:28 +00:00
Vladimir Prus
9e3b87e21e Tweak the UML diagram to represent two relations between action and
abstract-file-target.


[SVN r17646]
2003-02-25 16:17:53 +00:00
Dave Abrahams
8394e1d6d7 typo
[SVN r17643]
2003-02-25 14:42:34 +00:00
Dave Abrahams
88c0b3807b Fixes for testing
[SVN r17642]
2003-02-25 14:37:10 +00:00
Vladimir Prus
c5e1d49244 Fix some conditional logic.
[SVN r17640]
2003-02-25 14:09:45 +00:00
Dave Abrahams
705df54682 roll back mistaken change
[SVN r17638]
2003-02-25 13:52:19 +00:00
Vladimir Prus
c3180aa354 A little doc tweak.
[SVN r17635]
2003-02-25 12:44:31 +00:00
Vladimir Prus
b2695a77d5 Allow to reinitialize QT several times, provided installation prefix is
always the same.


[SVN r17630]
2003-02-25 09:03:04 +00:00
Vladimir Prus
7aaf9ceb62 Tweak docs.
[SVN r17628]
2003-02-25 06:33:14 +00:00
Dave Abrahams
11c8f84bd8 This uses gcc explicitly, so it had better not rely on $toolset
[SVN r17624]
2003-02-25 02:27:29 +00:00
Dave Abrahams
f0e80d4042 Improved Boost.Python build reliability and documentation.
[SVN r17623]
2003-02-25 02:15:55 +00:00
Dave Abrahams
5b3309b8b7 Better handling of pass_toolset
[SVN r17604]
2003-02-23 17:04:57 +00:00
Dave Abrahams
4162ee2517 minor fixes
[SVN r17603]
2003-02-23 16:56:21 +00:00
Rene Rivera
dd1f81571f Fix to get docs back after change of UPDATE rule handling.
Minor print and doc changes.


[SVN r17587]
2003-02-22 07:29:59 +00:00
Rene Rivera
023bc56592 Cleanup.
[SVN r17579]
2003-02-21 18:30:58 +00:00
Rene Rivera
7dcf19a4cc Removed outdated build scripts.
[SVN r17578]
2003-02-21 17:22:21 +00:00
Beman Dawes
0b9aeebef0 initial commit
[SVN r17577]
2003-02-21 16:55:47 +00:00
Vladimir Prus
499e92faea Implement the 'alias' main target. This closes BB12.
[SVN r17574]
2003-02-21 09:25:43 +00:00
Vladimir Prus
a036aac263 Bugfix: make Tester.ignore* methods really work.
[SVN r17573]
2003-02-21 09:22:35 +00:00
Vladimir Prus
3d0f635668 Say goodbye to the composing-generator class.
* new/generators.jam
    (generator): New argument 'composing'
    (run): Use 'self.composing'.
    (convert-multiple-sources-to-consumable-types): Moved from
       composing-generator.
    (composing-generator): Remove

* new/builtin.jam
    (linking-generator, register-linker): Use the argument to generator's
       ctor. Allow to make generator non-composing.

* new/msvc.jam: Make msvc.link generator non-composing.


[SVN r17572]
2003-02-21 08:29:34 +00:00
Vladimir Prus
3dbd5088b8 Fix syntax of variable setting on jam command line for windows.
[SVN r17571]
2003-02-21 08:23:07 +00:00
Dave Abrahams
435e37f209 Fixups for cygwin
[SVN r17570]
2003-02-21 08:10:55 +00:00
Dave Abrahams
c9d2adee87 Fixups for building under Cygwin
[SVN r17569]
2003-02-21 07:51:06 +00:00
Vladimir Prus
70ad488ccd Really start the last failed test as soon as possible.
[SVN r17568]
2003-02-21 07:49:14 +00:00
Dave Abrahams
c0053489ef Automatically add library-path values to RUN_PATH/RUN_LD_LIBRARY_PATH
[SVN r17562]
2003-02-20 20:28:05 +00:00
Vladimir Prus
254acc7287 More testing improvements.
* new/build-system.jam: Try to load 'test-config.jam'. If successfull,
    don't load site-config.jam/user-config.jam.

* test/BoostBuild.py: Add directory where test is invoked to BOOST_BUILD_PATH,
    so that test-config.jam can be dropped to "test" dir.


[SVN r17558]
2003-02-20 15:58:02 +00:00
Vladimir Prus
95da6f6e7d Towards really cross-toolset testing system.
- Allow to specify toolset name on the command line
- Expand $toolset in paths
- Pass toolset name to bjam invocations.


[SVN r17555]
2003-02-20 13:08:51 +00:00
Vladimir Prus
c5d25c6bdc Add minimal DLL support.
[SVN r17554]
2003-02-20 12:50:40 +00:00
Vladimir Prus
8760a6e26c Force C++ compiles for borland.
[SVN r17547]
2003-02-20 11:51:29 +00:00
Vladimir Prus
a7ec52400c Stage improvements: exes are now relinked when staging.
* new/generators.jam
  (construct-with-caching): Don't try to cache transformation when source
     target has action (i.e is not plain file).

* new/stage.jam: Try converting stages targets to special staged type.
    Provide STAGED_EXE type.


[SVN r17545]
2003-02-20 10:15:38 +00:00
Vladimir Prus
c15cc7abaa Allow additional argument for user rule, with "make" main target.
* new/make.jam
    (make): Change name only of the first element in 'generating-rule'

* new/virtual-target.jam
    (action.actualize): Pass only first element of action name to
       toolset.set-target-variables.

* test/make_rule.py: New test.


[SVN r17543]
2003-02-20 07:20:52 +00:00
Dave Abrahams
075db848fd Use downcased globbing on NT/Cygwin
[SVN r17537]
2003-02-19 16:43:55 +00:00
Vladimir Prus
0d245fccae Undo previous commit, now that problem with Jam is fixed.
[SVN r17535]
2003-02-19 15:57:25 +00:00
Vladimir Prus
86e627de05 Bugfix: Whoever inveted "text mode" for files was very wrong, and I was
wrong for ignoring this. This changes fixes searched_lib.py on Windows.


[SVN r17534]
2003-02-19 15:49:53 +00:00
Dave Abrahams
2632d7adb7 Fix default install detection
[SVN r17533]
2003-02-19 14:00:23 +00:00
Dave Abrahams
b325d913e3 Fix EOL trimming
[SVN r17532]
2003-02-19 13:59:17 +00:00
Dave Abrahams
4ef89dc132 Fix DLL building, somewhat.
[SVN r17528]
2003-02-19 11:33:58 +00:00
Dave Abrahams
4b9e5ad428 Extend main-target-type to include possible values (duh).
[SVN r17527]
2003-02-19 11:25:50 +00:00
Dave Abrahams
fef75dacf0 improved error reporting
[SVN r17526]
2003-02-19 11:25:23 +00:00
Dave Abrahams
b76eef6a29 bug fix!
[SVN r17525]
2003-02-19 10:48:32 +00:00
Dave Abrahams
053b049879 Allow the use of an unconfigured msvc as long as the PATH, etc., are set up.
[SVN r17524]
2003-02-19 10:23:03 +00:00
Dave Abrahams
89abb95e1e Kill allow-composing checks
[SVN r17523]
2003-02-19 09:31:43 +00:00
Dave Abrahams
5b687cbdd0 Fix bug which placed input-files at LOCATE_SOURCE.
[SVN r17522]
2003-02-19 08:08:56 +00:00
Vladimir Prus
e8c9314c0a Fix debugging output.
[SVN r17521]
2003-02-19 08:00:53 +00:00
Dave Abrahams
c64dcd1fa2 Quote input file names on run tests
[SVN r17520]
2003-02-19 01:57:40 +00:00
Dave Abrahams
3bb7164150 Use "version" subfeature.
[SVN r17518]
2003-02-19 00:59:05 +00:00
Dave Abrahams
6330cab7a4 fix assertions
[SVN r17517]
2003-02-19 00:58:28 +00:00
Dave Abrahams
e7457f8d66 Uniquely-identify value-specific subfeatures
[SVN r17516]
2003-02-19 00:57:28 +00:00
Vladimir Prus
89c0f47d8b Improve stage rule, allowing to specify location in requirements. This
allows short name for stage targets which install to global locations.


[SVN r17508]
2003-02-18 11:25:04 +00:00
Vladimir Prus
52d9841659 Improve running tests.
1. Test names are printed as they are executed.
2. The test which failed during the previous run is executed as soon
   as possible.yx


[SVN r17507]
2003-02-18 09:00:59 +00:00
Vladimir Prus
ba198e1d8d Followup to the last commit: don't import 'exe_suffix'.
[SVN r17506]
2003-02-18 08:57:28 +00:00
Vladimir Prus
15fa6b7cd4 Automatically adjust suffixes when running tests.
[SVN r17505]
2003-02-18 08:32:57 +00:00
Vladimir Prus
4b63f676e5 Don't link to -lz and assume it's existence: build a private library
for testing. Also, test both <name> and <search> in one test.


[SVN r17503]
2003-02-18 06:56:12 +00:00
Dave Abrahams
9ccdefbbf1 Work around a bug in our indirect rule invocation
******* This indicates a core Jam bug!! ********


[SVN r17502]
2003-02-18 05:39:54 +00:00
Dave Abrahams
df20166d39 Hack around NT symlink support
[SVN r17496]
2003-02-17 17:52:20 +00:00
Dave Abrahams
87cd33ca69 Fix some assertions
[SVN r17495]
2003-02-17 17:51:55 +00:00
Dave Abrahams
6c27091562 Bug fixes. Still some problems but I managed to make something work :)
[SVN r17494]
2003-02-17 17:51:32 +00:00
Dave Abrahams
0103240447 disable use of allow-composing
[SVN r17493]
2003-02-17 17:51:07 +00:00
Dave Abrahams
b738d00702 fix bogus removal
[SVN r17492]
2003-02-17 17:50:34 +00:00
Dave Abrahams
68508f52c9 bogus removal
[SVN r17491]
2003-02-17 17:49:52 +00:00
Dave Abrahams
df7f6d9e71 response file bugfixes
[SVN r17490]
2003-02-17 17:42:49 +00:00
Markus Schöpflin
e1195a670e Added compiler command line option -qcpluscmt when compiling C sources
to allow C++ comments.


[SVN r17489]
2003-02-17 16:19:54 +00:00
Dave Abrahams
c9f13908d1 untested MSVC toolset
untested response-file support
expanded optimization to speed/space/off

removed module_actions.PYC
validate multiple properties at once.
Fix bugs in type.jam, virtual-target.jam, symlink.py


[SVN r17487]
2003-02-17 15:16:35 +00:00
Dave Abrahams
bebae9993f Fix inlining switch
[SVN r17485]
2003-02-17 13:24:24 +00:00
Vladimir Prus
c316020950 Cleanups.
* new/virtual-target.jam
     (abstract-file-target.extra-grist): Remove
     (null-action): New class.

* new/prebuilt.jam
     (prebuilt-file-generator): Don't use 'extra-grist', use
     'null-action' instread to distinguish different prebuilt targets.


[SVN r17482]
2003-02-17 09:51:06 +00:00
Vladimir Prus
a6a0c76410 Sync with the rest of code.
[SVN r17481]
2003-02-17 09:43:04 +00:00
Vladimir Prus
fcbabd2f3d Bugfix: virtual target with per-main-target properties can be confused
with ordinary virtual target.

* new/virtual-target.jam
    (abstract-file-target.specific-main-target): New overridable rule.
    (abstract-file-target.actual-name): Use the above.
    (file-target.specific-main-target): Override, using code from
       'compute-extra-path'.
    (file-target.compute-extra-path): Remove
    (file-target.path): Use 'specific-main-target' directly.

* test/main_properties.py: More tests.


[SVN r17480]
2003-02-17 09:10:57 +00:00
Vladimir Prus
ffbfcdb388 Bugfix: recreate working dir only if it does not exists.
* test/BoostBuild.py: (Tester.rm): The above change.


[SVN r17479]
2003-02-17 09:03:04 +00:00
Vladimir Prus
92986606b6 Bugfix: build-dir was broken when building from child projects.
[SVN r17478]
2003-02-17 08:36:45 +00:00
Vladimir Prus
3aa9d17123 Bugfix: <search> property on searched lib targets was ignored.
[SVN r17477]
2003-02-17 08:32:45 +00:00
Vladimir Prus
924a71b682 Add comment.
[SVN r17476]
2003-02-17 08:22:27 +00:00
Vladimir Prus
9218ff3da7 Improve comments.
[SVN r17473]
2003-02-17 06:58:40 +00:00
Rene Rivera
69cb4605c7 Oops, accidentally reintroduced the green age color, now it's really gone.
[SVN r17461]
2003-02-16 17:56:42 +00:00
Rene Rivera
6579a38dad Template and script for the dynamic regression logs summary page.
[SVN r17460]
2003-02-16 17:52:02 +00:00
Vladimir Prus
376b3162b2 Refactorings
[SVN r17406]
2003-02-14 15:28:47 +00:00
Vladimir Prus
38d72000b6 Added documentation.
[SVN r17405]
2003-02-14 15:10:01 +00:00
Vladimir Prus
9470957d71 Added copyright
[SVN r17404]
2003-02-14 15:04:37 +00:00
Markus Schöpflin
5dfd24b4f8 Added variable VA_BIN. This allows to create extended toolsets which
override the location of the compiler installation.


[SVN r17402]
2003-02-14 14:45:30 +00:00
Vladimir Prus
ca808a5150 Added copyright
[SVN r17400]
2003-02-14 14:01:49 +00:00
Beman Dawes
f7462d1dd2 added /Qansi_alias
[SVN r17330]
2003-02-12 16:49:05 +00:00
Vladimir Prus
2737d544ef Make CVS ignore .pyc files.
[SVN r17313]
2003-02-11 08:51:31 +00:00
Vladimir Prus
6b82ec3643 Added missing file. Sorry for complete lack of comments: I've erased
the previous version by accident and don't have the time to restore comments
now.


[SVN r17312]
2003-02-11 08:47:03 +00:00
Vladimir Prus
a7af016287 Introduce the 'property-set' class, which is used instead of
plain old lists of properties in most cases where we need property sets.

The changes are too numerous and mostly automatic to comment each one.


[SVN r17305]
2003-02-10 14:40:38 +00:00
Vladimir Prus
53cf6176e7 Minor bugfix.
[SVN r17298]
2003-02-10 07:09:14 +00:00
Rene Rivera
0752dd1d9c Make sure the .cvspass is not cleared of existing content.
[SVN r17294]
2003-02-09 17:42:24 +00:00
Beman Dawes
c65b638b1c Add "sublibs" feature
[SVN r17240]
2003-02-05 18:09:35 +00:00
Björn Karlsson
07f5ab095b Added .jam signature
[SVN r17237]
2003-02-05 15:57:51 +00:00
Björn Karlsson
a934635472 Added Jamfile check
[SVN r17229]
2003-02-05 12:47:25 +00:00
Björn Karlsson
83fb758b0c Added copyright statement
[SVN r17226]
2003-02-05 09:47:21 +00:00
Björn Karlsson
2da023df0a Added copyright statement
[SVN r17224]
2003-02-05 09:33:54 +00:00
Vladimir Prus
b336862cf7 Kill tabs.
[SVN r17221]
2003-02-05 08:00:34 +00:00
Vladimir Prus
c50a0eaeae Improve diagnostics.
[SVN r17220]
2003-02-05 08:00:06 +00:00
Vladimir Prus
4ccfcf363f Kill tabs.
[SVN r17189]
2003-02-04 09:03:07 +00:00
Vladimir Prus
bcddf493d8 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
Rene Rivera
698eebd187 Make the target option in RPM work conditionaly, as it has different syntax depending on version/os variant... yuk.
[SVN r17166]
2003-02-02 21:23:36 +00:00
Rene Rivera
2066469831 Minor change to options for RPM build to make it work on YellowDog PPC-Linux.
[SVN r17165]
2003-02-02 21:08:27 +00:00
Rene Rivera
d40587515a Reflect current state of checked for toolsets.
[SVN r17164]
2003-02-02 17:37:38 +00:00
Rene Rivera
c287187d8b * Make use of CC, CFLAGS, and LIBS env when using cc toolset.
* Adjust generated packages for posting to SourceForge. Specifically, generate a tgz for the single binary.


[SVN r17163]
2003-02-02 17:36:49 +00:00
John Maddock
14a4b3f3eb Fixed erronious == in test.
[SVN r17160]
2003-02-02 12:13:29 +00:00
Dave Abrahams
8c2caa9def Attempt not to build shared libs on Cray, since they're not supported.
[SVN r17159]
2003-02-01 23:41:06 +00:00
Dave Abrahams
5897f14de6 Attempt not to build shared libs on Cray, since they're not supported.
[SVN r17157]
2003-02-01 22:14:24 +00:00
Dave Abrahams
e3c27f0cdc Attempt not to build shared libs on Cray, since they're not supported.
[SVN r17156]
2003-02-01 20:56:03 +00:00
Rene Rivera
527879e9a3 Remove links to prebuilts that don't exist anymore.
[SVN r17155]
2003-02-01 20:17:14 +00:00
Rene Rivera
0a7b1c226a Updated prebuilt links to point to bjam.tgz, to fix problems with browsers that uncompress gz files automatically.
[SVN r17154]
2003-02-01 20:02:33 +00:00
Dave Abrahams
f247520689 Fix integer overflow that was causing traps on Cray.
[SVN r17150]
2003-02-01 17:21:54 +00:00
Vladimir Prus
a7544a8050 More generators refactoring.
[SVN r17118]
2003-01-31 14:50:22 +00:00
Vladimir Prus
0ca2449c50 More generators docs and minor refactoring.
[SVN r17117]
2003-01-31 14:20:25 +00:00
Vladimir Prus
cdb47fd575 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
73eb5421dc 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
aa21f6d111 Document static/shared libs, searched libs and mention project-root.
[SVN r17102]
2003-01-31 07:48:34 +00:00
Dave Abrahams
484f192ed8 Restore missing PDB_LINKFLAG
[SVN r17086]
2003-01-30 10:43:27 +00:00
Vladimir Prus
f4c7467101 Don't allow a toolset module to set flags for other module.
[SVN r17085]
2003-01-30 10:24:55 +00:00
Rene Rivera
f0960b96e2 Make set-as-singleton account for set/reset if the variables are cleared after use.
[SVN r17080]
2003-01-29 16:26:40 +00:00
Beman Dawes
e0b255dc0f Add crlf and copyright checks
[SVN r17077]
2003-01-29 11:14:44 +00:00
Vladimir Prus
f1db7200dc Respect <threading> in QT support.
[SVN r17074]
2003-01-29 06:37:26 +00:00
Vladimir Prus
af12b64403 Add comments.
[SVN r17073]
2003-01-29 06:16:48 +00:00
Vladimir Prus
82e0953072 Sync QT support with recent changes.
[SVN r17072]
2003-01-29 06:09:15 +00:00
Dave Abrahams
3436f2f721 Fix size of enums
[SVN r17071]
2003-01-28 23:25:16 +00:00
Vladimir Prus
57e6e0a755 Add stlport support.
[SVN r17068]
2003-01-28 15:59:23 +00:00
Vladimir Prus
d01f016dfc Bugfix: quoted includes were not handled correctly in some cases.
[SVN r17067]
2003-01-28 15:40:25 +00:00
Vladimir Prus
9c1c81b1e3 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
c8a5bd0243 Overwrite existing symlinks.
[SVN r17064]
2003-01-28 15:13:03 +00:00
Vladimir Prus
5cfbcc5bb4 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
5bee5f7d6f 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
2b6a25a5a9 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
8881342f15 Make module_actions test work on Linux.
[SVN r17057]
2003-01-28 08:40:23 +00:00
Vladimir Prus
de7dcca4f7 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
6dcae1a8f3 Minor syntax nit.
[SVN r17048]
2003-01-26 18:15:38 +00:00
Raoul Gough
65bda9a54b Remove note about STLport in link to gcc-nocygwin toolset
[SVN r17039]
2003-01-24 21:41:24 +00:00
Raoul Gough
35895ec900 Use updated Cygwin g++ support for -mno-cygwin
[SVN r17038]
2003-01-24 21:39:59 +00:00
Raoul Gough
524d752cc9 Support for suppressing the export-all-symbols linker flag
[SVN r17037]
2003-01-24 21:38:57 +00:00
Beman Dawes
76874fdd35 Fix for lib error with locate_root != boost_root
[SVN r17034]
2003-01-24 17:24:00 +00:00
Beman Dawes
49f2013691 tread dups as warning, not exception
[SVN r17033]
2003-01-24 17:16:26 +00:00
Vladimir Prus
7267869e04 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
508cfe9353 Add (now disabled) test for BB10.
[SVN r17008]
2003-01-23 14:24:53 +00:00
Dave Abrahams
bf5a5b4d13 Added missing module_actions test
[SVN r17007]
2003-01-23 13:57:01 +00:00
Vladimir Prus
141e854889 Supress some output, when unneeded.
[SVN r17005]
2003-01-23 11:33:53 +00:00
Vladimir Prus
8372d30032 Introduce "--ignore-config" command line option.
[SVN r17004]
2003-01-23 11:22:47 +00:00
Vladimir Prus
378b889b9a 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
62e11f5b17 Simplify and test remove-trailing-slash
[SVN r17000]
2003-01-22 22:18:15 +00:00
Dave Abrahams
5cc16e283c Added missing module_actions test
[SVN r16999]
2003-01-22 22:10:11 +00:00
Raoul Gough
9e4bbefdb8 Supply --enable-auto-image-base during linking on NT platforms
[SVN r16997]
2003-01-22 18:31:22 +00:00
Rene Rivera
40c2585078 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
453128d296 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
4a8567bb23 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
e8b97cc113 Better window layout in QT/UI example.
[SVN r16985]
2003-01-22 06:00:19 +00:00
Vladimir Prus
0e6480e5ab 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
aa3c20495e More generators refactoring.
[SVN r16977]
2003-01-21 14:37:35 +00:00
Vladimir Prus
3daea37aaa Accomodate for BB1 fix.
[SVN r16973]
2003-01-21 13:11:09 +00:00
Vladimir Prus
9283734259 Add QT/UI example, provided by Felix E. Klee.
[SVN r16969]
2003-01-21 07:16:58 +00:00
Vladimir Prus
104aa9156e Add UIC support to QT module.
[SVN r16968]
2003-01-21 07:14:44 +00:00
Dave Abrahams
7409aa541d Handle BB1
[SVN r16967]
2003-01-21 05:03:08 +00:00
Dave Abrahams
e9c6051fdc Handle BB1
[SVN r16966]
2003-01-21 04:55:24 +00:00
Vladimir Prus
45df97a9ff Add "hpp" as another suffix for "H" type.
[SVN r16961]
2003-01-20 13:02:55 +00:00
Vladimir Prus
7ab76f2877 Rename ".qpp" to ".h".
[SVN r16960]
2003-01-20 10:45:35 +00:00
Vladimir Prus
6bf361f3dd 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
c3ab65dd51 Add appropriate -L switch for QT.
[SVN r16958]
2003-01-20 09:25:53 +00:00
Dave Abrahams
1105be99f9 Apparently I forgot to check in these changes
[SVN r16937]
2003-01-19 17:47:32 +00:00
Ronald Garcia
14acc28931 calls to "test" were using nonportable "-e" (bash-ism). Changed to -r.
[SVN r16923]
2003-01-17 19:54:04 +00:00
Toon Knapen
259d49450c restored linking with NEEDLIBS twice
[SVN r16922]
2003-01-17 14:52:15 +00:00
Toon Knapen
34f30b419f FINDLIBS is preceded by NEEDLIBS to resolve symbols of external/system libraries
used in the libs of the current project contained in NEEDLIBS


[SVN r16921]
2003-01-17 13:12:50 +00:00
Rene Rivera
fdf5dc3174 Add support for specifying linker flags supported by platform.
Makes it possible to build and link to DLLs on OpenBSD.


[SVN r16920]
2003-01-17 06:32:03 +00:00
Rene Rivera
b840d64105 Add default <dllversion> on OpenBSD platform to satisfy *.so link requirements.
[SVN r16919]
2003-01-16 23:17:11 +00:00
Vladimir Prus
5f8788e68d Added QT example.
[SVN r16916]
2003-01-16 12:51:02 +00:00
Vladimir Prus
d2b1831701 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
Rene Rivera
f65e592d27 Fix minor problem for anoncvs logins.
[SVN r16914]
2003-01-15 20:55:21 +00:00
Dave Abrahams
a42070f070 Fix validation
[SVN r16913]
2003-01-15 17:28:28 +00:00
Vladimir Prus
25c6e61a6f Win32 fix.
[SVN r16910]
2003-01-15 12:03:08 +00:00
Dave Abrahams
80f5eb2d40 Improved error-checking
[SVN r16909]
2003-01-15 11:48:46 +00:00
Vladimir Prus
53b8123377 Validate the build request which comes from command line.
[SVN r16908]
2003-01-15 11:41:16 +00:00
Vladimir Prus
6790091838 Make toolset-version feature propagated and link-incompatible.
[SVN r16907]
2003-01-15 11:11:44 +00:00
Vladimir Prus
db17837f80 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
62dae3aecf Remove debug output.
[SVN r16905]
2003-01-15 10:25:09 +00:00
Dave Abrahams
ab1dd608e2 Fix subfeature validation
[SVN r16903]
2003-01-15 01:11:27 +00:00
Dave Abrahams
41f4809032 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
de462a76ff More generators refactoring.
[SVN r16901]
2003-01-14 19:10:28 +00:00
Beman Dawes
927dc0402b now works with targets in separate tree (ALL_LOCATE_TARGET)
[SVN r16899]
2003-01-14 01:38:17 +00:00
Dave Abrahams
bb42fd703f Make unit-test built by default.
[SVN r16898]
2003-01-14 00:07:37 +00:00
Vladimir Prus
e2774474c4 Minor refactoring.
[SVN r16895]
2003-01-13 17:29:42 +00:00
Rene Rivera
e6dd6b2611 Add recognition of OpenBSD... to fix some of the regression tests (threads).
[SVN r16893]
2003-01-13 16:51:58 +00:00
Vladimir Prus
c35c792453 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
c92e62539f Cleanups.
[SVN r16891]
2003-01-13 16:14:59 +00:00
Vladimir Prus
2b3ca70826 Revert accidental checkin.
[SVN r16890]
2003-01-13 16:13:51 +00:00
Vladimir Prus
6c3be6a707 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
Beman Dawes
c3d842e3fe remove inadvertent <pre> formatting changes
[SVN r16886]
2003-01-13 15:41:30 +00:00
Vladimir Prus
25275ccb1c Rename 'use-requirements' to 'usage-requirement', to avoid
confusion.


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


[SVN r16881]
2003-01-13 07:36:32 +00:00
Vladimir Prus
a2cba14f0f Add forgotten method to the UML diagram.
[SVN r16880]
2003-01-13 06:54:53 +00:00
Dave Abrahams
1b20e2354e Add Vladimir's UML diagram
[SVN r16879]
2003-01-12 22:57:53 +00:00
Dave Abrahams
fd5c77628e Add Vladimir's UML diagram
[SVN r16878]
2003-01-12 21:24:41 +00:00
John Maddock
734c789866 Fixed previous commit: -pthreads should really be spelled -pthread (!).
[SVN r16876]
2003-01-12 11:54:24 +00:00
John Maddock
bb1f940b68 Added FreeBSD threading options.
[SVN r16875]
2003-01-12 11:41:28 +00:00
Beman Dawes
dcf7006227 add <define> example
[SVN r16870]
2003-01-11 14:02:37 +00:00
Rene Rivera
4789ae875d Per John's observation, added missing quotes in acc CC.
[SVN r16862]
2003-01-10 17:43:22 +00:00
Rene Rivera
45d8cb9736 Guard against OSPLAT not being defined. Missed one.
[SVN r16861]
2003-01-10 17:15:46 +00:00
Rene Rivera
e7ba7fd973 Guard against OSPLAT not being defined.
[SVN r16860]
2003-01-10 17:09:08 +00:00
Rene Rivera
7d7d75bf7b Add -Ae flag to acc.
[SVN r16859]
2003-01-10 16:26:23 +00:00
Rene Rivera
8d3431ec3c 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
Dave Abrahams
4741661aef Added missing newlines at EOF
[SVN r16857]
2003-01-10 15:38:27 +00:00
Dave Abrahams
7c83c4682c Refine optimization settings
[SVN r16853]
2003-01-10 15:03:46 +00:00
Vladimir Prus
bcd7c779a5 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
93888b34c6 Make prebuilt.py work on NT/MinGW.
[SVN r16847]
2003-01-10 09:40:58 +00:00
Rene Rivera
1cee0f88f2 Some improvements to the script to make it easier to use.
- Better explained variables for configuration.
- Additional support fo getting the fresh CVS state of code.


[SVN r16846]
2003-01-10 06:00:13 +00:00
Rene Rivera
59ac4fe74f Added a run stage to put the binaries into to simplify the run_test.sh script.
[SVN r16845]
2003-01-10 05:26:46 +00:00
Rene Rivera
dc57440908 Added "-Ae" flag to acc toolset.
Added generic Unix cc toolset.


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


[SVN r16841]
2003-01-09 17:50:11 +00:00
Dave Abrahams
4310d52c2d add missing newline at EOF
[SVN r16840]
2003-01-09 17:09:04 +00:00
Vladimir Prus
d4fa3f3942 Make build_dir.py work on NT/MinGW.
[SVN r16839]
2003-01-09 16:22:09 +00:00
Dave Abrahams
49bdc78bf8 Add assertions
[SVN r16838]
2003-01-09 16:20:58 +00:00
Vladimir Prus
bd26627fab Make project_dependencies.py work on NT/MinGW.
[SVN r16837]
2003-01-09 16:17:57 +00:00
Dave Abrahams
d4e6dfcf83 add missing newline at EOF
[SVN r16836]
2003-01-09 16:14:30 +00:00
Vladimir Prus
d968045e33 Make stage.py work on NT/MinGW.
[SVN r16835]
2003-01-09 16:08:51 +00:00
Vladimir Prus
8a52b0e4ff Make conditionals.py work on NT/MinGW.
[SVN r16834]
2003-01-09 16:04:13 +00:00
Vladimir Prus
cd925c54ff Make use_requirements.py work on NT/Cygwin, by using static lib in one
case.


[SVN r16833]
2003-01-09 15:52:23 +00:00
Vladimir Prus
c1a2fedbbf Bugfix for another case where Jam were changing slash direction.
[SVN r16832]
2003-01-09 15:26:31 +00:00
Vladimir Prus
c4338e0ea2 Bugfix.
[SVN r16831]
2003-01-09 15:22:06 +00:00
Vladimir Prus
f3d56afb03 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
John Maddock
5c546dd981 Added example shell script.
[SVN r16821]
2003-01-09 12:36:22 +00:00
Beman Dawes
b976aced01 remove tabs
[SVN r16820]
2003-01-09 12:36:21 +00:00
Vladimir Prus
644ce8709a Add a diagnostic.
[SVN r16816]
2003-01-09 06:51:46 +00:00
Dave Abrahams
54071e3388 Fixes for Windows/GCC-3.2
[SVN r16815]
2003-01-09 01:29:30 +00:00
Beman Dawes
9cf87f1074 fixes, cleanup
[SVN r16813]
2003-01-09 00:16:19 +00:00
Beman Dawes
e5b54fb793 supply links HTML boilerplate
[SVN r16811]
2003-01-09 00:08:08 +00:00
Dave Abrahams
734f00f7d8 Restore crucial missing line
[SVN r16810]
2003-01-09 00:03:25 +00:00
Dave Abrahams
f403e6117e fix DLL suffix for Cygwin
[SVN r16806]
2003-01-08 20:43:49 +00:00
Dave Abrahams
3ead66297d Fixed up difference reporting again!
[SVN r16805]
2003-01-08 20:41:29 +00:00
Dave Abrahams
04ecee58ae Fixed up difference reporting
[SVN r16804]
2003-01-08 20:34:00 +00:00
Dave Abrahams
6a7910d4bb Add verbosity options
[SVN r16803]
2003-01-08 20:11:15 +00:00
Dave Abrahams
08b13d26bb Add missing newlines at EOF
[SVN r16802]
2003-01-08 19:43:09 +00:00
Dave Abrahams
7768f65cb4 Add missing exe_suffix, dll_suffix
[SVN r16801]
2003-01-08 19:42:47 +00:00
Dave Abrahams
17d0796754 Add verbosity command-line option to dump build actions.
[SVN r16800]
2003-01-08 19:42:09 +00:00
Dave Abrahams
ae896ef7ff bug fix
[SVN r16799]
2003-01-08 19:38:27 +00:00
Dave Abrahams
06761c51d2 added missing validate-property-sets
[SVN r16798]
2003-01-08 18:16:32 +00:00
Vladimir Prus
7a57715262 Fix some syntax errors.
[SVN r16794]
2003-01-08 13:20:46 +00:00
Vladimir Prus
12f0ee166b Making more tests work on windows.
* new/builtin.jam: The lib suffix in not "obj", even on windows.

* test/BoostBuild.py: (lib_suffix): New variable.
* test/generators_test.py: Use lib_suffix.


[SVN r16793]
2003-01-08 13:05:30 +00:00
Beman Dawes
9e75e525b4 Initial commit
[SVN r16783]
2003-01-07 16:57:46 +00:00
Dave Abrahams
f10bd5889e bug fix
[SVN r16781]
2003-01-07 16:23:31 +00:00
Dave Abrahams
0d4ae276d7 Take care of most of BB4
[SVN r16778]
2003-01-07 00:18:22 +00:00
Dave Abrahams
301519a518 make dump-test work nicely for subincluded Jamfiles
[SVN r16777]
2003-01-06 23:32:46 +00:00
Beman Dawes
cd681cb98a test-type now in --dump-tests output + now work with subincludes
[SVN r16773]
2003-01-06 21:31:32 +00:00
Dave Abrahams
00f68628f0 Add test type dumping
[SVN r16766]
2003-01-05 20:05:48 +00:00
Dave Abrahams
9a1b2eb7b0 Rewrite unit-test() in terms of testing.jam/run()
[SVN r16765]
2003-01-05 19:55:47 +00:00
Rene Rivera
8d39a71e0e Brought back compatability of command line specified targets to update.
Modified UPDATE builtin to: 1. clear the update list, 2. set the update list to the given targets, 3. return the previous update list.


[SVN r16764]
2003-01-05 19:11:07 +00:00
Dave Abrahams
3870dcf67a cleanup
[SVN r16761]
2003-01-05 18:40:55 +00:00
Dave Abrahams
0a9df48352 undo ls hack
[SVN r16760]
2003-01-05 18:40:33 +00:00
Dave Abrahams
07e5806cbb Use exe_suffix for Cygwin
[SVN r16759]
2003-01-05 18:27:05 +00:00
Dave Abrahams
556bf725cc Compute exe_suffix for Cygwin
Dump recursive directory on certain failures.
Allow List addition


[SVN r16758]
2003-01-05 18:25:58 +00:00
Dave Abrahams
105eae2195 fix typo
[SVN r16757]
2003-01-05 18:24:56 +00:00
Dave Abrahams
9bf028c9c7 Make local rules local
[SVN r16756]
2003-01-05 18:24:21 +00:00
Dave Abrahams
6b55ffbce2 Added missing newline at EOF which was causing warnings and thus test
failures with gcc-3.2


[SVN r16755]
2003-01-05 17:42:37 +00:00
Dave Abrahams
249c2d2a18 Allow special <test-info> feature for augmented --dump-tests functionality
[SVN r16753]
2003-01-05 15:51:20 +00:00
Douglas Gregor
dd49dbca0c compiler_status.cpp:
- Support testsuites.jam in addition to Jamfile


[SVN r16736]
2003-01-03 04:51:05 +00:00
Beman Dawes
6f71c3a53f filesystem_error redesign plus reliability fixes
[SVN r16724]
2002-12-30 19:21:00 +00:00
Vladimir Prus
97b7a1bddc Work on BB14: allow target suffixes to depend
on build properties.

* new/builtin.jam
    Introduce "os" feature.

* new/gcc.jam
    Make object suffix "o" on all platforms.

* new/property.jam
    (property-map): New class.

* new/type.jam
    (.suffixes): Global propety-map instance, to
	keep properties->suffix mapping.
    (set-generated-target-suffix): New rule
    (generated-target-suffix): New argument
	'properties'.

* new/virtual-target.jam
    (abstract-file-target.actual-name): Pass
	properties to type.generated-target-suffix.

* test/project_test4.py
    Don't specify expected list of build properties,
    since it's not stable. Check head of error message
    only.


[SVN r16700]
2002-12-25 07:18:34 +00:00
Rene Rivera
a1a90fd678 Fix singleton variables when used by multiple variants of the gcc toolset.
[SVN r16697]
2002-12-23 22:32:22 +00:00
Dave Abrahams
3adc043e33 Bug fix for shared/static linking
[SVN r16675]
2002-12-20 22:49:17 +00:00
Beman Dawes
a23395fce3 sane-testing merged
[SVN r16674]
2002-12-20 22:44:18 +00:00
Toon Knapen
d578f65ffb added settings from David Abrahams
[SVN r16671]
2002-12-20 15:54:26 +00:00
Toon Knapen
1f11ffc008 toolset description for the HP aCC compiler
[SVN r16670]
2002-12-20 14:32:22 +00:00
Dave Abrahams
7b2541c747 Patch to allow derivation of gcc-STLfilt toolset
[SVN r16667]
2002-12-20 00:02:26 +00:00
Vladimir Prus
4ac1854547 Fix a typo.
[SVN r16663]
2002-12-19 14:37:07 +00:00
Dave Abrahams
ee37aa3f6f fix for multiple simultaneous Jam sessions, to avoid overwriting
temporary .bat files, courtesy of "Anichini, Steve"
<Sanichini@midwaygames.com>


[SVN r16658]
2002-12-18 21:35:09 +00:00
Beman Dawes
5916fc1caf Fixes, reliability improvements
[SVN r16646]
2002-12-18 14:59:48 +00:00
Dave Abrahams
30b1148776 update INTEL_LINUX_VERSION (Guillaume Melquiond <gmelquio@ens-lyon.fr>)
[SVN r16645]
2002-12-18 13:12:27 +00:00
Dave Abrahams
23ef919756 fix typo (Guillaume Melquiond <gmelquio@ens-lyon.fr>)
[SVN r16644]
2002-12-18 13:10:53 +00:00
Beman Dawes
d37255c712 Add parse msg to improve error reporting
[SVN r16643]
2002-12-18 12:20:55 +00:00
Dave Abrahams
251fe38abb Bug fix
[SVN r16637]
2002-12-17 14:15:07 +00:00
Dave Abrahams
a22cfae571 Attempted fix for people who want to work with 2 versions
[SVN r16635]
2002-12-17 12:57:50 +00:00
Vladimir Prus
6e64fdbaed Add a new test, which fails and is therefore commented out.
[SVN r16631]
2002-12-17 08:21:19 +00:00
Dave Abrahams
289e7a53fa Add missing libutil for embedding
[SVN r16630]
2002-12-17 00:20:43 +00:00
Dave Abrahams
ebf59dbde4 Add libdl for Unix
[SVN r16627]
2002-12-16 22:59:52 +00:00
John Maddock
baf07a3b96 Finally got Kylix environment variable support working,
Added Kylix build docs.


[SVN r16622]
2002-12-16 12:58:18 +00:00
John Maddock
b0f24ee9dd Added -g255 option for builds so that the compiler doesn't stop if there are a lot of warnings
[SVN r16621]
2002-12-16 12:55:38 +00:00
Vladimir Prus
fa3783067d Another bugfix for dependency properties in use requirements.
* new/targets.jam
    (generate-dependencies): New argument 'extra-properties.
        Add it to properties used for building dependencies.
    (basic-target.generate): Use the above change.


[SVN r16611]
2002-12-15 10:14:11 +00:00
Vladimir Prus
4b689f1368 Add a script to facilitate creating of tests from directories.
[SVN r16610]
2002-12-15 10:10:10 +00:00
Vladimir Prus
bd6665f878 Bugfix.
* new/builtin.jam: When hardcoding dll paths, check for
     <library> properties too, no only for sources of
     LIB type.


[SVN r16609]
2002-12-15 08:07:12 +00:00
Dave Abrahams
dba3588580 runtime-build support for pro8
[SVN r16598]
2002-12-12 22:15:57 +00:00
Dave Abrahams
bed917569e Allow dashes in feature values
[SVN r16597]
2002-12-12 19:29:39 +00:00
Beman Dawes
c996749079 fs_review branch merged
[SVN r16593]
2002-12-11 19:47:00 +00:00
Vladimir Prus
4f9e0c0df9 Implement BB7: now there's "build-dir" project
attribute which controls where generated targets are put,
much in the same was as ALL_LOCATE_TARGET.

* new/virtual-target.jam
    (virtual-target.path): Respect build dir.
    (virtual-target.actualize-location): Don't
       compute path, but call call instead.

* new/project.jam
    (initialize): Set default value for 'build-dir'.
    (project-attributes.set): Handle 'build-dir'.

* new/path.jam
    (relative): New rule.

* test/build_dir.py: New test.


[SVN r16589]
2002-12-11 19:01:50 +00:00
Vladimir Prus
a16b8fca32 Introduce the <dll-path> and <hardcode-dll-paths> features.
* gcc.jam: Handle the <dll-path> feature.

* builtin.jam
    New features <dll-path> and <hardcode-dll-paths>.
    (link-action.adjust-properties): Add library's
    full paths to <dll-path> when <hardcode-dll-paths>
    is specified.


[SVN r16588]
2002-12-11 17:40:48 +00:00
Vladimir Prus
ff883a4704 Added <linkflags>
[SVN r16582]
2002-12-10 09:03:19 +00:00
Vladimir Prus
2d976ed34f Bugfix: dependency features in use requirements were mishandled.
* new/targets.jam
    (basic-target.generate): Use 'generate-dependencies'
    for use requirements on this target.

* test/use_requirements.py: More tests.


[SVN r16580]
2002-12-10 07:48:56 +00:00
Vladimir Prus
0453d98586 Bugfix: path features in target requirement were
not translated.

* test/path_features.py: Fix a bug in test.

* new/targets.jam
    (main-target-requirements): Bugfix.


[SVN r16579]
2002-12-10 07:15:33 +00:00
Vladimir Prus
3e273be14d Replace the "prebuilt" rule with <file> feature.
* new/generators.jam
    (find-viable-generators): Allow target type of
       "*" mean any type. Try generators for "*" first.
       Really ignore generators for base types when
       there's a generator for derived type. Allow
       grist-only element in generators requirements
       to match all values of property.

* new/prebuilt.jam
    (prebuilt-target-class): Remove
    (prebuild-file-generator): New class.


[SVN r16578]
2002-12-10 07:06:43 +00:00
Vladimir Prus
290c2840f0 Improve shared/static linking interface and
introduce separate <link-runtime> feature.
Allow to use the 'lib' rule to declare
libraries that should be searched for.

* builtin.jam: Remove 'shared' features. Introduce
   'link' and 'link-runtime'.
   (searched-lib-target): New class
   (searched-lib-generator): New generator.
   (lib-action): New class, derived from 'action'.
   Handles instances of 'searched-lib-target' in sources.
   Also, moves all libraries from sources to property value,
   so that we can repeat them twice in command line.
   (lib-generator): Generator which uses 'lib-action'.

* generators.jam: Allow empty list of sources everywhere.

* virtual-target.jam (file-target): Split into
   'abstract-file-target' and 'file-target'.
   (abstra
  (action.actualize-sources): New rule. Allows to
  handle the fact that some sources are special,
  and should not become $(>) in action body.


[SVN r16573]
2002-12-09 10:02:37 +00:00
Rene Rivera
eb9e9db9e3 Account for "Program Files" in different installations of Windows.
[SVN r16526]
2002-12-06 05:02:00 +00:00
Markus Schöpflin
16c66770f6 Enable linker optimization in release builds when generating debug symbols.
[SVN r16525]
2002-12-05 14:25:09 +00:00
Rene Rivera
66f4b8895e Minor fixes to compile in OpenVMS.
[SVN r16523]
2002-12-05 00:08:49 +00:00
Rene Rivera
d8519ee0ca Fix end-of-lines
[SVN r16522]
2002-12-04 23:46:54 +00:00
Rene Rivera
f1301885a2 Initial. Minimal build of bootstrap only.
[SVN r16521]
2002-12-04 23:36:31 +00:00
Dave Abrahams
e9fef8b4fd Use correct C compiler
[SVN r16516]
2002-12-04 16:20:38 +00:00
Vladimir Prus
f6131d8bc2 Search for site-config.jam and user-config.jam not
only in BOOST_BUILD_PATH but also in HOME and
system locations. Document the search paths.


[SVN r16486]
2002-12-03 12:20:49 +00:00
Rene Rivera
5ed51ae1c8 Add the <version> feature.
[SVN r16485]
2002-12-03 04:46:57 +00:00
Dave Abrahams
4a3f10af82 Add missing "static" to suppress warning with aCC
[SVN r16484]
2002-12-03 00:02:47 +00:00
Dave Abrahams
7bb00a030a Add explanation of property validity
[SVN r16475]
2002-12-02 14:13:52 +00:00
Vladimir Prus
fbf5a81e52 Integrate semaphores extension from Craig McPeeters' branch on
public.perforce.com (revisions 1664, 1665).


[SVN r16472]
2002-12-02 12:28:01 +00:00
Vladimir Prus
e4f90982a7 Work on BB5. Mininal version of toolset initialization implemented.
* new/gcc.jam (init): New rule. Allows to specify alternative
    gcc versions.

* new/toolset.jam
    (using): New rule.
    (set-target-variables): Bufgix. I was making indirect call
        via variable with multiple values.

* new/build-request.jam
   (looks-like-implicit-value): New rule.
   (from-command-line): Use the above.
   (convert-command-line-element): Don't validate
      elements with dashes (this probably must be fixed).


[SVN r16468]
2002-12-02 07:20:37 +00:00
Dave Abrahams
00b0f5eeec automatic shared_ptr from_python conversions
[SVN r16467]
2002-12-02 01:37:39 +00:00
Rene Rivera
64dd1fed72 Oops, account for spaces in LIB environment var.
[SVN r16463]
2002-12-01 04:29:27 +00:00
Rene Rivera
c99c34cccb Use /LIBPATH to "fix" compilation on MSVC. Assumes LIB is set by VCVARS32.BAT correctly.
[SVN r16462]
2002-12-01 04:25:45 +00:00
Dave Abrahams
0758e40971 Clarified comments and docs
[SVN r16461]
2002-11-30 00:57:39 +00:00
Dave Abrahams
9dcf6cbf44 Clarified comments (I hope)
[SVN r16460]
2002-11-30 00:37:39 +00:00
Dave Abrahams
c03b07a2e0 Progress on embedding example for unix.
[SVN r16458]
2002-11-29 20:23:54 +00:00
Vladimir Prus
0a19aebba8 Make file-target decide is main target name should be
present in target path, instead of doing this
high in control structure.

* new/targets.jam
    (main-target.generate): Don't bother with setting
       extra path on generated targets.

* new/virtual-target.jam
    (virtual-target.extra-path): Remove.
    (virtual-target.compute-extra-path): New method.
         (subvariant): Document better.


[SVN r16454]
2002-11-28 09:14:41 +00:00
Vladimir Prus
5fb0e1fd91 Better support project requirements with dependency properties
in it. Don't generate all main target into separate subdirectories
in this case.

* new/targets.jam:
    (project-target.reference-properties): New method
    (generate): Moved from basic-target.generate-source
    (generate-dependencies): New rule.

* test/project_dependencies.py: New test.


[SVN r16453]
2002-11-28 08:18:06 +00:00
Vladimir Prus
c0d180599e Initial support for the borland toolset.
* borland.jam: New file. Does not support dll yet.

* builtin.jam: Use "obj" and "lib" extensions on
    Windows for objects and static libraries, respectively.


[SVN r16441]
2002-11-27 10:18:20 +00:00
Vladimir Prus
313f36f979 Improve 'flags' and the gcc toolset.
* gcc.jam: Extend the 'toolset' feature with gcc here.
    Use flags for linking too and eliminate 'link-options'
    rule. Remove empty compile/archive/link/link-dll rules.

* toolset.jam (flags): Document somehow.
     (set-target-variables): Call 'actualize' on values
     of dependency features.


[SVN r16440]
2002-11-27 09:35:53 +00:00
Vladimir Prus
26805ee1a7 Clean ups.
* new/builtin.jam: Made 'toolset' and 'variant'
    features symmentic. Document and fix the 'variant' rule.

* new/virtual-target.jam: Refactoring attempts. Split
   virtual-target into virtual-target and derived from it
   file-target. Eliminate some duplication in setting target
   locations.


[SVN r16437]
2002-11-27 08:37:07 +00:00
Vladimir Prus
2ba8c61449 Extend tutorial. Correct some typos and obscurities.
[SVN r16436]
2002-11-27 07:50:17 +00:00
Markus Schöpflin
d0185dad35 More fixes merged from release branch.
[SVN r16421]
2002-11-26 13:46:44 +00:00
Dave Abrahams
ccf61a1550 Stop neutering customization of GCC_BIN_DIRECTORY
[SVN r16391]
2002-11-24 03:27:53 +00:00
Vladimir Prus
3161547077 Improve/clarify handling of composing generators during
the transformation search. Don't use global
'.had-composing-generator' variable.

* targets.jam (typed-target.construct): Pass 'allow-composing'
   to 'generators.construct'.

* generators.jam (find-viable-generators): New parameter
     'allow-composing'.
  (construct): Better document the 'allow-composing' parameter.
     Pass that parameter to 'find-viable-generators'.


[SVN r16372]
2002-11-22 15:14:27 +00:00
Vladimir Prus
a8200056c5 Fix Debian build.
[SVN r16371]
2002-11-22 15:08:14 +00:00
Rene Rivera
794bd075c2 Small cleanups, and fix the dist target to correctly refer to the binaries.
Add support for building the grammar in Windows, now that there is yyacc.c program.
Attempt to fix the build of MSVC and VC7 with the location of the kernel32.lib.


[SVN r16368]
2002-11-22 02:09:12 +00:00
Rene Rivera
36d1a92995 Fix various stupid syntax bugs.. not sure how they got in there :-(
Add support for bootstrapping the gramar, now that there is yyacc.c program.
Attempt to fix the build of MSVC and VC7 with the location of the kernel32.lib.


[SVN r16367]
2002-11-22 02:07:46 +00:00
Rene Rivera
90829322d6 Pass 2; works with CW8 on Windows, and BCC55 on Windows.
[SVN r16366]
2002-11-21 22:30:55 +00:00
Vladimir Prus
a5db4b8f54 Remove redundant line.
[SVN r16360]
2002-11-21 12:28:24 +00:00
Vladimir Prus
aa46186512 Add dummy actions for 'all', so that jam return 0 exit status. It used
to return 0 before because of a bug, but now that the bug is fixed, we
need to change test.jam.


[SVN r16359]
2002-11-21 12:27:38 +00:00
Rene Rivera
eac80862f0 Use the passed in toolset, added various copyright notices.
[SVN r16357]
2002-11-21 04:54:55 +00:00
Rene Rivera
475fcfce6f Slight cleanup, use of the yyacc.c program to build the grammar, and pass along the toolset to the RPM package build.
[SVN r16356]
2002-11-21 04:53:30 +00:00
Rene Rivera
1c141682fe Slight cleanup, and use of the yyacc.c program to bootstrap the grammar.
[SVN r16355]
2002-11-21 00:31:25 +00:00
Rene Rivera
c6cf8badae Initial pass at a replacement for the 'yyacc' script... in C.
[SVN r16352]
2002-11-20 23:19:02 +00:00
Vladimir Prus
8e908b2a0d Test for composite properties in target references.
[SVN r16347]
2002-11-20 16:38:53 +00:00
Dave Abrahams
ec4028ca31 Tests for v1 testing
[SVN r16345]
2002-11-20 15:51:53 +00:00
Dave Abrahams
c0c5f1bf46 Bug fix from Zak Kipling <zak.kipling@cantab.net>
If you execute jam with no explicit target specified, it exits with
"EXITOK" regardless of whether the build actually succeeds...


[SVN r16336]
2002-11-20 01:37:56 +00:00
Rene Rivera
8d0d82ae5e Example "symlink" targets.
[SVN r16333]
2002-11-20 00:45:24 +00:00
Rene Rivera
9906096bd4 "symlink" targets.
[SVN r16332]
2002-11-20 00:44:43 +00:00
Vladimir Prus
7d4cf93125 Fix properties in target references.
* new/targets.jam (basic-target.generate-source): Expand composite in
    properties, specified in target references.


[SVN r16320]
2002-11-19 15:29:27 +00:00
Rene Rivera
9cb0029b93 Fix a confusion about what the "::" following, or not, whitespace was handled.
[SVN r16316]
2002-11-19 06:27:22 +00:00
Rene Rivera
0aa3519d55 Add "darwin" toolset.
[SVN r16283]
2002-11-16 17:44:29 +00:00
Rene Rivera
92e0ecf910 Initial.
[SVN r16282]
2002-11-16 17:40:50 +00:00
Rene Rivera
54bea25197 Add a pointer to the new Boost.Jam documentation.
Removed the now duplicate "Internals/Extensions" and "Internals/Fundamentals" docs.


[SVN r16277]
2002-11-16 06:22:16 +00:00
Rene Rivera
dd9ec2695d Repoint Boost.Jam links to new documentation in jam_src/readme.html
[SVN r16275]
2002-11-16 05:57:21 +00:00
Rene Rivera
8a12de8425 Copy in the "Jam Fundamentals" section, with some cleanup/reformatting.
[SVN r16274]
2002-11-16 05:35:05 +00:00
Rene Rivera
0b5aca1db4 Describe the rest of the accepted toolsets.
[SVN r16265]
2002-11-15 21:19:17 +00:00
Rene Rivera
3d93e34f23 Copied "Core Jam Extensions" from build_system.html. Seems like it belongs here and build_system.html will be outdated in V2.
[SVN r16261]
2002-11-15 18:48:37 +00:00
John Maddock
b669f24814 changed cygwin bjam.exe.gz to bjam.zip
[SVN r16258]
2002-11-15 12:59:21 +00:00
Vladimir Prus
d6b5e2a388 More comments.
[SVN r16250]
2002-11-15 08:09:45 +00:00
Vladimir Prus
18a6757b24 Cleanup main target alternative creationg.
* new/targets.jam
    (abstract-target.name): New method.
    (abstract-target.project): New method.
    (main-target-alternative): Simplify. Only register
       main target alternative. Don't to fancy processing
       of arguments.
    (main-target-requirements): New rule.
    (main-target-use-requirements): New rule.
    (main-target-default-build): New rule.


[SVN r16249]
2002-11-15 07:20:23 +00:00
Vladimir Prus
12b2f9fe0f Forgotten change.
[SVN r16248]
2002-11-15 07:15:10 +00:00
Rene Rivera
43d23ab80c Accept most toolsets.
[SVN r16247]
2002-11-15 05:57:19 +00:00
Rene Rivera
7b8c6d90c3 Some extra whitespace formatting fixes.
[SVN r16246]
2002-11-15 05:13:59 +00:00
Rene Rivera
98c879db15 Added utility "words" rules to split a string into words.
[SVN r16245]
2002-11-15 05:12:25 +00:00
Rene Rivera
85753595b5 Implement ReST type preformatted syntax using "::".
* class.jam; Use new "::" syntax.
* doc.jam; Change comment parsing to keep leading whitespaces.
* doc.jam; Fix problem when a rule's argument has the same name as an inner rule.
* print.jam; Implement ReST syntax of "::" to indicate preformatted text. All forms of the ReST syntax are supported, and the additional form of a preformated paragraph with the first line as "::".


[SVN r16244]
2002-11-15 01:16:50 +00:00
Dave Abrahams
550276ac46 Fix Cygwin PYD extension
[SVN r16237]
2002-11-14 14:50:23 +00:00
Vladimir Prus
be168223a4 Handling for base type generators fixes.
* new/generators.jam
     (find-viable-generators): Reverted my revert. Not yet sure
         what's the best way, but this one can be made to work.
     (try-one-generators): Adjust the virtual target types in
         case generator for base type was used.

* new/virtual-target.jam (virtual-target.set-type): New method.


[SVN r16234]
2002-11-14 10:43:47 +00:00
Vladimir Prus
e32186d59e Revive all the tests.
* boost_build_v2.html: Document new option.

* new/generators.jam (find-viable-generators): Revert part of Dave's
   commit, essentially disabling finding base type generators.
   This part breaks a test, and need to be thinked about.

* new/errors.jam: Handle "--no-error-backtrace" option.

* test/project_test4.py: Adjust for new error syntax.


[SVN r16233]
2002-11-14 10:17:50 +00:00
Vladimir Prus
68083b7786 Beginnings of a tutorial.
[SVN r16232]
2002-11-14 10:10:38 +00:00
Vladimir Prus
804aa92dd2 Fix rule echoing.
* jam_src/make1.c (make1c): Output don't output nonqueit when neither
     DEBUG_MAKE nor DEBUG_MAKEQ is set.

   * test/code_d1d2.py: New test.


[SVN r16231]
2002-11-14 07:11:16 +00:00
Dave Abrahams
55da5e29d1 remove unreliable GCC optimizations
[SVN r16230]
2002-11-14 04:41:32 +00:00
Rene Rivera
c8592bc2ce More cleanup...
* build.bat; accept all toolsets.
*build.bat; set toolset root when known.
* build.jam; accept --toolset-root=* for setting where the toolset lives.
* build.jam; don't clean grammar intermediates.


[SVN r16220]
2002-11-13 07:05:52 +00:00
Dave Abrahams
ca132cccd5 Attempt to handle derived target types
[SVN r16213]
2002-11-12 14:37:43 +00:00
Vladimir Prus
5e802487b6 Fix a typo.
[SVN r16212]
2002-11-12 14:33:33 +00:00
Vladimir Prus
7743fb4f79 Win32 fixes.
* new/property.jam (translate-paths): Use :T modifier to prevent slash
  direction changing.

* new/common.jam: Use RM variable instead to calling "rm" command.


[SVN r16210]
2002-11-12 07:47:05 +00:00
Rene Rivera
f265e90421 Minimal new documentation for B-Jam.
[SVN r16209]
2002-11-12 07:35:21 +00:00
Dave Abrahams
3a447babdb Better error reporting
[SVN r16208]
2002-11-12 03:29:21 +00:00
Dave Abrahams
e85f228832 Better debuggability
[SVN r16206]
2002-11-12 03:15:08 +00:00
Dave Abrahams
f5e4a262c4 Better error reporting
[SVN r16205]
2002-11-12 03:14:03 +00:00
Rene Rivera
611003ff6a SH compatible function declaration syntax.
[SVN r16203]
2002-11-12 00:08:25 +00:00
Dave Abrahams
e9df996d8f Really fix broken debug output.
[SVN r16202]
2002-11-11 23:32:42 +00:00
Dave Abrahams
efd853bf5d Help for Cygwin
[SVN r16201]
2002-11-11 23:31:03 +00:00
Dave Abrahams
f3762edaeb better debug formatting, better (?) help output
[SVN r16200]
2002-11-11 22:53:50 +00:00
Vladimir Prus
06d7d2fae9 Mimimal support for the 'flags' rule.
* new/toolset.jam: New file.

* new/virtual-target.jam (action.actualize):
    Call 'toolset.set-target-variables'.

* new/gcc.jam: Use flags for compiling.


[SVN r16189]
2002-11-10 15:41:53 +00:00
John Maddock
5d9563a7fa Added typecast to prevent ambiguities in function overload resolution of std::string::insert
[SVN r16187]
2002-11-10 11:58:22 +00:00
Rene Rivera
decbc4208a Cleanup, to match build.sh structure and order.
Added detection of commands in PATH.
Added passthrough of extra args down to build.jam.


[SVN r16158]
2002-11-08 07:07:34 +00:00
Rene Rivera
a7181ff41e Better error messages.
More generic boost-jam.spec.
Addition of "--debug" option for building debug-profile versions of binaries.
More optimization flags for toolsets.
Prefer yacc instead of bison.
Bootstrap the yacc grammar in build.sh not just the grammar source.
buils.sh now also supports pass-thru arguments.
Simpler+faster checking for executables in PATH, buils.sh.
Use of "--toolset=<name>" instead of longer variable.


[SVN r16140]
2002-11-07 07:46:55 +00:00
Dave Abrahams
0f8bb60ecc Suppress useless warning about debug info truncation
[SVN r16137]
2002-11-07 00:45:54 +00:00
Vladimir Prus
8c09d9c849 Bugfixes.
* new/targets.jam (project-target.generate): Treat names of
        other projects to build relatively to this project.
      (basic-target.generate): Generate dependency use-requirements.


[SVN r16130]
2002-11-06 11:41:59 +00:00
Vladimir Prus
c2c5ee5ec3 First implementation of "stage" and "prebuilt" rule.
* new/common.jam (copy): New rule.

* new/targets.jam (main-target.generate): Use a different
   algorith for selecting subvariant. Favour one with
   the longest intersection of requirements with build
   properties.

* new/virtual-target.jam (virtual-target): Eliminate 'subvariant'
   attribute. Use properties of action to for the same
   purpose. New methods 'set-path' and 'extra-grist'.


[SVN r16129]
2002-11-06 10:26:11 +00:00
Vladimir Prus
3f475b4a1c Make some refactoring.
* new/virtual-target.jam (virtual-target): Eliminate 'subvariant'
   attribute. Use properties of action to for the same
   purpose.

* new/testing.jam: Induced changes.
* new/make.jam: Induced changes.
* new/generators.jam: Induced changes.


[SVN r16128]
2002-11-06 08:13:40 +00:00
Dave Abrahams
0884223388 an end to -isystem
[SVN r16125]
2002-11-05 22:24:18 +00:00
Dave Abrahams
d81eb4237b initial commit
[SVN r16122]
2002-11-05 19:56:18 +00:00
Dave Abrahams
7c36173ee1 Fix broken debug output.
[SVN r16120]
2002-11-05 18:40:26 +00:00
Dave Abrahams
32e4dfdb99 Proof-of-concept for testing
[SVN r16108]
2002-11-04 21:57:50 +00:00
Dave Abrahams
d53d67815c Cygwin compatibility
[SVN r16107]
2002-11-04 21:56:41 +00:00
Dave Abrahams
5c1ff91449 turn trailing "\r\n" sequences into plain "\n" in action blocks, so
for example we can process DOS-mode Jamfiles with a Cygwin-built bjam.


[SVN r16106]
2002-11-04 21:54:23 +00:00
Rene Rivera
3a62184a24 Tested on MacOSX darwin toolset... working.
[SVN r16105]
2002-11-04 21:48:41 +00:00
Rene Rivera
619c7f1511 Fix typos and account for command limits. CodeWarrior and Borland tested on Win2K.
[SVN r16101]
2002-11-04 18:18:11 +00:00
Vladimir Prus
79cdfeef29 Added <library-file> and <cxxflags> features.
[SVN r16098]
2002-11-04 17:33:16 +00:00
Vladimir Prus
b12f0fdd68 Make the 'make' rule work with locally declared generating rules.
[SVN r16097]
2002-11-04 17:28:46 +00:00
Vladimir Prus
c23f5855cb Tweak path-constant handling.
* new/path.jam (make-UNIX, make-NT): Call 'path.join' on elements,
        so that paths are normilazed.
      (join): Allow one element to be passed.
    * new/project-root.jam: Use 'path.root' when declaring path constants.


[SVN r16096]
2002-11-04 17:27:42 +00:00
Vladimir Prus
0f89b73296 Made 'include' adjustment for generated headers work when other
targets are specified as sources, not only as dependency properties.

    * new/virtual-target.jam (subvariant-dg): Note which sources
    are roots of dependency grapgs and record those graphs.


[SVN r16095]
2002-11-04 17:24:41 +00:00
Rene Rivera
ad56fd2505 New scripts for easier building of bjam executable.
build.bat: Windows NT BATCH bootstrap script.
build.sh: Unix shell bootstrap script.
build.jam: b/jam standalone Jamfile for building and distribution creation.
boost-jam.spec: modifications to conform to RedHat names/versioning and using new ./build.sh.


[SVN r16085]
2002-11-04 06:31:01 +00:00
Dave Abrahams
c066d42c2f Better error messages
[SVN r16083]
2002-11-03 18:13:24 +00:00
Rene Rivera
12ec78b821 Use of darwin toolset now makes use of Python framework.
[SVN r16027]
2002-10-31 04:51:30 +00:00
Rene Rivera
c7ec1cfffb Reinstate double-link generation of dynamic libraries.
Simplify slightly.
Use with Python 2.3 frameworks mostly working.


[SVN r16026]
2002-10-31 04:46:54 +00:00
Rene Rivera
a4462e8711 Add "path-constant" rule to declare/define constants which are used as paths.
[SVN r16020]
2002-10-30 06:36:09 +00:00
Rene Rivera
20e01eaddf print.jam; support use of "::" as prefix in paragraphs/blocks to output preformatted text.
class.jam; add use of "::" for code samples.


[SVN r16019]
2002-10-30 04:00:42 +00:00
Rene Rivera
09552cda5b Fix class scan to recognize class.class not just class.
Sort some of the output for consistency.


[SVN r16018]
2002-10-30 03:58:12 +00:00
Rene Rivera
4dc15b051c Implement recognition and output of classes and their rules.
[SVN r16003]
2002-10-28 07:59:46 +00:00
Rene Rivera
f4072b8acc Wrap section headers. As some rule templates are long.
[SVN r16002]
2002-10-28 07:58:49 +00:00
Dave Abrahams
2340d556b2 Build with Cygwin
[SVN r16000]
2002-10-28 04:22:14 +00:00
Dave Abrahams
3c8b97895b Improve error messages
[SVN r15999]
2002-10-28 04:10:18 +00:00
Dave Abrahams
d99f54ffcd Suppress warning
[SVN r15998]
2002-10-28 04:06:50 +00:00
Dave Abrahams
4a87a982ce Fix -d+5 output
[SVN r15997]
2002-10-28 04:06:06 +00:00
Rene Rivera
3469411228 Better support for dynamic libraries in MacOSX with darwin.
* darwin-tools.jam, now support creating bundles (plugins)
* darwin-tools.jam, handle multiple defs in dynamic libraries
* python.jam, create bundles instead of regular dynamic libs.


[SVN r15980]
2002-10-25 02:15:37 +00:00
Vladimir Prus
583a6db2ce Added an example of library use.
[SVN r15971]
2002-10-23 14:03:17 +00:00
Vladimir Prus
6aa06b3b6f Changes the debian bjam package to be similar to jam package.
[SVN r15968]
2002-10-23 12:27:57 +00:00
Vladimir Prus
de8c9dfc50 Check Boost.Jam version.
[SVN r15967]
2002-10-23 12:25:26 +00:00
Vladimir Prus
d8cc50c7e7 Improve Boost.Python building.
* libs/python/build/Jamfile.v2: Sense the location of python headers. Export
  include paths.

* libs/python/example/Jamfile.v2: New file.

* new/targets.jam: Use refined properties for constructed
    dependency properties

* new/gcc.jam: Handle 'find-library'. Set soname for dynamic libraries.

* new/builtin.jam: New feature 'find-library'.


[SVN r15966]
2002-10-23 12:12:00 +00:00
Vladimir Prus
c0955976e7 Honour use-requirements for dependency properties.
[SVN r15964]
2002-10-23 10:39:23 +00:00
Rene Rivera
fdabe95ac2 Remove option that disables threads, as it prevents most things from working in STLport.
[SVN r15961]
2002-10-22 05:13:19 +00:00
Rene Rivera
91147fb8ce Fixes to make custom tollset extensions possible for gcc-stlport.
- gcc-stlport-tools.jam; now use the common stlport.jam.
- gcc-tools.jam; use STDLIBPATH instead of GCC_LIB* to set LD_LIBRARY_PATH, as it works on a per target basis.
- stlport.jam; minor changes for backward compat, automatic setting of the toolset, and various options that used to be in gcc-stlport.jam.


[SVN r15957]
2002-10-21 06:01:29 +00:00
Rene Rivera
f2cb0294b2 Oops, mised some changes...
* Don't need System framework as it's always linked in.
* Disable long double warning, as it's always there.


[SVN r15944]
2002-10-16 19:42:08 +00:00
Rene Rivera
4ee602d05e Working Darwin toolset for MacOSX with it's custom GCC compiler.
* allyourbase.jam;
  use RANLIB for MacOSX as the linker requires it.
  keep *.o files as scanning doesn't seem to work.
* darwin-tools.jam;
  static runtime doesn't work and is minimally only the gcc runtime
  use ar
  manipulations for making c++ correctly link without using libtool


[SVN r15943]
2002-10-16 19:39:12 +00:00
Vladimir Prus
119352b21b Fixes.
* new/gcc.jam: gcc.link can handle LIB, not only STATIC-LIB
    * new/generators.jam (composing-generator.run): Accept derived
        types.


[SVN r15942]
2002-10-16 15:51:11 +00:00
Dave Abrahams
6662f7c8b5 Some tweaks for getting Boost.Python to build under v2
[SVN r15931]
2002-10-15 12:01:21 +00:00
Vladimir Prus
993846edf7 Change handling of toolset -- it's now assumed that there's default toolset
and, therefore, we don't need to treat toolsets in a special way.


[SVN r15927]
2002-10-15 05:55:29 +00:00
Dave Abrahams
2a821cdc0d Make sure that STLPort libraries get added to the LD_LIBRARY_PATH
[SVN r15925]
2002-10-14 16:41:47 +00:00
Dave Abrahams
63fc349868 Apply patch from Alkis Evlogimenos <alkis@routescience.com>
[SVN r15921]
2002-10-14 16:24:50 +00:00
Dave Abrahams
2f4eddbafb Fix EXE extension for NT and CYGWIN.
[SVN r15920]
2002-10-14 15:47:14 +00:00
Dave Abrahams
8f28562a33 Sync up to RC_1_29_0
[SVN r15919]
2002-10-14 13:31:43 +00:00
Dave Abrahams
5c5fb2edec English spelling/grammar fixes
[SVN r15918]
2002-10-14 13:31:10 +00:00
Dave Abrahams
6805c4ff48 English grammar fixes
[SVN r15917]
2002-10-14 13:30:43 +00:00
Vladimir Prus
ab567c753b Applied an RPM building patch from Malte Starostik.
* changed boost-jam-3.1.3.src.tar.gz to boost-jam-3.1.3.tar.bz
    * Added a variable RPMARCH to Jamfile.
    * remove the .tar.gz and .tar.bz2 before recreating them. gzip asks for
      confirmation otherwise, bzip2 just dies.
    * Get rid of hardcoded /usr/src/redhat/... as it's a) distribution-specific
      and b) a user can override the build root to use.


[SVN r15916]
2002-10-14 11:14:15 +00:00
Rene Rivera
c70ba5d0d8 Fix "illegal constant expression" error on CodeWarrior.
[SVN r15907]
2002-10-12 17:02:42 +00:00
Vladimir Prus
bcbab132cd Optimize property.as-path by caching results.
[SVN r15900]
2002-10-11 14:24:26 +00:00
Samuel Krempp
7942bdf835 removed kylix's own include directory from STDHDRS.
it made every compilation fail.
(only commented the line rather than delete, as I don't know a thing about kylix and I might be wrong)


[SVN r15898]
2002-10-11 12:02:43 +00:00
Vladimir Prus
cf8165e04d Added 'hello, world' example.
[SVN r15896]
2002-10-11 11:49:35 +00:00
Vladimir Prus
c730f85ea8 Minor doc tweak.
[SVN r15863]
2002-10-10 15:45:10 +00:00
Vladimir Prus
be638fc97f Flush all of documentation changes.
[SVN r15860]
2002-10-10 13:47:30 +00:00
Vladimir Prus
cf9c6ef024 Kill a warning.
[SVN r15858]
2002-10-10 13:20:43 +00:00
Vladimir Prus
1c2632ed0a Forgotten file.
[SVN r15852]
2002-10-10 12:20:19 +00:00
Vladimir Prus
59105bb56d Add more tests.
[SVN r15851]
2002-10-10 12:12:06 +00:00
Vladimir Prus
0868b697ce Implement dependendency features.
[SVN r15850]
2002-10-10 11:58:41 +00:00
Dave Abrahams
a73bac71ba Use <sysinclude> so that compilers which distinguish #include <...> look in the right place.
Removed needless $(SUFLIB)


[SVN r15834]
2002-10-09 23:53:07 +00:00
Beman Dawes
58dbbb7318 initial commit - review comments not yet applied
[SVN r15831]
2002-10-09 19:49:35 +00:00
Dave Abrahams
adf5606a37 Work around core jam bug
[SVN r15823]
2002-10-09 13:14:57 +00:00
Vladimir Prus
0fa0163c52 Implement simple form of use requirements.
* new/virtual-target.jam
        (virtual-target.use-requirements): New rule.
        (virtual-target.set-use-requirements): New rule.

    * new/generators.jam (construct): Use 'use-requirements' of sources.

    * new/targets.jam (basic-target.generate): Store use requirements for
             generated targets.
      (main-target-alternative): Process use requirements.

    * new/project.jam: Support 'use-requirements' project attribute.


[SVN r15821]
2002-10-09 11:33:22 +00:00
Gennadiy Rozental
c914500c78 Initial commit for sunpro and sunpro-stlport toolset definitions
[SVN r15819]
2002-10-09 08:39:17 +00:00
Rene Rivera
d97fed768e Remove the "d" flag from CLONE as there is not portable way to copy symlinks.
[SVN r15816]
2002-10-09 04:02:19 +00:00
Dave Abrahams
7721658763 Clean up Boost.Python v1 flotsam, update documentation
[SVN r15815]
2002-10-09 02:52:47 +00:00
Dave Abrahams
b8e9b18591 Allow for toolset chaining
[SVN r15814]
2002-10-09 02:50:58 +00:00
Vladimir Prus
06f42a1688 Bugfixes.
* new/virtual-targets.jam (virtual-target.root): New rule
        (traverse): Don't traverse past roots.
    * new/targets.jam (main-target): Call 'virtual-target.root' as
        appropriate.


[SVN r15773]
2002-10-07 14:34:43 +00:00
Vladimir Prus
2b3b7ef361 Sundry improvements:
Bison and lex support.
    unit-test rule
    --version option
    default build really works

    * new/build-system.jam: Bugfixes. Added "--version" option.

    * new/project.jam: If default-build is not specifies, don't stick "debug".

    * new/property.jam (evaluate-conditionals): New rule.

    * new/targets.jam (basic-target.generate): Evalute conditional properties.

    * test/BoostBuild.py (Tester.maybe_do_diff): New method.
        (Tester.run_build_system): Call the above method when
        appropriate.


[SVN r15771]
2002-10-07 13:34:14 +00:00
Vladimir Prus
a5396af2bc Allow to specify target ids in command line.
* project.jam (lookup-with-load): New rule.
      (find-target): Try interperting target id as project first.

    * build-request.jam (from-command-line): Don't grab
      unconditionally elements which have slashes -- they may be target
      ids.

    * build-system.jam: Allow target ids is command
      line. Accept --clean option.

    * BoostBuild.py (run_build_system): Call 'ignore_directoies' on diff.

    * tree.py (Trees_different.ignore_directoies): New method.


[SVN r15768]
2002-10-07 13:18:27 +00:00
Vladimir Prus
50e21ff6e5 Fix some obscure bugs.
* new/virtual-target.jam (clone-template): Improve interface and logic.

    * new/make.jam (make-target-class.construct): Set type and suffix on
    generated targets.

    * new/generators.jam (construct): Make sure all targets have known
     types.


[SVN r15766]
2002-10-07 13:08:04 +00:00
Rene Rivera
1248bf02c7 * Support for using <tag> renaming in any target.
* Added some fake targets for the specific files in a stage.
* features.jam, added <tag> feature, as always relevant.


[SVN r15752]
2002-10-06 17:24:02 +00:00
Dave Abrahams
e28d30b5e6 Remove Boost.Python v1 from main trunk
[SVN r15723]
2002-10-05 04:37:49 +00:00
Dave Abrahams
9f66a18d64 Support for MinGW-2.0
[SVN r15719]
2002-10-04 21:34:32 +00:00
Vladimir Prus
6870b75cc8 Bugfix.
[SVN r15714]
2002-10-04 15:23:46 +00:00
Vladimir Prus
9377a00b85 Cleanup.
[SVN r15711]
2002-10-04 14:50:34 +00:00
Vladimir Prus
7819428050 Increase Boost.Jam version to 3.1.3.
[SVN r15710]
2002-10-04 14:25:11 +00:00
Vladimir Prus
76c24b4d9b Allow directory part in names of source files.
[SVN r15708]
2002-10-04 13:59:25 +00:00
Vladimir Prus
10e41548d2 Implement path features.
* property.jam (translate-paths): New rule.

    * targets.jam (main-target-alternative): Translate path
      properties.

    * project.jam (project-attributes.set): Likewise.

    * builtin.jam (variant): Fixes.


[SVN r15707]
2002-10-04 13:48:38 +00:00
Vladimir Prus
fd38a5e97f Implement variant declaration.
* builtin.jam (variant): New rule.

    * build-system.jam: Unconditionally add <toolset>gcc to build
        request. Will be fixed when toolset support is ready.

    * feature.jam (extend-feature): Bugfix.


[SVN r15678]
2002-10-03 16:29:21 +00:00
Vladimir Prus
2008afcfe2 Propagate free properties in build request to all directly requested targets.
* targets.jam
        (abstract-target.direct-build-request): New rule.
        (project-target.direct-build-request): New rule.
        (main-target.direct-build-request): New rule.
        (main-target.generate): Use data stored by
        'direct-build-request' to adjust build properties.

    * build-system.jam: Call 'direct-build-request' on project
         target in "."

    * feature.jam (feature): Don't allow propagated free features.


[SVN r15677]
2002-10-03 15:18:59 +00:00
Vladimir Prus
eeb6df575d Skip projects when property refinement for them fails.
Skip main targets when no alternative can be build.
Issue error when 'construct' for alternative fails.


[SVN r15676]
2002-10-03 15:01:09 +00:00
Vladimir Prus
509d4119fe Cleanups.
[SVN r15651]
2002-10-02 16:13:54 +00:00
Vladimir Prus
cd5b9bd5ad Bufgix.
* make1.c (make1): Do not process any stacked targets when interrupted.


[SVN r15650]
2002-10-02 15:11:36 +00:00
Vladimir Prus
2ed9d1f6ea Test for poor main's per-source requirements.
* new/builtin.jam: Make 'obj' main type.
    * new/generators-test/*: Try compiling the same CPP file with
        different defines and linking in the same exe.


[SVN r15649]
2002-10-02 12:38:13 +00:00
Vladimir Prus
41daf51feb Move a file, mistakenly added on RC branch, to the trunk.
[SVN r15648]
2002-10-02 12:12:27 +00:00
Vladimir Prus
fc81de1f51 Dependency scanning implementation.
* jam_src/builtins.c: New builtin SEARCH_FOR_TARGET.

    * jam_src/rules.c
         (bind_explicitly_located_targets): New function.
         (search_for_target): New function.

    * jam_src/make.c (make): Call 'bind_explicitly_located_targets()'
        immediately on entering.

    * jam_src/search.c (call_bind_rule): No longer 'static'.

    * new/builtin.jam (c-scanner.process): Real implementation.

    * test/dependency_test.py: Really test for dependencies.


[SVN r15646]
2002-10-02 11:56:32 +00:00
Vladimir Prus
6c74534321 Infrastructure for dependency scanning.
* virtual-target.jam (virtual-target.actualize): Accept
        'scanner' parameter and create different actual targets
        for different values of that parameter.
     (virtual-target.includes): Remove.
     (binding): New rule
     (remember-binding): New rule.

    * type.jam (set-scanner): New rule. (get-scanner): New rule.

    * scanner.jam: New file.

    * class.jam (__init__): Define __name__ in class scopes.

    * builtin.jam (c-scanner): New scanner class, associated with CPP
        files.


[SVN r15644]
2002-10-02 10:04:03 +00:00
Vladimir Prus
8612c70978 Adjust include paths for compilations, so that generated headers are found.
* virtual-target.jam (traverse): New rule, returns a list of
    targets, given the graph root.
  (subvariant-dg): New class, to keep all targets for a given
    subvariant.
  (virtual-target.dg): New rule to access subvariant-dg.
  (virtual-target.path): New rule

* targets.jam (main-target.generate): Assign subvariant dg to all
  created targets.

* builtin.jam (compile-action.adjust-properties): Use subvariant
  dg to find all targets, their location, and add those location
  to include path.


[SVN r15619]
2002-10-01 17:00:24 +00:00
Vladimir Prus
b821f7be82 Added hooks to allow special property adjustment for generators and actions.
For example, this would allow compilers to add generated headers into include
path.

	* virtual-target.jam (action.adjust-properties): New rule.
	  (clone-action-template): Don't slice cloned object.

	* generators.jam (generator.action-class): New rule, to allow
	  overriding action class on per-generator basis.

	* builtin.jam (compile-action): New class.
	    (C-compiling-generator): New class.

	* gcc.jam: Use C-compiling-generator for gcc. Honor includes.


[SVN r15618]
2002-10-01 16:31:31 +00:00
Vladimir Prus
e141d5315f Made STATIC-LIB and SHARED-LIB derived from LIB.
[SVN r15617]
2002-10-01 15:13:01 +00:00
Vladimir Prus
95873ee50e Top-level invocation of generator.construct-dbg now returns only target of
requested types.

     * new/generators.jam (construct-dbg): The above change.
     * new/type.jam (is-derived): New rule.


[SVN r15614]
2002-10-01 15:06:33 +00:00
Vladimir Prus
3ceabdc6d0 Tweak test system.
[SVN r15611]
2002-10-01 14:55:52 +00:00
Vladimir Prus
2556c5c11e New rules and fixes.
* sequence.jam (merge): Bugfix.

    * regex.jam (transform): New rule.

    * property.jam (select): New rule, selects properties, given
         a list of features.


[SVN r15610]
2002-10-01 14:50:25 +00:00
Vladimir Prus
57ce8f50bb Improve RPM spec per suggestions from Malte Starostik and Steve Robbins.
[SVN r15608]
2002-10-01 14:33:47 +00:00
Markus Schöpflin
c05374abc2 Merged fixes from the release branch.
[SVN r15605]
2002-10-01 12:52:02 +00:00
Rene Rivera
6b3c836fd7 Merge changes from RC_1_29_0, for correct handling of stage-tag targets.
[SVN r15546]
2002-09-29 05:38:38 +00:00
Dave Abrahams
4a9238468d Bug fix
[SVN r15536]
2002-09-28 08:03:38 +00:00
Dave Abrahams
160756062d Suppress warning
[SVN r15535]
2002-09-28 08:03:19 +00:00
Vladimir Prus
bf386a7ca2 Introduced SHARED-LIB and STATIC-LIB target types. Also introduced LIB target
type and a generator, which relays either to SHARED-LIB or STATIC-LIB,
depending of the value of "shared" feature.


[SVN r15529]
2002-09-27 07:35:03 +00:00
Rene Rivera
d10ac0ffca Fix for compiling with CodeWarrior.
[SVN r15503]
2002-09-25 05:53:35 +00:00
Dave Abrahams
20e61da54c Apply patch from "Markus Schöpflin" <markus.schoepflin@ginit-technology.com>
[SVN r15494]
2002-09-24 13:47:57 +00:00
Vladimir Prus
8c095eddff Work in progress.
- Got rid of vectors of vectors in generators code. That was not only slow, it
  was also troublesome.
- Started work on transformation caching. Works but needs review/cleanup.


[SVN r15465]
2002-09-20 12:50:44 +00:00
Vladimir Prus
da86bc3021 Simplication/optimization.
[SVN r15464]
2002-09-20 12:29:03 +00:00
Rene Rivera
819f8e32f9 Slight mod in case there are no extra files and MakeLocate & DEPENDS can't handle that.
[SVN r15456]
2002-09-19 17:13:36 +00:00
Dave Abrahams
01d2d25e5d Apply patch from "Markus Schöpflin" <markus.schoepflin@ginit-technology.com>
Also fix typo excpetion->exception


[SVN r15455]
2002-09-19 17:06:10 +00:00
Dave Abrahams
0d5e518f2d Fix bad dependency bug
[SVN r15453]
2002-09-19 17:00:10 +00:00
Beman Dawes
917431f0d2 /Zm800 so ublas compiles
[SVN r15441]
2002-09-18 19:18:27 +00:00
Vladimir Prus
222c20ba09 Documented the UPDATE rule.
[SVN r15408]
2002-09-17 12:31:49 +00:00
Vladimir Prus
27aa7a8395 Processed with HTML tidy.
[SVN r15407]
2002-09-17 12:22:34 +00:00
Dave Abrahams
ca9280fec0 Checkin work in progress before I lose it through some terrible accident ;-)
[SVN r15379]
2002-09-16 13:56:02 +00:00
Rene Rivera
f2bfd45d2b Some cleanup of code.
Rewrote the handling of help arguments to be even easier to use.
Added descriptions for all the top level --help arguments.
Added descriptions of help options.
Added a few more control arguments in preparation for HTML type output.


[SVN r15342]
2002-09-15 20:08:03 +00:00
Rene Rivera
b082ed3e64 Implemented "better" copying by the stage rule. This makes it so that it copies additional targets generated by links. This is for getting better support of SONAMES in the stage directories.
[SVN r15304]
2002-09-13 16:01:35 +00:00
Vladimir Prus
c11eda31dd Prevent creating two equivivalent virtual targets. This, in particular,
prevents complining the same source twice with the same properties.
Also allow generators to change source names using patterns.

    * new/generators.jam (generator): Accept name patterns together with
        target types.
        (generator.generated-targets): Use name patterns. Transform generated
        targets with 'virtual-targets.register', to eliminate duplicate
        virtual targets.


[SVN r15302]
2002-09-13 12:19:42 +00:00
Vladimir Prus
54894898ba Forgotten file.
[SVN r15301]
2002-09-13 12:16:17 +00:00
Dave Abrahams
9fa10544fb Added commentary
[SVN r15287]
2002-09-13 01:50:09 +00:00
Rene Rivera
dfb3b8aae0 Implement hiding of local rules by default. Use --help-enable=show-locals to show them regardless.
[SVN r15280]
2002-09-12 22:26:56 +00:00
Rene Rivera
495e89b5b1 Fix for when varaibles are edclared with an empty value.
[SVN r15279]
2002-09-12 22:00:23 +00:00
Vladimir Prus
3d38a90018 Added generators test to the test suite.
[SVN r15269]
2002-09-11 15:56:56 +00:00
Vladimir Prus
53e9c84610 Small fix.
[SVN r15268]
2002-09-11 15:54:39 +00:00
Dave Abrahams
9c907885ba More cygwin/NT compatibility fixes
[SVN r15267]
2002-09-11 15:40:32 +00:00
Rene Rivera
42ef0fd7fb Updated from Markus Shoepflin. Compiler selected based on threading option and C/C++, support for rtti and exception-handling features.
[SVN r15266]
2002-09-11 15:31:43 +00:00
Vladimir Prus
7f0839b982 Output generator debugging messages only if there's
"--debug-generators" option in the command line.


[SVN r15265]
2002-09-11 15:25:18 +00:00
Dave Abrahams
4d6f25d058 Workaround for cywgin/NT build
[SVN r15263]
2002-09-11 14:37:25 +00:00
Vladimir Prus
200631351a Some cleanups. At the same time, allowed several suffixes to target types
(e.g. "cpp" and "cxx").


[SVN r15262]
2002-09-11 14:18:52 +00:00
Vladimir Prus
6fcab6f9e1 Doc clarifications.
[SVN r15251]
2002-09-10 12:52:36 +00:00
Vladimir Prus
0c88b9e638 Added development plan.
[SVN r15250]
2002-09-10 10:06:06 +00:00
Dave Abrahams
ab4e49d674 VC7 builds
[SVN r15236]
2002-09-09 14:05:10 +00:00
Dave Abrahams
bb95c27546 Apply patch for building with VC7
[SVN r15196]
2002-09-07 18:08:50 +00:00
Toon Knapen
f24da83098 IBM cc does not understand C++ comment (leading //).
Changed into using C-style comments (/* */)


[SVN r15187]
2002-09-06 21:03:10 +00:00
Toon Knapen
16b54769d5 added LIBPATH, FINDLIBS and NEEDLIBS
[SVN r15182]
2002-09-06 17:58:10 +00:00
Beman Dawes
ef81f5defa better heading, link
[SVN r15181]
2002-09-06 15:57:46 +00:00
Rene Rivera
52281ba12f TABS, EOLs+EOFs.
[SVN r15177]
2002-09-06 14:40:30 +00:00
Rene Rivera
0999ab1dc0 Remove TABS.
[SVN r15176]
2002-09-06 14:30:33 +00:00
Rene Rivera
2e292733f9 Example of templates.
[SVN r15173]
2002-09-06 03:38:30 +00:00
Dave Abrahams
613a12cb47 bugfix
[SVN r15170]
2002-09-05 14:10:39 +00:00
Dave Abrahams
f7aac9bfb5 Added CWPro8 toolset
[SVN r15159]
2002-09-04 20:57:43 +00:00
Dave Abrahams
d246682c76 Modernized for Beman
[SVN r15156]
2002-09-04 16:07:35 +00:00
Dave Abrahams
2e6eb667f9 Implemented less-liberal conversion rules
[SVN r15136]
2002-09-02 23:23:27 +00:00
Gennadiy Rozental
2447b9b969 Borland warning "Superfluous & with function in function ..." suppressed
[SVN r15131]
2002-09-02 07:10:26 +00:00
John Maddock
46d31963aa Initial checkin of Kylix toolset
[SVN r15126]
2002-09-01 10:47:01 +00:00
Dave Abrahams
0703edf097 Added quotes for the VC++ libraries
[SVN r15110]
2002-08-29 14:51:29 +00:00
Rene Rivera
fa04245ab1 Added *.cxx as another common C++ source file extension.
[SVN r15083]
2002-08-24 18:09:06 +00:00
Ralf W. Grosse-Kunstleve
2ef16194c5 cxx_repository fixes; always link with -lm
[SVN r15061]
2002-08-22 18:59:27 +00:00
Dave Abrahams
a93b93315d Better checking
[SVN r15059]
2002-08-22 18:21:34 +00:00
Dave Abrahams
d245d26476 Added comment
[SVN r15057]
2002-08-22 16:02:00 +00:00
Dave Abrahams
7f4da33097 Help for derived toolsets
[SVN r15049]
2002-08-22 11:46:58 +00:00
Ralf W. Grosse-Kunstleve
7496493c77 workaround for cxx 6.5 header file problem
[SVN r15044]
2002-08-21 23:29:25 +00:00
Dave Abrahams
07874af716 Clean a few more files
[SVN r15042]
2002-08-21 21:40:32 +00:00
Dave Abrahams
bb5714243a Clean a few more files
[SVN r15041]
2002-08-21 21:37:42 +00:00
Toon Knapen
e00e9eb439 gprof needs the debug-symbols to produce the call-graph
[SVN r14985]
2002-08-20 11:18:46 +00:00
John Maddock
2ea9625f81 Fixed problems with -tWR turning on -tW
Added -Ve -Vx -a8 options to compiles to be binary compatible with
default IDE options.


[SVN r14941]
2002-08-17 11:41:00 +00:00
Vladimir Prus
293b82e103 Added future generators test -- not automated now.
[SVN r14926]
2002-08-16 14:25:22 +00:00
Vladimir Prus
af04e8638c Correction to the previous commit.
[SVN r14925]
2002-08-16 14:18:58 +00:00
Vladimir Prus
867464f3be Wholesale commit of generators.
[SVN r14924]
2002-08-16 14:13:15 +00:00
Vladimir Prus
1dad967b8e New rules.
* new/assert.jam (in, not-in): New rules.
    * new/class.jam (is-instance): New rule.
    * new/utility.jam (str, equal, less): New rules.
    * new/container.jam
        (container.str, container.sort, container.equal): New rules.


[SVN r14923]
2002-08-16 13:58:23 +00:00
Vladimir Prus
1b86040812 New rules.
* new/sequence.jam (max-element): New rule.
        (select-highest-ranked): New rule.
    * new/numers.jam (__test__): Temporary disable all try/catch, since
        errors.jam can't handle recursive try/catch yet, and loads
        sequence, which in turns load numbers, in "catch" implementation.


[SVN r14922]
2002-08-16 13:50:17 +00:00
Vladimir Prus
808d4c3293 Added new transformation.
[SVN r14921]
2002-08-16 13:25:26 +00:00
Vladimir Prus
e1da4a9a83 Doc improvements.
[SVN r14919]
2002-08-16 13:07:15 +00:00
Vladimir Prus
16605df099 Bugfix.
* new/numbers.jam (less): Now really accept zero.


[SVN r14895]
2002-08-15 16:13:28 +00:00
Vladimir Prus
e5f9354abe Facilitate new main target rules creation.
* new/targets.jam (make-target-alternative): New rule, which handles
        applying project requirements and default build, when needed.
    * new/make.jam (make): Use the above rule.


[SVN r14894]
2002-08-15 16:01:45 +00:00
Vladimir Prus
c9cabe85d3 Created a new file 'common.jam' to keep rules not specific to a toolset.
* new/targets.jam: Use 'common' instead of 'utility'.
    * test/project_test3.py: Test that 'clean' works.
    * test/svn_tree.py: Sync with upstream revision 2944. Fix a bug
       which caused empty directory to be treated as file.


[SVN r14886]
2002-08-15 09:29:49 +00:00
Vladimir Prus
024cdaec7d Propagate only propagated properties.
[SVN r14884]
2002-08-15 08:42:08 +00:00
Vladimir Prus
ac754f16ba Allow gcc,borland/runtime-link=static to work on command line.
[SVN r14883]
2002-08-15 08:29:45 +00:00
Vladimir Prus
2359e85b4d Doc updates, based on comments from Dave.
[SVN r14882]
2002-08-15 08:19:06 +00:00
Vladimir Prus
2a2e871ff9 Allow loading modules in the same directory to work in all cases.
* new/modules.jam (import) Use the directory of the calling module
        as additional search path element.
    * examples-v2/make/project-root.jam: Remove workaround.


[SVN r14879]
2002-08-15 07:11:29 +00:00
Vladimir Prus
2ff1b5bd3b Forgotten change for V2 example.
[SVN r14878]
2002-08-15 07:09:22 +00:00
Dave Abrahams
5eefcbdeae Solaris G++ bug workaround
[SVN r14851]
2002-08-14 20:24:22 +00:00
Vladimir Prus
03e02339cf Added an V2 example.
[SVN r14833]
2002-08-14 11:45:35 +00:00
Vladimir Prus
ba319e93e6 Incremented version to 3.1.2, in anticipation of upcoming Boost release.
[SVN r14831]
2002-08-14 10:15:30 +00:00
Vladimir Prus
a17abe8c3d Updated debian files.
[SVN r14830]
2002-08-14 10:01:32 +00:00
Vladimir Prus
26c9a18f8e Fixed formatting.
[SVN r14829]
2002-08-14 10:00:24 +00:00
Dave Abrahams
af85bd14da Automatic class def_init(), abstract class __init__ errors
Fixed line endings
Suppressed warnings


[SVN r14828]
2002-08-14 06:26:33 +00:00
Vladimir Prus
3be3ccc2e3 Documentation update.
* boost_build_v2.html: Extend feature description. Change wordings in
        some places.
    * new/feature.jam: Remove comments that are now in boost_build_v2.html.


[SVN r14782]
2002-08-12 10:35:24 +00:00
Vladimir Prus
c6073f8fe6 Allow to associate rules with features/properties, to be used for
special things like stlport.

    * new/feature.jam (action, run-actions): New rules.


[SVN r14781]
2002-08-12 10:28:08 +00:00
Vladimir Prus
3efe58cc9d Make 'path.jam' documentation parsable by doc.jam and tweak them.
[SVN r14757]
2002-08-09 14:37:14 +00:00
Vladimir Prus
0619f74cab Renamed 'os.path.jam' to 'path.jam'.
[SVN r14753]
2002-08-09 11:43:47 +00:00
Vladimir Prus
082dcbdd01 Introduce 'incidental' features.
* new/feature.jam: The above change.
    * new/property.jam
      (remove): Renamed & generalized from 'remove-free'.
      (take): Likewise.


[SVN r14752]
2002-08-09 11:37:59 +00:00
Rene Rivera
ec852d6b65 Damn, CVS!!! Fix the previous commit to correctly restore/merge 1.10 changes.ck lim
[SVN r14751]
2002-08-09 05:28:12 +00:00
Rene Rivera
574a7a13b4 This is a reworking of make1 to be non-recursive.
Pros:
1) Removes bug in stack limited platforms of blowing the stack limits. Like win32.tLiek win32.
2) Slightly faster (10% or so).
Cons:
1) More heap usage.

The code is from Sta


[SVN r14750]
2002-08-09 05:14:21 +00:00
Rene Rivera
f760628167 Fix, by removing, resetting of RUN_PATH. The VC_STDLIB_PATH setting was already accounting for the path to the libraries.
[SVN r14749]
2002-08-09 03:58:04 +00:00
Rene Rivera
85a87b5cb3 Fix, by removing, declare default for user-interface free feature.
Implement flags for user-interface feature in msvc and metrowerks.


[SVN r14748]
2002-08-09 03:21:52 +00:00
Gennadiy Rozental
1878054297 Fix needed to link with offline libraries with main()
[SVN r14742]
2002-08-08 16:47:53 +00:00
Rene Rivera
e4e432ba5c Added import of user project-root rules into projects.
[SVN r14727]
2002-08-07 03:45:45 +00:00
Vladimir Prus
637418b2d8 Kill all uses of SUBST, which fails on long input.
[SVN r14714]
2002-08-06 15:21:02 +00:00
Vladimir Prus
ba94d56c08 More checks for 'use-project' in project root module.
[SVN r14707]
2002-08-06 07:01:19 +00:00
Rene Rivera
eea6ceb491 Respect blank lines in printed sections to separate paragraphs.
[SVN r14706]
2002-08-06 05:43:39 +00:00
Rene Rivera
d2c10b088a Sort modules printed on --help-all request.
[SVN r14705]
2002-08-06 05:42:33 +00:00
Rene Rivera
3ce4f826dc Add call to project root use-project for testing.
[SVN r14704]
2002-08-06 04:10:55 +00:00
Rene Rivera
1cc79e7532 Refactor to minimize the number of symbols in the user modules.
Add use-project rule in project root context.
Add project-root rule in project context.


[SVN r14703]
2002-08-06 04:10:21 +00:00
Rene Rivera
19a061485f Removed TABS.
[SVN r14702]
2002-08-05 22:29:42 +00:00
Vladimir Prus
3cb79d1199 Documentation clarifications/fixes.
[SVN r14691]
2002-08-05 08:38:35 +00:00
Vladimir Prus
3e7b7aafd6 Added example transformation sequences.
[SVN r14579]
2002-07-24 09:44:57 +00:00
Beman Dawes
c792cd1cde Fix from Dave so GCC doesn't warn on system vs non-system includes
[SVN r14573]
2002-07-23 15:19:30 +00:00
Vladimir Prus
2d341954c7 Optimization.
* new/class.jam (__init__) Get only first element of backtrace.


[SVN r14564]
2002-07-22 17:44:21 +00:00
Vladimir Prus
4c585eef93 Make the BACKTRACE rule accept an optional 'levels' parameter.
[SVN r14563]
2002-07-22 17:39:42 +00:00
Vladimir Prus
5385a1d43e Modified profiling code to handle recursive functions.
[SVN r14562]
2002-07-22 16:46:31 +00:00
John Maddock
41f51e0380 Added cygwin comments.
Added win9x comments.
Added regex build/makefile comments.


[SVN r14545]
2002-07-20 11:17:43 +00:00
Vladimir Prus
5b7c8b8e71 Improved 'vector'.
* new/container.jam (vector.indices): New rule.
    * new/targets.jam: Use the new rule.


[SVN r14528]
2002-07-19 12:57:23 +00:00
Beman Dawes
7cbff9f73b reduce max errs to 5
[SVN r14527]
2002-07-18 20:41:11 +00:00
Beman Dawes
1914d4ffbb reduce max errs to 5
[SVN r14526]
2002-07-18 19:16:04 +00:00
Dave Abrahams
0f1b5b4549 Workaround NT line-length limitation
[SVN r14520]
2002-07-18 16:02:56 +00:00
Dave Abrahams
bb9e62031f Used -noimplicit_include to suppress the compiler from finding our .cpp files when searching for angle-includes(!)
Not sure what ill effects this might have, though...


[SVN r14515]
2002-07-18 12:17:54 +00:00
Vladimir Prus
2572eac135 Attempts at creating Debian package.
* jam_src/Jamfile: Install documentation and bjam binary.
    * debian/*: New files needed to create a package.


[SVN r14497]
2002-07-17 16:10:51 +00:00
Vladimir Prus
08077f0aca Made names of preserved directories printed by tests.
* test/TestCmd.py (TestCmd.cleanup): Print the names of preserved
        directories. Reset self._dirlist even if directories are preserved.
    * test/BoostBuild.py (Tester.cleanup): New method.


[SVN r14489]
2002-07-17 09:16:37 +00:00
Vladimir Prus
6bd68afeaa An attempt at documenting features.
[SVN r14474]
2002-07-16 08:47:09 +00:00
Rene Rivera
c72fcbcdf1 Example on how to use selection of sources in stage targets.
[SVN r14473]
2002-07-16 05:47:26 +00:00
Rene Rivera
50c40f8a09 Added support for selection of sources based on toolset and/or variant for stage targets. See examples/stage_source_selection.
[SVN r14472]
2002-07-16 05:43:54 +00:00
Ralf W. Grosse-Kunstleve
1a803742d0 fix provided by Dan <gohmandj@mrs.umn.edu>
[SVN r14471]
2002-07-16 01:11:44 +00:00
Rene Rivera
28f0992b22 Fix subvariant calculation to not "forget" ungristed properties to make let property rules work.
Fix subvariant overrides to owork only when needed


[SVN r14463]
2002-07-15 02:06:02 +00:00
Dave Abrahams
ad6bee9ee2 Fix up RUN_PATH for testing
[SVN r14461]
2002-07-14 22:09:22 +00:00
Dave Abrahams
ea16dd8cf1 Allow multiple elements in RUN_PATH
[SVN r14460]
2002-07-14 21:58:14 +00:00
Dave Abrahams
15fb6c4895 Regression example for Rene
[SVN r14457]
2002-07-14 20:03:56 +00:00
Rene Rivera
660f55b0d7 Documentation, and removed tabs.
[SVN r14454]
2002-07-14 18:18:54 +00:00
Vladimir Prus
e09c1feca1 Regenerated jambase.c.
[SVN r14424]
2002-07-12 15:54:58 +00:00
Rene Rivera
b85e058433 Simple sub-project that builds a library and and an exe that depends on it.
[SVN r14423]
2002-07-12 15:22:06 +00:00
Dave Abrahams
3fa9a2216c Fix mistaken commit
[SVN r14422]
2002-07-12 14:52:01 +00:00
Dave Abrahams
4561568f14 tru64cxx6.5 fixes
[SVN r14421]
2002-07-12 14:32:20 +00:00
Dave Abrahams
2cffca8a2d "Dan Gohman" <gohmandj@mrs.umn.edu>
[SVN r14418]
2002-07-12 10:37:50 +00:00
Rene Rivera
040d3a7d1d Fixed finding compatible subvariants to link against when there are required overrides.
[SVN r14417]
2002-07-12 06:35:26 +00:00
Vladimir Prus
d5c9dab44a Deleted project_test2 and moved the interesting tests from it to project_test4.
[SVN r14404]
2002-07-11 10:01:53 +00:00
Vladimir Prus
a4c92fe9e3 Renamed the 'subproject' rule to 'build-project' in UI.
[SVN r14403]
2002-07-11 09:41:29 +00:00
Vladimir Prus
287a013f5c Recover project_test3 to life.
[SVN r14399]
2002-07-10 16:27:25 +00:00
Vladimir Prus
f68f4017dd Work on issue 577833: Finish target paths.
* new/targets.jam (main-target.generate) Add extra path component to
        virtual target which free properties are not equal to project's.
        (basic-target.generate): Pass refined properties to 'construct'.
        (virtual-target.extra-path): New rule.
        (virtual-target.actualize): Make use of extra path.
    * new/property.jam (take-free): New rule.


[SVN r14396]
2002-07-10 16:05:15 +00:00
Vladimir Prus
347fdbc3bf Changed reporting of unability to satisfy a build request.
* new/target.jam (main-target.generate): Give a more detailed error
        message when no alternative is found. (basic-target.generate):
        Don't exit with error when requirements can't be satisfied. Just
        return an error string.


[SVN r14393]
2002-07-10 09:06:24 +00:00
Vladimir Prus
13d0cd1fc3 Forgotten file.
[SVN r14392]
2002-07-10 08:43:11 +00:00
Vladimir Prus
68529cfc9d Implemented main target alternative selection.
* new/targets.jam (main-target.generate): Select the alternative
         based on the list of non-free requirements.
     * new/property.jam (remove-free): New rule, removes free property from
         a property set.


[SVN r14391]
2002-07-10 08:37:31 +00:00
Vladimir Prus
e6e842f7c5 Bugfix.
[SVN r14390]
2002-07-10 07:31:57 +00:00
Vladimir Prus
f03d5020d0 Test system tweaks.
* test/TestCmd.py: Cause the names of preserved directories to be
        printed.
    * test/test_system.html: Document "PRESERVE*" environmental variables
       and "pass_test"/"fail_test" methods.


[SVN r14389]
2002-07-10 07:31:24 +00:00
Dave Abrahams
0e0b1b26b1 Add missing eh-model
[SVN r14382]
2002-07-09 19:19:42 +00:00
Beman Dawes
5cc022b9c1 Reduce max errors to 5
[SVN r14376]
2002-07-09 17:01:19 +00:00
Vladimir Prus
eef7587e2b Work around the fact that our tests change the current directory.
[SVN r14375]
2002-07-09 16:01:34 +00:00
Vladimir Prus
80da521b46 Specifying target properties in target references now actually work.
* new/targets.jam (basic-target.generate-source): Fix regex.
    * test/project_test4.py: New test.


[SVN r14374]
2002-07-09 15:57:21 +00:00
Rene Rivera
a932c4e155 Fixed hang when encountering "}" followed by whitespace in a rule.
Added --help-enable=debug to print out parsing trace.


[SVN r14373]
2002-07-09 15:22:12 +00:00
Vladimir Prus
121f2217cc Documented project-test3.
[SVN r14371]
2002-07-09 15:05:06 +00:00
Vladimir Prus
00977ff04c Allow to use implicit features in some places.
* new/property.jam (make): New rule, constructs property set from
        what the user gives. Handles implicit features.
    * new/project.jam, new/targets.jam: Use 'property.make'.


[SVN r14370]
2002-07-09 15:03:04 +00:00
Vladimir Prus
b1c9abbbdd Bugfix.
* bootstrap.jam: Don't process $(ARGV[1]).


[SVN r14365]
2002-07-09 09:10:55 +00:00
Vladimir Prus
b60a0cdb70 Removed obsolete test system and tests.
[SVN r14364]
2002-07-09 09:05:59 +00:00
Vladimir Prus
9189e05745 Merge from feature_branch-update_rule (state 1).
* jam_src/Jamfile, jam_src/boost-jam.spec, jam_src/patchlevel.h:
          Updated version number to 3.1.1.
      * jam_src/jam.c: Made JAM_VERSION three-element string.
      * bootstrap.jam: When JAM_VERSION is 3.1.1 or more, call UPDATE
          explicitly on all non-option element in the command line.


[SVN r14363]
2002-07-09 08:58:29 +00:00
Vladimir Prus
621f19ecb1 Work on the issue 578618. Moved all the data out of jamfile modules.
* new/project.jam (project-attributes): New class to keep all the
        project related data. (attritutes, attribute): New rules to access
        the project attributes. (target): New rule to access the project
        target for a jamfile module.
        (initialize): Store attribute in project-attributes instance.
        (project): Moved to jamfile module.
        (assign-option): Moved with modifications to project-attributes.get.
    * new/targets.jam, new/project-root.jam, new/make.jam,
      new/build-system.jam: Induced changes.


[SVN r14362]
2002-07-09 07:56:51 +00:00
Rene Rivera
5d2d30c304 Removed some dead code.
Cleaned up some of the formatting.
Added --help-option=detailed, to print detailed docs as part of the summary docs.


[SVN r14361]
2002-07-09 07:49:55 +00:00
Vladimir Prus
1983150994 Comment tweak.
[SVN r14360]
2002-07-09 07:35:39 +00:00
Rene Rivera
6ef12b94ef Added --help command line option.
[SVN r14359]
2002-07-09 06:15:40 +00:00
Vladimir Prus
1c63a8373f Docs update.
* boost_build_v2.html: Document the 'use-project' rule, main target and
        target id/references.


[SVN r14351]
2002-07-08 15:54:05 +00:00
Vladimir Prus
5a502e9769 Test that targets from projects with different project roots can be used
together.


[SVN r14349]
2002-07-08 11:35:17 +00:00
Vladimir Prus
53f79abb91 Beginnings of a user manual.
[SVN r14346]
2002-07-08 11:12:32 +00:00
Vladimir Prus
6b8464d3fb Cleanups.
* new/targets.jam: (main-target.alternatives): Renamed from
      'main-target.variants'. Comment improvements.


[SVN r14342]
2002-07-08 10:38:54 +00:00
Vladimir Prus
0df3fdd119 Using targets from other projects implemented.
* new/project.jam (lookup): Bugfixes. (find-target): Attempt to load
        project specified by project id.
        Project module rules:
            project: Allow empty id.
            use-project: New rule.
    * new/targets.jam: (basic-target.generate-source): Correct a bug in
        separating target id from extra properties.


[SVN r14341]
2002-07-08 10:26:57 +00:00
Vladimir Prus
42cf79b229 Add "--dump-project" command line option.
[SVN r14340]
2002-07-08 09:50:43 +00:00
Vladimir Prus
7a8e814431 Some bugfixes and simplifications.
* new/os.path.jam (join-imp): Bugfixes. (all-parents): Simplified.
        (glob-in-parents): New rule.
    * new/project-root.jam (load): Use 'glob-in-parent' instread of
        'find-to-root', so that "project-root.load ." always work.
    * new/project.jam (find-jamfile): Make use of the 'glob-in-parents'
        rule.


[SVN r14339]
2002-07-08 09:49:28 +00:00
Vladimir Prus
b1c98e8473 Bugfix in 'property.refine'.
[SVN r14338]
2002-07-08 09:34:01 +00:00
Vladimir Prus
dae2844040 Restore project_test2.py to life again.
[SVN r14337]
2002-07-08 09:30:19 +00:00
Rene Rivera
09d309532f Most of the parsing is done, and generating docs. Minimally usefull as inline help.
[SVN r14334]
2002-07-08 06:40:46 +00:00
Beman Dawes
d326073efd fix "failed above ..." message before output instead of after
[SVN r14317]
2002-07-05 20:35:36 +00:00
Dave Abrahams
6eaabb7075 incorporate defaults into build-request.expand
[SVN r14311]
2002-07-05 16:17:12 +00:00
Vladimir Prus
a284f29376 Added developer guidelines.
[SVN r14310]
2002-07-05 16:08:03 +00:00
Dave Abrahams
54ca4a1226 simplification; should cut down on the number of immortal strings created
[SVN r14309]
2002-07-05 15:43:53 +00:00
Vladimir Prus
476fbbd1c8 Apply feature defaults when building.
* new/build-request.jam (expand-with-defaults): New rule
    * new/build-system.jam, new/targets.jam: Use 'expand-with-defaults' instead
        of 'expand'.
    * new/builtin.jam: Define new feature 'threading'.
    * test/project_test3.py: Test that feature defaults are applied.


[SVN r14307]
2002-07-05 15:09:28 +00:00
Dave Abrahams
bd5ea1c366 add-defaults
[SVN r14306]
2002-07-05 14:21:35 +00:00
Vladimir Prus
db8752ad36 Eliminated several minor leaks.
[SVN r14305]
2002-07-05 10:41:53 +00:00
Vladimir Prus
f78606d56a Stronger checks on command-line build request.
* new/property.jam (validate): New rule.
    * new/build-request.jam (convert-command-line-element): Call
        property.validate for each build request element.


[SVN r14304]
2002-07-05 08:54:33 +00:00
Rene Rivera
2da9008060 Added new hcache.h/c files so that RPM building works.
[SVN r14303]
2002-07-04 17:54:54 +00:00
Dave Abrahams
3179ea77d8 Fix comments
[SVN r14302]
2002-07-04 15:43:02 +00:00
Dave Abrahams
85a9d77cd5 Add immortal string block allocator
[SVN r14301]
2002-07-04 15:31:52 +00:00
Dave Abrahams
5d5d20c61c Clean up insignificant leak
[SVN r14300]
2002-07-04 15:31:23 +00:00
Dave Abrahams
d2d272301e Not sure why, but this is out-of-sync with HEAD
[SVN r14299]
2002-07-04 14:09:12 +00:00
Dave Abrahams
34e6fe38c0 Fixed this memory leak:
==30721== 174984 bytes in 14582 blocks are definitely lost in loss record 20 of 25
==30721==    at 0x40043BDB: malloc (vg_clientfuncs.c:100)
==30721==    by 0x804E02A: addsettings (rules.c:235)
==30721==    by 0x804A2AF: collect_arguments (compile.c:652)
==30721==    by 0x804A759: evaluate_rule (compile.c:864)
==30721==    by 0x804A072: compile_rule (compile.c:563)
==30721==    by 0x804DDBC: parse_evaluate (parse.c:138)
==30721==    by 0x80497FD: compile_append (compile.c:124)


[SVN r14298]
2002-07-04 14:06:21 +00:00
Rene Rivera
8f4940ab2e Change container/list to container/vector.
Added documentation for container/vector.


[SVN r14293]
2002-07-03 17:18:57 +00:00
Vladimir Prus
ce2a2d3283 Removed unused file.
[SVN r14292]
2002-07-03 16:03:12 +00:00
Vladimir Prus
0baf2927fc Load site-config/user-config. This closes issue 552870.
[SVN r14290]
2002-07-03 15:34:50 +00:00
Vladimir Prus
418a7926c7 Make use of container.jam improvements.
* new/build-request.jam (from-command-line): Return list class.
    * new/build-system.jam: Adjust accordingly.


[SVN r14289]
2002-07-03 14:42:43 +00:00
Vladimir Prus
509ce25022 Fixed a memory leak.
[SVN r14288]
2002-07-03 13:41:25 +00:00
Rene Rivera
83dc0b3573 Added list.get-at that returns the value of an item, assumes that the item is a node.
Added support for n-recursive access to list.at and list.get-at to make access to recursive structures easier.


[SVN r14285]
2002-07-02 20:39:20 +00:00
Vladimir Prus
b844479530 Unbreak project_test2.
[SVN r14284]
2002-07-02 15:07:43 +00:00
Vladimir Prus
3c3123d4c5 Implemented getting build request from the command line.
* new/build-request.jam (from-command-line): New rule.
    * new/build-system.jam: Get build request from the command line,
        expand it and pass to 'generate' rules.
    * new/targets.jam: Use targets's properties when computing path.
    * test/project_test3.py: Test the above changes.


[SVN r14283]
2002-07-02 15:02:04 +00:00
Vladimir Prus
f21818ee0b Project root loading tweaks.
* new/project-root.jam (load): Really produce an error message when
        project root file is not found.
    * test/project_test3.py: Test for the error reporting.


[SVN r14280]
2002-07-02 14:14:45 +00:00
Vladimir Prus
5d1d87cfaa Fix "-q" option, thanks to Markus Scherschanski.
* jam_src/make1.c (make1d): Quickquit in all cases, not only when
        DEBUG_MAKE is set.


[SVN r14277]
2002-07-02 11:53:21 +00:00
Vladimir Prus
0b6f0bff21 Fix typo in the previous commit.
[SVN r14276]
2002-07-02 11:41:17 +00:00
Vladimir Prus
759d3545fc Made project_test3 work on windows.
[SVN r14275]
2002-07-02 11:37:54 +00:00
Vladimir Prus
3c76830ca0 Test system improvements w.r.t. file content matching.
* test/BoostBuild.py (Tester.read_and_strip, Tester.expect_content):
        New methods.
    * test/test_system.html: Document the above methods.


[SVN r14274]
2002-07-02 10:34:43 +00:00
Dave Abrahams
796d6e7e77 improved property.as-path
[SVN r14269]
2002-07-01 20:05:37 +00:00
Dave Abrahams
061bb216a3 list implementation
[SVN r14261]
2002-06-29 19:24:11 +00:00
Vladimir Prus
1119f3d2ce Integrated Perforce change 1522: InstallInto now handle multiple files.
[SVN r14258]
2002-06-28 10:33:26 +00:00
Dave Abrahams
fb0c695b56 fixing up Jambase.c/jambase.c naming problem
[SVN r14256]
2002-06-28 02:18:29 +00:00
Dave Abrahams
9dfc4e72f6 fix Jambase.c/jambase.c naming issue
[SVN r14255]
2002-06-28 02:15:17 +00:00
Vladimir Prus
2732a35476 Beginning of the 'make' rule.
* new/targets.jam: Check for duplicate 'basic-target::generate()' calls.
        Use better logic to tell is source is another main target or file.
        (project-target::has-main-target): New rule.
    * new/project.jam (lookup): Fixes. (find-target): Implemented.
    * new/make.jam: New file, defines the 'make' rule and associated target
        class.
    * new/build-system.jam: Import 'make'. Generate virtual targets and
        actualize them.
    * new/utility.jam: Added "MkDir" rule and actions.
    * test/project_test3.py: New test.


[SVN r14249]
2002-06-27 14:00:30 +00:00
Vladimir Prus
d5dc1622b5 Fix a bug in the previous commit.
[SVN r14248]
2002-06-27 13:41:35 +00:00
Vladimir Prus
245a187cee Futher cleanups. Tests now pass.
* new/targets.jam: Rename 'abstract-target::local-name' to 'name'. Rename
        'abstract-target::name()' to 'abstract-target::full-name()'.
    * test/project-test2/project-test2.jam: Induces change.


[SVN r14247]
2002-06-27 11:00:05 +00:00
Dave Abrahams
401a2f3b5a Bug fix for Vladimir
[SVN r14244]
2002-06-26 20:52:38 +00:00
Vladimir Prus
6f3acfd46c Don't wait after each run of bjam. Instead, wait for time change before
making any change to filesystem by the tester classes.


[SVN r14238]
2002-06-25 14:55:27 +00:00
Vladimir Prus
608fe7a893 Cleanups.
[SVN r14237]
2002-06-25 13:27:47 +00:00
Thomas Witt
769acd5880 Rolled back command-file change.
[SVN r14204]
2002-06-20 05:51:58 +00:00
Dave Abrahams
78d6f6b280 fixed RUN_ALL_TESTS
[SVN r14172]
2002-06-19 01:26:11 +00:00
Rene Rivera
414c57ba3a Added more x86 6CPU
[SVN r14170]
2002-06-18 14:32:36 +00:00
Dave Abrahams
45694f8968 fixed mistaken removal of jambase.c
[SVN r14169]
2002-06-18 13:59:30 +00:00
Dave Abrahams
f3ae844df6 unremoved
[SVN r14167]
2002-06-18 13:47:47 +00:00
Thomas Witt
fa0d7f483c Added options argument to with-command-file.
Changed msvc Link-action to put FINDLIBS in commandfile.


[SVN r14166]
2002-06-18 09:34:43 +00:00
Dave Abrahams
fa4dbe6dc7 Factored out testing rules
[SVN r14156]
2002-06-16 20:39:26 +00:00
Toon Knapen
5a46f04eb5 removed arch-dep '-tpp6' flag
[SVN r14146]
2002-06-14 17:04:22 +00:00
Rene Rivera
2b50bd6292 Minor change to default values for SUFDLL and gSHELL_LIBPATH in MacOSX/Darwin.
Initial attempt at MacOSX/Darwin specific toolset.


[SVN r14143]
2002-06-14 04:55:40 +00:00
Toon Knapen
b5e7feaf35 added -tpp6 optimsation flag.
Speeds up a lot for pentium pro or higher


[SVN r14141]
2002-06-13 15:49:27 +00:00
Rene Rivera
9586c228da Reworked the architecture feature into architecture+instruction-set.
Added and address-model feature for support of 64 bit type addressing.
Updated gcc toolset to use the changed features.
Added mips to the list of architectures/instruction-sets.
Added gcc support for specifying mips options as an example.


[SVN r14133]
2002-06-12 16:56:34 +00:00
Dave Abrahams
68cadfcebb bug fix
[SVN r14093]
2002-06-06 20:24:11 +00:00
Ralf W. Grosse-Kunstleve
0a9814cfa5 cxx_repository relocated to target directory (instead of directory where bjam is invoked
[SVN r14092]
2002-06-06 19:26:17 +00:00
Dave Abrahams
b041481cc2 leave out missing paths for older CW installations
[SVN r14086]
2002-06-05 23:53:22 +00:00
Dave Abrahams
6d78dec791 enable -q, thanks to "Markus Scherschanski" <mscherschanski@dspace.de>
[SVN r14083]
2002-06-05 13:38:17 +00:00
Dave Abrahams
732ade4470 Warning suppression
[SVN r14059]
2002-05-29 14:17:13 +00:00
Dave Abrahams
e6a186e656 Merged Matt Armstrong's patches
[SVN r14053]
2002-05-28 20:35:13 +00:00
Dave Abrahams
14c180ffe4 Removed -lutil dependency for GCC compilers
[SVN r14052]
2002-05-28 20:32:52 +00:00
Dave Abrahams
68318cb668 Added missing quotes
[SVN r14051]
2002-05-28 20:31:35 +00:00
Dave Abrahams
c304ef8704 TOOLSET_LIB_PATH -> gTOOLSET_LIB_PATH
[SVN r14050]
2002-05-28 20:29:47 +00:00
Dave Abrahams
c8a2d1d0b7 Speedups for MkDir (kill recursion)
Automatically set HCACHEFILE


[SVN r14049]
2002-05-28 20:28:15 +00:00
Vladimir Prus
6cdac037f4 Fixes.
[SVN r14045]
2002-05-27 09:26:52 +00:00
Beman Dawes
2d06f6949e more minor "initiating" improvements
[SVN r14041]
2002-05-24 15:19:29 +00:00
Beman Dawes
8d13f93e4f minor "initiating" improvements
[SVN r14040]
2002-05-24 15:01:24 +00:00
Dave Abrahams
eb20b12411 Merged aix_so branch
[SVN r14032]
2002-05-23 22:42:40 +00:00
Dave Abrahams
5467b3d2bc Respect <sysinclude>
[SVN r14024]
2002-05-23 16:20:22 +00:00
Dave Abrahams
9cff76e811 Better matching for gcc toolsets (hack)
[SVN r14023]
2002-05-23 16:20:03 +00:00
Dave Abrahams
49b56667c8 restored bogus -s flag, with -Xlinker
[SVN r14005]
2002-05-22 12:40:22 +00:00
Dave Abrahams
4f3ea2a219 Kill bogus -s LINKFLAG
[SVN r14004]
2002-05-22 12:27:26 +00:00
Dave Abrahams
672b3db91c Back out of introduced bug
[SVN r14003]
2002-05-22 11:57:28 +00:00
Dave Abrahams
f1a1463b49 Applied dependency-resolving patch thanks to Thomas Witt
[SVN r14001]
2002-05-22 11:44:29 +00:00
Dave Abrahams
d4c70724a4 respect <sysinclude>
[SVN r13997]
2002-05-21 16:35:49 +00:00
Dave Abrahams
ce838691f6 More reliable extends-toolset
[SVN r13996]
2002-05-21 16:33:42 +00:00
Dave Abrahams
615629487a respect <sysinclude>
[SVN r13995]
2002-05-21 16:24:07 +00:00
Dave Abrahams
74facd7984 initial checkin
[SVN r13990]
2002-05-20 16:58:24 +00:00
Dave Abrahams
2cbf1235cf Move fix to main trunk
[SVN r13953]
2002-05-16 15:42:44 +00:00
Dave Abrahams
3b057305f1 merge from RC_1_28_0
[SVN r13950]
2002-05-16 13:31:23 +00:00
Dave Abrahams
4a3a0276dc Merged from RC_1_28_0
[SVN r13944]
2002-05-16 00:56:42 +00:00
Rene Rivera
c2feb5b2d1 Initial.
[SVN r13897]
2002-05-15 05:19:01 +00:00
Rene Rivera
c235ee86f5 Initial.
[SVN r13896]
2002-05-15 05:05:14 +00:00
Rene Rivera
c44075560d Initial.
[SVN r13895]
2002-05-15 04:57:44 +00:00
Rene Rivera
8e753fc95f Initial.
[SVN r13891]
2002-05-15 04:18:19 +00:00
Rene Rivera
44925cad79 Initial.
[SVN r13889]
2002-05-15 03:26:28 +00:00
Rene Rivera
2bd1d3ea29 Initial.
[SVN r13886]
2002-05-15 03:01:29 +00:00
Rene Rivera
4e2339fda9 Initial.
[SVN r13880]
2002-05-15 00:39:17 +00:00
Rene Rivera
888303bcfc Initial.
[SVN r13878]
2002-05-15 00:15:01 +00:00
Rene Rivera
fd55a4556c Initial.
[SVN r13875]
2002-05-14 23:41:04 +00:00
Vladimir Prus
7d4e497201 Updated rpm locations.
[SVN r13830]
2002-05-13 12:23:37 +00:00
Vladimir Prus
7b356908e6 Tweak.
* new/class.jam: Import all rules from the 'class' module into a class
        instance module, not into a class module.
    * new/targets.jam: Remove explicit import from 'class' in ctor.


[SVN r13829]
2002-05-13 10:42:18 +00:00
Rene Rivera
2dbdbeff71 Added container.
[SVN r13828]
2002-05-12 16:57:31 +00:00
Rene Rivera
36093d20a1 Container classes of various kinds, only list for now.
[SVN r13827]
2002-05-12 16:57:14 +00:00
Rene Rivera
ee45854e28 Added is-a.
[SVN r13826]
2002-05-12 16:56:41 +00:00
Rene Rivera
c874422cc0 Merge from RC_1_28_0 br
[SVN r13797]
2002-05-10 05:09:43 +00:00
Rene Rivera
352e1a7ae2 Description of config variables.
[SVN r13794]
2002-05-10 04:34:26 +00:00
Beman Dawes
c22ea090b4 break column head
[SVN r13789]
2002-05-09 18:05:31 +00:00
Rene Rivera
0f5ff91cc8 Patch to work around env avariable splits on spaces
[SVN r13780]
2002-05-09 17:04:14 +00:00
Dave Abrahams
579a8b8907 Fix broken links
[SVN r13777]
2002-05-09 16:04:17 +00:00
Dave Abrahams
e7077cbe40 fix tabs and line-endings
[SVN r13774]
2002-05-09 14:24:57 +00:00
Dave Abrahams
5136b57fa0 Remove settings JAMSHELL = "sh -c", since that can never work (the whole thing goes into argv[0]).
[SVN r13754]
2002-05-08 16:19:03 +00:00
Dave Abrahams
e81135a493 Remove settings JAMSHELL = "sh -c", since that can never work (the whole thing goes into argv[0]).
Update bisons in allyourbase.jam


[SVN r13753]
2002-05-08 16:15:39 +00:00
Dave Abrahams
6eafdc96d5 restore FAIL_EXPECTED rule
[SVN r13745]
2002-05-08 13:52:50 +00:00
Dave Abrahams
9783b98af2 Removed <undefine> flotsam
[SVN r13744]
2002-05-08 12:41:23 +00:00
Dave Abrahams
ab9f73bc2e __STL -> _STLP
[SVN r13743]
2002-05-08 11:59:41 +00:00
Dave Abrahams
13292b4324 Restored to health on non-NT systems
[SVN r13742]
2002-05-08 11:39:23 +00:00
Dave Abrahams
c487c8eb20 Fix building on Cygwin
[SVN r13728]
2002-05-07 21:44:19 +00:00
Dave Abrahams
dbfdf9d26e Fix building on Cygwin
[SVN r13727]
2002-05-07 20:53:02 +00:00
John Maddock
8b2e608f0c Fixes for Sun Forte cc
[SVN r13713]
2002-05-07 10:41:42 +00:00
Vladimir Prus
ada293c175 * test/project_test1.py: Remove trailing whitespace, so that the test
work again, after 'print' fixes.


[SVN r13712]
2002-05-07 07:17:20 +00:00
Rene Rivera
c6bd7ff189 Added link to como-tools.html.
[SVN r13711]
2002-05-07 05:33:59 +00:00
Rene Rivera
bf78016cbe como-tools.html; docs of configuration variables.
como-tools.jam; COMO_BASEROOT single


[SVN r13710]
2002-05-07 05:32:21 +00:00
Rene Rivera
159450ffc2 * Added link to borland tools documentation.
* Removed empty list-item in executables list.


[SVN r13709]
2002-05-07 05:02:48 +00:00
Rene Rivera
af6f53174a borland-tools.html; docs of configuration variables.
borland-tools.jam; BCCROOT singleton.


[SVN r13708]
2002-05-07 04:54:48 +00:00
Rene Rivera
8027658ddf * Added set-as-singleton rule to work around splitting of single value variables.
* Applied set-as-singleton to some know singletons.


[SVN r13707]
2002-05-07 04:27:03 +00:00
Rene Rivera
2a77faf754 Fixed printing of extraneous space when printing empty lines.
[SVN r13705]
2002-05-07 03:56:46 +00:00
Dave Abrahams
d83db0bfc8 Branch for aix shared linking support
[SVN r13704]
2002-05-07 03:46:19 +00:00
Dave Abrahams
6ae0e3d617 Partial AIX .so support
[SVN r13702]
2002-05-07 02:25:24 +00:00
Dave Abrahams
f75e08a90a true 'C' compatibility
[SVN r13701]
2002-05-06 22:31:44 +00:00
Dave Abrahams
59bc75b305 True 'C' compatibility
[SVN r13700]
2002-05-06 22:19:20 +00:00
Dave Abrahams
490e261f37 initial commit
[SVN r13699]
2002-05-06 21:37:47 +00:00
Dave Abrahams
6576720ac7 Clear environment before testing
[SVN r13696]
2002-05-06 21:09:03 +00:00
Dave Abrahams
a1ee1c4304 bug fix
[SVN r13695]
2002-05-06 20:59:53 +00:00
Dave Abrahams
7af36b48a1 better error reporting
[SVN r13694]
2002-05-06 18:59:11 +00:00
Dave Abrahams
4743f195ca Bug fixes
[SVN r13693]
2002-05-06 18:54:24 +00:00
Dave Abrahams
91a02a2ebf initial commit
[SVN r13691]
2002-05-06 18:29:50 +00:00
Dave Abrahams
0855bc58cd initial commit
[SVN r13690]
2002-05-06 18:22:28 +00:00
Dave Abrahams
5caef8aef9 new initialization code + tests
[SVN r13689]
2002-05-06 18:20:47 +00:00
Dave Abrahams
dbf314d369 new initialization code + tests
[SVN r13688]
2002-05-06 18:14:59 +00:00
Dave Abrahams
edd4d762a7 new initialization code + tests
[SVN r13687]
2002-05-06 17:51:21 +00:00
Vladimir Prus
6bf3dd7367 Some os.path improvements.
* new/os.path.jam: (root): Renamed from 'root-relative-path'.
        (join): Accept arbitrary list of elements.
    * new/project.jam: Induced changes.


[SVN r13686]
2002-05-06 15:20:24 +00:00
Vladimir Prus
bc3dfd6e3a Forgotten file.
[SVN r13682]
2002-05-06 09:14:28 +00:00
Vladimir Prus
a47d743670 Work on project/targets modules.
* new/targets.jam: Considerably changed.
    * new/project.jam: Projects now return project targets via 'target' rule.
        Requirements are inherited. Renames 'subinclude(s)' to 'subproject(s)'.
        (find-jamfile): Rewritten, which fixes some bugs.
    * new/project-root/jam: (print): Sort projects first by they id, which
        makes order more predictable.
    * test/project-test1.py: Also run test from the 'project-test1' dir.
    * test/project-test2.py: New test.


[SVN r13681]
2002-05-06 09:11:30 +00:00
Vladimir Prus
39a80aa60a Fixes.
* test/BoostBuild.py (Test.run_build_system): Now really allow any exit
        status if the 'status' paremeter is 'None', per documentation.


[SVN r13680]
2002-05-06 08:48:08 +00:00
Vladimir Prus
0ff617490b Some rules added and fixed.
* new/print.jam (wrapped-text): New rule.
    * new/property.jam (refine): Fixed a horrible bug. (as-path): New rule,
        to be made smarter later.
    * sequence.jam: Comment typo fixed, and trailing whitespace killed.


[SVN r13679]
2002-05-06 07:42:45 +00:00
Vladimir Prus
56946edda2 Test system fixes.
* test/BoostBuild.py (Tester.__init__): New paremeter 'arguments'. Add
        BOOST_BUILD_PATH to the command line.
        (Tester.set_tree): Make files writable after copying.
        (Tester.copy): New method
        (Test.read): Open file in read mode.
    * test/test_system.html: Documented the above changes. Small cleanups.
    * new/test.jam: Remove bootstrap code.
    * new/readme.txt: Changed command line for running unit tests.


[SVN r13678]
2002-05-06 07:22:46 +00:00
Vladimir Prus
dc7bb71be7 Minor fixes.
* jam_src/Jambase: Now really downcase $(ARGV[1]).
    * jam_src/compile.c: Fix formatting, now that 'lol_print' don't insert
        space at the end.
    * jam_src/jambase.c: Regenerated.


[SVN r13676]
2002-05-06 06:44:24 +00:00
Rene Rivera
8ba48e7d7c Boost.Build global variables. Initially listing only variables from allyourbase.jam.
[SVN r13674]
2002-05-06 06:21:10 +00:00
Dave Abrahams
0a704f9f2b link to gcc-tools.html
[SVN r13672]
2002-05-06 04:25:09 +00:00
Dave Abrahams
ba99e3f2b3 initial checkin
[SVN r13671]
2002-05-06 04:24:47 +00:00
Dave Abrahams
7b243bcc1d initial checkin
[SVN r13670]
2002-05-06 03:46:55 +00:00
Rene Rivera
c65c5e3bef Updated test to use generic print rules instead of dump rule. And therefore removed dump rule.
[SVN r13667]
2002-05-04 15:44:38 +00:00
Rene Rivera
93b4576bd0 More cleanup of var names.
[SVN r13666]
2002-05-04 15:38:12 +00:00
Vladimir Prus
4b9abfc1d2 Renamed 'refine-properties' to 'refine'.
[SVN r13664]
2002-05-04 12:32:22 +00:00
John Maddock
66d0a0a738 Added automatic Cygwin detection
[SVN r13663]
2002-05-04 11:06:20 +00:00
Vladimir Prus
1932e4c9b4 Added a newline at the end of file -- for testing purposes, mostly.
[SVN r13649]
2002-05-03 17:18:31 +00:00
Rene Rivera
aff199fc20 Some cleanup of project-root.load, per Dave's request.
[SVN r13648]
2002-05-03 17:08:55 +00:00
Dave Abrahams
92df2508df Set __class__ attribute in instances
Added block comment on class system usage
Added some new tests


[SVN r13646]
2002-05-03 16:40:12 +00:00
Rene Rivera
9c995b8361 Removed tabs ;-O
[SVN r13645]
2002-05-03 16:21:23 +00:00
Vladimir Prus
6fdd989f3f Simplified project-root.load.
[SVN r13641]
2002-05-03 15:03:35 +00:00
Vladimir Prus
6700b1df5d Some property functions.
* property.jam (refine-properties): New rule.
    * feature.jam: New feature attribute 'link-incompatible'.
    * test.jam: Test the property module.


[SVN r13640]
2002-05-03 14:15:18 +00:00
Dave Abrahams
ee6e6d6a53 A small simplification
[SVN r13639]
2002-05-03 14:15:13 +00:00
Dave Abrahams
850db7b9ec initial checkin
[SVN r13637]
2002-05-03 12:35:41 +00:00
Vladimir Prus
c1c25b6630 Enhancements for project.lookup.
* new/project.jam (lookup): Require second argument, which specifies
        directory, relative to which paths in id should be interpreted.
    * test/project-test1.jam: Test for the above change.


[SVN r13636]
2002-05-03 10:10:14 +00:00
Vladimir Prus
d373a76283 Updated project-test1.py.
[SVN r13635]
2002-05-03 09:46:01 +00:00
Vladimir Prus
68815c87a8 Modification of project handling and fixes.
* os.path.jam (basename, pwd, glob): New rules. Changed naming convention
        for many other rules.
    * project-root.jam: Use os.path everywhere.
    * project.jam: Don't convert project paths to absolute paths. Use os.path.
    * build-system.jam: Don't use absolute name when loading jamfile.


[SVN r13634]
2002-05-03 09:40:26 +00:00
Toon Knapen
fd86b9da59 added link to prebuilt HPUX jam-boost exec
[SVN r13633]
2002-05-03 08:42:56 +00:00
Rene Rivera
e91b8c9459 Slightly more functionality for print and doc. Not really working yet.
[SVN r13631]
2002-05-03 04:44:19 +00:00
Rene Rivera
f9a214b225 Fixed find-jamfile prunning to given directory root.
[SVN r13630]
2002-05-03 04:43:37 +00:00
Rene Rivera
2c871d9bb4 Merge bjam changes.
[SVN r13628]
2002-05-03 02:02:50 +00:00
Dave Abrahams
81b12c4e66 Eliminated bogus ^M characters
[SVN r13626]
2002-05-02 19:01:29 +00:00
Dave Abrahams
2ad515f132 Workaround for crazy assertion in Jambase
[SVN r13625]
2002-05-02 19:01:07 +00:00
Dave Abrahams
d08215b796 Show *full* build command on failure
[SVN r13624]
2002-05-02 19:00:38 +00:00
Dave Abrahams
5bb377b3a5 Some bug fixes
[SVN r13623]
2002-05-02 18:59:31 +00:00
Dave Abrahams
ea2f56c192 Account for "normalized path" bugs
[SVN r13622]
2002-05-02 17:08:41 +00:00
Dave Abrahams
c6deb39621 Quick fixes, one step towards health.
[SVN r13621]
2002-05-02 16:53:12 +00:00
Dave Abrahams
09ff6bc293 Updated test to take advantage of --build-system=... option
[SVN r13620]
2002-05-02 16:44:13 +00:00
Dave Abrahams
1875c7b42c Initial checkin, includes test instructions
[SVN r13619]
2002-05-02 16:41:36 +00:00
Dave Abrahams
42310beb0b Added --debug --quiet to args used when running tests
[SVN r13618]
2002-05-02 16:39:04 +00:00
Dave Abrahams
91f48400a9 Updated testing info
[SVN r13617]
2002-05-02 16:38:27 +00:00
Dave Abrahams
efeba41f54 Use modules.clone-rules
[SVN r13616]
2002-05-02 16:38:04 +00:00
Dave Abrahams
20ca88db08 Implemented --quiet flag for testing
[SVN r13615]
2002-05-02 16:37:23 +00:00
Dave Abrahams
976f276d7f Moved project loading to build-system.jam
[SVN r13614]
2002-05-02 16:36:30 +00:00
Dave Abrahams
9ca524c070 Use *_PATH variables for configuration; added comments
[SVN r13613]
2002-05-02 16:34:38 +00:00
Dave Abrahams
c07651ae2f Major bug fix (gotta fix that Jam lexer!)
Some coding convention fixes


[SVN r13612]
2002-05-02 16:30:38 +00:00
Dave Abrahams
da54f4cddb Added <stlport-iostream>on to requirements
[SVN r13610]
2002-05-01 17:29:13 +00:00
Dave Abrahams
225218972f Added stlport-cstd-namespace feature to import names like memcpy into std::, where they belong
Fixed runtime behavior to find the STLPort dlls


[SVN r13608]
2002-05-01 17:27:10 +00:00
Dave Abrahams
8b4ba84b2d Added some error reporting with configuration info
[SVN r13607]
2002-05-01 16:02:10 +00:00
Dave Abrahams
76bcb25159 oops; bug fix
[SVN r13605]
2002-05-01 14:37:30 +00:00
Dave Abrahams
5630c4ad83 Added comments
[SVN r13604]
2002-05-01 13:59:10 +00:00
Dave Abrahams
449ddd8075 python/gcc-stlport tweaks
[SVN r13601]
2002-05-01 02:51:05 +00:00
Dave Abrahams
0c00d8538e Slight tweak to Jamfile loading; still doesn't work
[SVN r13592]
2002-04-30 16:59:40 +00:00
Dave Abrahams
b48998c208 use new coding conventions
[SVN r13591]
2002-04-30 16:45:58 +00:00
Dave Abrahams
b0efaa16cc cleanups
[SVN r13590]
2002-04-30 16:43:20 +00:00
Dave Abrahams
3389a78129 Use new naming conventions
[SVN r13589]
2002-04-30 16:34:26 +00:00
Dave Abrahams
214f12a5bd Reworked to allow derived classes to call base class methods which have been overridden via explicit qualification
[SVN r13588]
2002-04-30 14:51:07 +00:00
Dave Abrahams
f2a6e7fce4 Fixed bug in assert.nonempty-variable
[SVN r13587]
2002-04-30 14:34:45 +00:00
Dave Abrahams
fa565fe5ee Merged Rene's boost_build_v2 branch into the main trunk
[SVN r13586]
2002-04-30 14:33:25 +00:00
Dave Abrahams
a936e23c72 Improved debugging output:
* added space after "on"
   * try harder to indicate in which module a rule is going to execute
   * Stop printing the module context of variable settings; it was
     confusing especially when the variable turned out to be a local
     variable or an argument name.
   *

Register the name by which each rule is /invoked/ in its frame instead
of the name by which the rule was defined. This changes the behavior
of the builtin BACKTRACE rule, causing it to register the rule's
invocation names (filenames and line numbers lead the user to the
definition context anyway). This change was neccessary in order to
support classes: we can now extract the name of a class being
initialized by looking at the backtrace from within the class module's
__init__ rule.


[SVN r13585]
2002-04-30 14:22:46 +00:00
Dave Abrahams
99f54bb8b8 Better error reporting for IMPORT
[SVN r13584]
2002-04-30 14:13:09 +00:00
Vladimir Prus
b12ad93d05 Moved comments in from of implementation.
[SVN r13523]
2002-04-19 08:58:30 +00:00
Vladimir Prus
d560c20ca4 Test system improvements.
* BoostBuild.py
        (Tester.expect_nothing): New method.
        (Tester.run_build_system): Added 'subdir' argument. Take a nap
        after running bjam, so that further touches to files are detected.
    * test_system.html
        Document the above changes. Document earlier changes to List{}.
        Fixed typos.


[SVN r13522]
2002-04-18 08:35:27 +00:00
Dave Abrahams
137a937232 *** empty log message ***
[SVN r13520]
2002-04-18 04:00:30 +00:00
Vladimir Prus
04de3a3add Change of tests to accomodate new load behaviour and also fix previous
incorrect commit.


[SVN r13518]
2002-04-17 14:30:13 +00:00
Vladimir Prus
fae60ac960 Added description of milestone 1 and some tests for it.
[SVN r13517]
2002-04-17 14:10:54 +00:00
Rene Rivera
bed1207b67 Temporary, checkin.
[SVN r13505]
2002-04-16 15:25:15 +00:00
Rene Rivera
3504660c49 Integrated my load behaviour into Valdimir's code. Some cleanup along the way.
[SVN r13503]
2002-04-16 06:04:52 +00:00
Rene Rivera
69c1220bf7 Factored management of project-root to it's own module.
[SVN r13502]
2002-04-16 06:03:11 +00:00
Rene Rivera
48d753b71d Extracted print generation from doc module to here for common use.
[SVN r13501]
2002-04-16 06:02:15 +00:00
Rene Rivera
1d1e46bb50 Added localize rule.
[SVN r13500]
2002-04-16 05:56:18 +00:00
Dave Abrahams
3130c36930 Use new List niceties
[SVN r13497]
2002-04-15 18:05:58 +00:00
Dave Abrahams
af2a7d41e2 Added some niceties for List class
[SVN r13496]
2002-04-15 18:04:33 +00:00
Dave Abrahams
7b5068bce4 Always use a .bat file unless forced to do otherwise
[SVN r13490]
2002-04-15 04:18:23 +00:00
Dave Abrahams
d5e2198470 Add quoting for /LIBPATH et al
[SVN r13480]
2002-04-13 17:37:34 +00:00
Dave Abrahams
acf8fa08b7 vc7 compatibility for BOost.Python v1
Better error messages for Jam when actions are too long


[SVN r13477]
2002-04-13 15:33:00 +00:00
Dave Abrahams
7720d2035e LD_LIBRARY_PATH fixes for Ralf
[SVN r13475]
2002-04-13 12:35:04 +00:00
Dave Abrahams
69798211d0 propagate standard library directory from intel toolsets
[SVN r13472]
2002-04-13 04:29:11 +00:00
Dave Abrahams
a19130ba21 Reconstitute paths with spaces
[SVN r13468]
2002-04-12 19:47:48 +00:00
Dave Abrahams
46f70d112b Fix for Pro8 toolset; Default to Pro7.
[SVN r13466]
2002-04-12 18:34:30 +00:00
Vladimir Prus
dfc3b6e66c Plugged the project test in the testing framework.
[SVN r13458]
2002-04-12 08:07:39 +00:00
Vladimir Prus
b86874e7ca Added two example tests.
[SVN r13457]
2002-04-12 07:26:10 +00:00
Rene Rivera
bbc7e8f9ee Cleaned up link-action, better SONAMEs.
[SVN r13452]
2002-04-11 21:24:16 +00:00
Dave Abrahams
673a381740 Fixed installation/configuration checks
[SVN r13451]
2002-04-11 21:01:10 +00:00
Rene Rivera
d30f648b5d Support for SONAMEs.
[SVN r13450]
2002-04-11 20:32:50 +00:00
Vladimir Prus
072c673df4 Make the test system invoke jam binary located in the same working copy.
[SVN r13446]
2002-04-11 15:16:22 +00:00
Dave Abrahams
e87dbb8961 *** empty log message ***
[SVN r13445]
2002-04-11 14:16:05 +00:00
Dave Abrahams
9447de2488 fixes a problem which causes a trailing space to be added to the last element of PYTHONPATH.
[SVN r13434]
2002-04-10 17:29:36 +00:00
Vladimir Prus
9c409585dd Fixes.
* lists.c (list_print): Do not output trailing whitespace. This change
    	is intended to make writing tests easier.


[SVN r13425]
2002-04-10 08:43:22 +00:00
Vladimir Prus
6c80c85f67 Added a test for the 'project' module.
[SVN r13424]
2002-04-10 06:52:06 +00:00
Vladimir Prus
daec08b54c Fixes.
* os.path.jam (all_parent): Convert result of 'PWD' into normalized path.


[SVN r13423]
2002-04-10 06:41:56 +00:00
Vladimir Prus
d4686bb0f9 Another attempt at replacing tabs with spaces.
[SVN r13409]
2002-04-09 07:48:35 +00:00
Dave Abrahams
ccd33fac65 Replace unused FAIL_EXPECTED with RMOLD
[SVN r13408]
2002-04-09 04:09:15 +00:00
Dave Abrahams
13093a1e9f dummy
[SVN r13407]
2002-04-09 04:05:02 +00:00
Dave Abrahams
1065729abb Replace unused FAIL_EXPECTED with RMOLD
[SVN r13406]
2002-04-09 04:01:58 +00:00
Vladimir Prus
51b91d33b2 Work on projects/targets.
* project.jam: New module.
    * targets.jam: New module.
    * sequence.jam (merge): New rule.
    * os.path.jam: Bugfix.


[SVN r13402]
2002-04-08 17:42:22 +00:00
Vladimir Prus
877c93d683 Added new test system sources. Updated docs.
[SVN r13401]
2002-04-08 15:13:36 +00:00
Dave Abrahams
bca823ed8f Fixes for python (how did it ever work?)
[SVN r13400]
2002-04-08 12:20:05 +00:00
Rene Rivera
92e0d37fe7 More detailedoad sequence.mo
[SVN r13398]
2002-04-07 17:36:14 +00:00
Rene Rivera
052ee31f34 Change to have individual module scopes per Jamfile.
[SVN r13397]
2002-04-07 17:35:42 +00:00
Rene Rivera
0b57846bd8 Rolled back v-1.12 changes.
Made binding not assume module-name == filename.


[SVN r13396]
2002-04-07 17:34:20 +00:00
Rene Rivera
1a6bdab92e Fixed OS test for UNIX, again.
[SVN r13395]
2002-04-07 17:04:34 +00:00
Rene Rivera
d982ee7b6d Fixed OS test for UNIX.
[SVN r13394]
2002-04-07 17:00:50 +00:00
Rene Rivera
e3b2210790 Removed quotes from docs. Some minor cleanup of docs.
[SVN r13393]
2002-04-07 05:20:21 +00:00
Dave Abrahams
4724034e5c perforce 2.4 merge (again)
[SVN r13391]
2002-04-07 00:22:45 +00:00
Dave Abrahams
bdccc70983 perforce 2.4 integration
[SVN r13390]
2002-04-07 00:18:37 +00:00
Dave Abrahams
dc6123ec95 Added Rene's doc stuff
[SVN r13389]
2002-04-07 00:16:41 +00:00
Dave Abrahams
4a291676a5 perforce 2.4 integration
[SVN r13388]
2002-04-06 23:41:05 +00:00
Dave Abrahams
17026ad164 perforce 2.4 changes
[SVN r13387]
2002-04-06 23:40:41 +00:00
Dave Abrahams
9e5545cade rolled forward GLOB and MATCH changes from perforce. Also incorporated regex cacheing to MATCH
[SVN r13386]
2002-04-06 23:36:47 +00:00
Rene Rivera
f5a357640b Added check so that modules can get multiple included without getting multiple documentation.
[SVN r13384]
2002-04-06 22:53:13 +00:00
Rene Rivera
f53e7f7ab0 Replace tabs, with spaces.
Fix for when BOOST_BUILD_PATH is empty.


[SVN r13383]
2002-04-06 22:26:48 +00:00
Beman Dawes
5f2bb6d910 Refine HTML col heads
[SVN r13379]
2002-04-06 19:48:19 +00:00
Beman Dawes
7ee7217c0b Add HTML table entry
[SVN r13375]
2002-04-05 16:26:18 +00:00
Rene Rivera
e436cbbc47 Secondary dependencies where not getting included, fixed.
[SVN r13372]
2002-04-05 03:30:22 +00:00
Beman Dawes
bf47763840 Add #// line to identify compiler to HTML generator
[SVN r13369]
2002-04-04 20:00:24 +00:00
Rene Rivera
754e2a67f2 Cleanup, fixed various recursive dependency problems...
Replace all occurances of <LIB> <DLL> with <$(STATIC_TYPE> <$(SHARED_TYPES)>.
Fixed recursive dependency problem in template modifier.
Fixed recursive dependency problem in stage targets, now stage targets only get built/defined on second pass.


[SVN r13367]
2002-04-04 17:20:15 +00:00
Rene Rivera
18b1952510 Fixed slight problem with subvariant when there is no subvariant build request.
[SVN r13363]
2002-04-03 20:16:25 +00:00
Beman Dawes
02bdc76c7a Add double quotes in case spaces in paths, fix cut and paste errors
[SVN r13362]
2002-04-03 18:31:18 +00:00
Vladimir Prus
1414373435 Added test system docs.
[SVN r13359]
2002-04-03 11:10:10 +00:00
Rene Rivera
3dd8fb772f Added architecture feature, as a serious test of subvariant generation.
[SVN r13354]
2002-04-03 06:58:31 +00:00
Rene Rivera
ffe30b0a74 Added architecture feature, as a serious test of subvariant gen
[SVN r13353]
2002-04-03 06:57:38 +00:00
Rene Rivera
a88c75673e Fix subvariant generation of dependents to correctly transmit/match dependant requirements/requests.
[SVN r13352]
2002-04-03 06:42:55 +00:00
Dave Abrahams
9f0abf8582 bug fixes for Beman
[SVN r13346]
2002-04-02 19:27:00 +00:00
Dave Abrahams
98ecd4ec9d Use MATCH
[SVN r13339]
2002-04-01 16:00:25 +00:00
Dave Abrahams
6d1b7d8ad4 bug fix
[SVN r13338]
2002-04-01 15:59:03 +00:00
Dave Abrahams
3bde94a542 Killed off all uses of SUBST
[SVN r13337]
2002-04-01 15:04:25 +00:00
Rene Rivera
3760827171 Initial try at documentation system. Major drawback of this versioni is anything but console output
[SVN r13329]
2002-04-01 07:12:39 +00:00
Dave Abrahams
0fbd682072 Updated self-test procedure
[SVN r13328]
2002-04-01 05:19:25 +00:00
Dave Abrahams
2cc0497e45 Fixed MATCH rule port
Changed regex.split to work with MATCH
Fixed build-system.jam so command-line JAMFILE specification works


[SVN r13326]
2002-04-01 02:59:53 +00:00
Dave Abrahams
dc37240f9b Roll back changes which should be on the branch for now.
[SVN r13325]
2002-04-01 02:58:32 +00:00
Dave Abrahams
e57c382baa A couple of minor changes for backward compatibility.
[SVN r13324]
2002-04-01 01:48:08 +00:00
Rene Rivera
37c843e327 Load behaviour part 2: Implemented initial version with new module semantics.
[SVN r13321]
2002-03-30 21:54:56 +00:00
Rene Rivera
8915daf0e4 Load behaviour part 2: Added an additional arg to load so that one can override the module/omodtag of the loaded f
[SVN r13320]
2002-03-30 21:54:03 +00:00
Dave Abrahams
37ea7155b6 Added MATCH rule
[SVN r13314]
2002-03-30 12:53:50 +00:00
Dave Abrahams
702651805d bug fix, forgot to check in
[SVN r13306]
2002-03-30 00:37:00 +00:00
Rene Rivera
b8d3b91f93 Don't attempt to do versioned links in anything but Unix.
[SVN r13305]
2002-03-30 00:29:55 +00:00
Dave Abrahams
8f30395006 Cygwin fix
[SVN r13304]
2002-03-30 00:14:03 +00:00
Rene Rivera
42ef76532b Fix loading of modules so that it searchesOOST BOOST_BUILD_P
[SVN r13301]
2002-03-29 06:30:55 +00:00
Rene Rivera
6a99d4ca0f Cleaned up various mishaps introduces in the last version.
Added documentation for template targets, from Thomas Witt.


[SVN r13300]
2002-03-29 03:55:13 +00:00
Dave Abrahams
a851d58bff Applied patch from Dick Hadsell (hadsell@blueskystudios.com)
[SVN r13297]
2002-03-28 13:23:53 +00:00
Dave Abrahams
81dc856844 bug fixes
[SVN r13290]
2002-03-28 04:55:25 +00:00
Dave Abrahams
ab1a3443d3 bug fix
[SVN r13289]
2002-03-27 22:45:13 +00:00
Dave Abrahams
4a24e5ebb7 *** empty log message ***
[SVN r13288]
2002-03-27 22:45:04 +00:00
Dave Abrahams
7b1c9035e7 New module scoping rules
[SVN r13287]
2002-03-27 22:23:30 +00:00
Vladimir Prus
a8af2f9e80 Minor modifications.
* regex.jam (split): Change behavour with regard to separators at
	the beginning of string.
    * os.path.jam (has_parent, parent, join): Allow relative paths to
	point upward.
	(all_parents): new rule
	Added support for unix pathes.


[SVN r13279]
2002-03-26 08:56:05 +00:00
Vladimir Prus
ef1c27263d Merge of Perforce change 1587: "if" was testing only the first element of
simple expression.


[SVN r13278]
2002-03-26 07:51:38 +00:00
Rene Rivera
dbfa6cf3f7 Changed so that when we are generating versioned DLLs, we link the versioned one, and symlink the unversioned one.
[SVN r13275]
2002-03-26 01:41:07 +00:00
Rene Rivera
1130c61a93 Removed HardLink hack to generate versioned DLLs.
[SVN r13274]
2002-03-26 01:39:47 +00:00
Rene Rivera
2e71d8995b Fixed missing setting of RUN_LD_LIBRARY_PATH for DLL and PYD targets.
[SVN r13273]
2002-03-26 00:32:41 +00:00
Dave Abrahams
d10c2e41f9 deal with spaces in pathnames
[SVN r13270]
2002-03-25 16:33:27 +00:00
Rene Rivera
36494e2340 Added setting of LD_LIBRARY_PATH env variable in the link so that the linker can resolve tertiacry dependencies that use soname-ing.
[SVN r13269]
2002-03-25 04:38:21 +00:00
Rene Rivera
5389f60187 Added creation of versioned files when building DLLs.
[SVN r13268]
2002-03-25 04:37:20 +00:00
Dave Abrahams
9b7240332d Quick bug fixes for python
[SVN r13252]
2002-03-24 05:04:38 +00:00
John Maddock
f45c23b62c Added Darwin options (caution may not work yet).
[SVN r13248]
2002-03-22 12:16:41 +00:00
John Maddock
ba7de11e5e Added BeOS threading options (there aren't any).
[SVN r13247]
2002-03-22 11:30:04 +00:00
John Maddock
992934fa06 Added support for execution under cygwin
[SVN r13246]
2002-03-22 11:29:35 +00:00
Rene Rivera
e2045ce152 Changed name of template/basis/base targets to "emplate" e
[SVN r13239]
2002-03-22 00:29:13 +00:00
Dave Abrahams
8989f6717a no comment
[SVN r13231]
2002-03-20 07:16:06 +00:00
John Maddock
6e643ceef7 Added -lrt for multithreaded builds
[SVN r13227]
2002-03-19 12:39:34 +00:00
Rene Rivera
ff03f0c769 Fixed stage targets not repositioning to dependents directories.
[SVN r13222]
2002-03-19 06:41:55 +00:00
Rene Rivera
d86d14d372 Fixed default build request not getting propagated when using a linking edependency
[SVN r13220]
2002-03-18 21:33:46 +00:00
Rene Rivera
583b807462 Fixed multiple copies of text in header, because of multiple inclusion as dependent.
Added support for mutiple comment lines, so that the full boost copyright info can be generated.


[SVN r13216]
2002-03-17 20:10:46 +00:00
Rene Rivera
d779246111 Added "basis" targets, functionality originally from Tim Witt.
Added concept of modifier functions to implement cleaner "basis".
Cleaned up declare-local-target and many other small spots.
Mostly full generalization of dependants.
Fixed multiple copy bug in "stage" target, and small cleanup.
Fixed spurious resetting of BUILD variable, which was causing incorrect builds.


[SVN r13215]
2002-03-17 20:08:48 +00:00
Rene Rivera
aa286fa5cf Fixed forward dependency bug, they now work again.
[SVN r13213]
2002-03-16 04:18:10 +00:00
Dave Abrahams
10ece33fb4 Tweaks for CWPro7.2
[SVN r13206]
2002-03-15 12:40:09 +00:00
Dave Abrahams
b5cb639b10 Quick bug fix for simultaneous vc6/7 operation
[SVN r13205]
2002-03-15 04:28:45 +00:00
Dave Abrahams
158dc4284a Fixed .pdb problem
[SVN r13204]
2002-03-15 03:05:35 +00:00
Rene Rivera
f4d1348355 Fixed same copy-paste error of resetting the BUILD variable, but this time in the stage targets.
[SVN r13190]
2002-03-14 05:12:46 +00:00
Rene Rivera
7d6a8dc5d2 Added distribution.jam to hold rules for management of distributions.
Initially only has the version-header rule.


[SVN r13174]
2002-03-11 16:13:46 +00:00
John Maddock
74cf1021a3 Added support for gcc versions that don't use the GNU linker -
basically we have to suppress some GNU specific command line
switches in this case.


[SVN r13168]
2002-03-10 12:07:05 +00:00
Dave Abrahams
726057769e *** empty log message ***
[SVN r13134]
2002-03-08 14:55:02 +00:00
Dave Abrahams
5dc82a35d3 <dir.h> -> <direct.h>
[SVN r13125]
2002-03-07 22:59:24 +00:00
Rene Rivera
f90b657592 Set to version 3.1
Changed options to allow GNU style options of "--x".
Added ARGV variable for invocation arguments.


[SVN r13124]
2002-03-07 17:14:12 +00:00
John Maddock
bde7c1ccb1 Added platform specific threading options.
[SVN r13122]
2002-03-07 12:21:17 +00:00
Vladimir Prus
30dd388d07 Added the 'PWD' builtin.
[SVN r13117]
2002-03-07 09:02:01 +00:00
Dave Abrahams
60c11a08da Merge with Perforce 2.4 state
[SVN r13111]
2002-03-06 14:13:29 +00:00
Dave Abrahams
1469854394 Bugfixes
[SVN r13107]
2002-03-06 01:20:56 +00:00
Rene Rivera
31abc2df39 Sstage targets where not using the complete local-build arguments
[SVN r13103]
2002-03-05 22:43:26 +00:00
Rene Rivera
8c34284a72 Fixed trying to copy multiple files at once in stage targets.
[SVN r13096]
2002-03-05 17:17:58 +00:00
Rene Rivera
7a7f3a1cfb Fixed rename-target, it needed to take multiple targets.
[SVN r13094]
2002-03-05 16:19:44 +00:00
Dave Abrahams
81396a6ccf Bug fix
[SVN r13093]
2002-03-05 13:16:25 +00:00
Dave Abrahams
461fbb0d97 Make <inlining> link-compatible
[SVN r13080]
2002-03-04 20:06:25 +00:00
Rene Rivera
c770786680 Updated soname to use <dllversion>, defaults to BOOST_VERSION if not specified.
[SVN r13034]
2002-03-02 23:06:58 +00:00
Rene Rivera
797eaf3fc2 Added <dllversion> feature to use for soname-ing.
[SVN r13031]
2002-03-02 23:01:34 +00:00
Dave Abrahams
243b76f02a experimental soname support
[SVN r13028]
2002-03-02 21:41:16 +00:00
Dave Abrahams
ccd4fca6a6 experimental soname support
[SVN r13027]
2002-03-02 21:39:34 +00:00
Rene Rivera
b3188df2dc Factored out the rename code from stage to rename-target.
Removed tabs.


[SVN r13021]
2002-03-02 19:56:12 +00:00
Rene Rivera
f1011cbdae Fixed link subvariant checking.
[SVN r13017]
2002-03-02 18:39:02 +00:00
Dave Abrahams
6a5699233a Fixed(?) BUILD bug
[SVN r13015]
2002-03-02 17:46:46 +00:00
Dave Abrahams
5654777558 Fixed "optimize for space" and "optimize for speed"
[SVN r12998]
2002-03-01 20:20:17 +00:00
Dave Abrahams
fc4aa52cfc AIX support
[SVN r12986]
2002-02-28 16:02:56 +00:00
Dave Abrahams
698220c557 Bug fix for Windows at least
[SVN r12983]
2002-02-28 15:22:17 +00:00
Dave Abrahams
574fea9c1a argument names for subvariant-target
[SVN r12980]
2002-02-28 12:25:12 +00:00
Dave Abrahams
23b94ce6ee better path handling
[SVN r12976]
2002-02-28 06:03:19 +00:00
Dave Abrahams
0193f1cab3 set DLL_AS_LIB for NT
[SVN r12975]
2002-02-28 05:30:13 +00:00
Dave Abrahams
e9b2987098 restore important warning
[SVN r12965]
2002-02-27 23:56:22 +00:00
Dave Abrahams
2f62b30769 fixed bogus warning
[SVN r12964]
2002-02-27 23:27:50 +00:00
Rene Rivera
b74e1a0d55 Simplyfied find-subvariant-target.
[SVN r12948]
2002-02-27 05:32:16 +00:00
Rene Rivera
d1b459994a Fixed template for expand-target-subvariants.
[SVN r12943]
2002-02-26 18:31:51 +00:00
Rene Rivera
1f0cf3ca7c Really fixed the compatible subvariant dependency. Factored some duplicate code.
[SVN r12941]
2002-02-26 16:28:20 +00:00
Rene Rivera
8d98b79dab Fixed link compat. testing so that specifying multi-value requirements works. (ex. <runtime-link>static/dynamic>
[SVN r12934]
2002-02-25 02:47:09 +00:00
Dave Abrahams
0556bc2103 strip symbols in linker when <debug-symbols>off
[SVN r12931]
2002-02-24 23:40:45 +00:00
Dave Abrahams
09f283984b Fix <optimization>space
[SVN r12930]
2002-02-24 22:05:13 +00:00
Dave Abrahams
0ec107e671 Can't really remove command-files until <find-library> arguments are accounted for in their dependencies.
[SVN r12923]
2002-02-24 05:18:22 +00:00
Dave Abrahams
8194a0a19c Added search behavior to link command
[SVN r12921]
2002-02-24 02:50:07 +00:00
Beman Dawes
a53047b3d3 Better chdir wording (Dan Nuffer)
[SVN r12905]
2002-02-22 19:48:00 +00:00
Dave Abrahams
4789f37a7b added multithread support
[SVN r12853]
2002-02-18 16:17:51 +00:00
Dave Abrahams
f6acca80d9 Fixes for Rene's modifications
[SVN r12850]
2002-02-17 22:46:30 +00:00
Rene Rivera
23e6ec30cf Use DLL_AS_LIB to "hard" link DLLs in addition to dynamic link (-l).
[SVN r12844]
2002-02-17 00:28:39 +00:00
Rene Rivera
8f32164e9e Added DLL_AS_LIB flagfalg variable to indicate wether DLLs need to be "hard" linked on a platf
[SVN r12843]
2002-02-17 00:27:59 +00:00
Rene Rivera
8fd8df37d2 Fixed name expansion for Windows, that is platforms that generate multiple targets for DLLs.
[SVN r12814]
2002-02-15 06:15:22 +00:00
Rene Rivera
df6f25727f Latest changes to legacy Boost.Build. Cleanups, addition of "stage", elimination of BOOST_BUILD_INSTALLATION, canonization of target names, etc.
[SVN r12799]
2002-02-14 04:09:50 +00:00
Dave Abrahams
25a8d975a2 Bug fix thanks to Hugo Duncan for the report
[SVN r12782]
2002-02-11 17:01:34 +00:00
Rene Rivera
051ec557cd Updated to reflect current status of code. Spelling fixes, some variable reference fixes. Additions include documentation of stage, lib vs. dll linking, and names of targets.
[SVN r12781]
2002-02-11 16:26:25 +00:00
Dave Abrahams
0d7d8c2a4d bug fixes and more test cases
[SVN r12780]
2002-02-11 04:59:35 +00:00
Dave Abrahams
d86f51c9fe Bug fix + associated test
[SVN r12779]
2002-02-10 20:52:13 +00:00
Dave Abrahams
cedad448d5 Build request expansion
[SVN r12778]
2002-02-10 00:49:29 +00:00
Toon Knapen
bba28ed765 flags declarations used xlc instead of the real toolset name : vacpp
[SVN r12752]
2002-02-08 11:32:26 +00:00
Dave Abrahams
1698192df2 skip incompatible builds
[SVN r12747]
2002-02-07 01:42:57 +00:00
Rene Rivera
17dec5add8 Modified ARFLAGS so that the "/" is not needed because it is translated to "\\" by Boost.Jam.
[SVN r12712]
2002-02-04 22:18:46 +00:00
Rene Rivera
bacdb88347 Added <arflags> feature to all toolsets.
[SVN r12710]
2002-02-04 21:05:31 +00:00
Rene Rivera
32293480e5 Removed tabsà
[SVN r12709]
2002-02-04 20:47:07 +00:00
Rene Rivera
831f28843f Removed tab.
[SVN r12708]
2002-02-04 20:44:58 +00:00
Ralf W. Grosse-Kunstleve
d43f0f6d5e Compaq Tru64 cxx 6.5 toolset (based on tr64cxx-tools.jam);
tested with libs/python/Jamfile


[SVN r12685]
2002-02-04 11:51:44 +00:00
Dave Abrahams
0204700120 Slightly more-sophisticated testing behavior
[SVN r12632]
2002-02-02 14:06:13 +00:00
Dave Abrahams
f385672095 Fixes from Hugo Duncan (and me)
[SVN r12605]
2002-01-31 14:49:09 +00:00
Dave Abrahams
87926970e6 Better compatibility with default Jamfile configuration for MSVC
[SVN r12583]
2002-01-30 15:47:47 +00:00
Dave Abrahams
6cbe7bf2a6 bug fix
[SVN r12582]
2002-01-30 15:47:00 +00:00
Dave Abrahams
4410ea493c Bug fixes
[SVN r12581]
2002-01-30 15:46:06 +00:00
Vladimir Prus
d8df56134c Module os.path completed.
[SVN r12542]
2002-01-29 08:40:58 +00:00
Dave Abrahams
5a086381a0 Make sure <target-type> is never clobbered.
[SVN r12516]
2002-01-25 22:30:06 +00:00
Toon Knapen
1558678062 added -Ae flag to compile on HP
[SVN r12503]
2002-01-25 14:24:41 +00:00
Toon Knapen
200e341eb3 added new-line character after #endif directive (vacpp complains loudly)
[SVN r12502]
2002-01-25 14:13:40 +00:00
Toon Knapen
0f4ae0f8c6 changed "//" comment into /* */ because Aix C compiler can't handle C++-style comments
[SVN r12501]
2002-01-25 14:10:52 +00:00
Rene Rivera
da9aab86e8 Specified "Initialization" sequence, and updated the "Preamble" to reflect the sequence.
[SVN r12461]
2002-01-23 16:58:06 +00:00
Dave Abrahams
b6cdcbc1d6 Fix misattribution of PWD rule
[SVN r12457]
2002-01-23 14:58:00 +00:00
Toon Knapen
79251aaede executable flag on yyacc is set by Jamfile automatically
[SVN r12453]
2002-01-23 12:29:46 +00:00
Dave Abrahams
6c06af98fe Make it possible to compile a given source file by giving its object file name as a target.
[SVN r12443]
2002-01-22 13:53:04 +00:00
Toon Knapen
6cfadf7793 yyacc added again, but this time with the executable flag set
[SVN r12430]
2002-01-22 09:02:47 +00:00
Toon Knapen
4198d15f7e just deleting it to add it again with the executable flag set
[SVN r12429]
2002-01-22 09:01:57 +00:00
Dave Abrahams
7a8a546d9d initial checkin
[SVN r12416]
2002-01-22 03:46:44 +00:00
Rene Rivera
15f497b05b - Moved <suppress> code to support it for all target types.
- Added <linkflags> feature.
- Added <sysinclude> and <linkflags> to all toolsets.
- Documented existing changes to "variant" inheritance.


[SVN r12408]
2002-01-21 22:25:03 +00:00
Vladimir Prus
eafb20a9d6 Added support for building RPMs.
[SVN r12395]
2002-01-21 12:33:20 +00:00
Dave Abrahams
915f27ffe5 *** empty log message ***
[SVN r12365]
2002-01-20 06:14:45 +00:00
Toon Knapen
337546503e removed declared but never referenced variables
(spotted by mipspro compiler, generating warnings)


[SVN r12346]
2002-01-18 15:38:00 +00:00
Dave Abrahams
7b6b7e3087 use byacc instead of bison to relieve dependence on alloca
[SVN r12345]
2002-01-18 13:04:16 +00:00
Dave Abrahams
af4854082b Added better directions about quoting
[SVN r12304]
2002-01-14 03:32:27 +00:00
Dave Abrahams
968370f6c6 Updated quoting documentation
[SVN r12303]
2002-01-14 03:14:59 +00:00
Dave Abrahams
baed11eddb initial checkin
[SVN r12302]
2002-01-13 17:51:31 +00:00
Dave Abrahams
210f83ee8b added tests for sequence, string, and numbers
[SVN r12301]
2002-01-13 17:50:10 +00:00
Dave Abrahams
18b7d9d1a1 added length function
[SVN r12300]
2002-01-13 17:49:05 +00:00
Dave Abrahams
dcdbf78059 optimized increment, decrement
added validity checking
added range, less, log10, and of course, many tests


[SVN r12299]
2002-01-13 17:47:47 +00:00
Toon Knapen
21cc7e9265 added link to precompile Tru64 (bin.osf) jam executable
[SVN r12266]
2002-01-10 11:15:51 +00:00
Ralf W. Grosse-Kunstleve
d28dfd40d8 Modified tru64cxx-tools.jam submitted by Vincenzo Vasta.
[SVN r12260]
2002-01-09 19:46:41 +00:00
Jörg Walter
f6e1a03c17 Set the exec permission
[SVN r12223]
2002-01-06 13:43:38 +00:00
Dave Abrahams
c75cbdd417 stop linking extensions against the python static library; that turns out to be bogus!
[SVN r12205]
2002-01-03 05:18:10 +00:00
Dave Abrahams
5c6b9f75cc get the runtime libs into the LD_LIBRARY_PATH
remove bogus -Bsymbolic linker option


[SVN r12204]
2002-01-03 05:15:10 +00:00
Dave Abrahams
5856aaee9f account for gRUN_LD_LIBRARY_PATH
[SVN r12203]
2002-01-02 20:57:57 +00:00
Dave Abrahams
23235f211d make gRUN_LD_LIBRARY_PATH work
[SVN r12202]
2002-01-02 20:57:14 +00:00
Dave Abrahams
318ed52a7a incorporate fixes from Joerg Walter
[SVN r12200]
2002-01-02 19:01:12 +00:00
Dave Abrahams
a8f0464bb7 bug fix
[SVN r12199]
2002-01-02 18:28:27 +00:00
Dave Abrahams
d43e608361 *** empty log message ***
[SVN r12197]
2002-01-01 19:15:13 +00:00
Dave Abrahams
0704ccfaab dummy
[SVN r12196]
2002-01-01 19:10:45 +00:00
Dave Abrahams
310fbfc5ac minor bug fix
[SVN r12195]
2002-01-01 18:58:05 +00:00
Dave Abrahams
2641f88fdb initial checkin
[SVN r12194]
2002-01-01 18:56:51 +00:00
Dave Abrahams
049cedc76c fixed spelling error by moving to utility.jam
[SVN r12172]
2001-12-29 00:02:57 +00:00
Dave Abrahams
0ece9a7110 initial checkin
[SVN r12171]
2001-12-29 00:02:06 +00:00
Dave Abrahams
39f14ddddc Moved peek/poke to utility.jam
[SVN r12170]
2001-12-29 00:01:53 +00:00
Dave Abrahams
ead5012aee record two-way inheritance links
[SVN r12169]
2001-12-29 00:01:11 +00:00
Vladimir Prus
08ff827840 Copyrights added to the version string.
[SVN r12147]
2001-12-25 08:59:07 +00:00
Dave Abrahams
1bd6d1ef56 fixes
[SVN r12146]
2001-12-24 19:27:39 +00:00
Dave Abrahams
0bfa09b1f6 fixes
[SVN r12140]
2001-12-22 02:01:14 +00:00
Dave Abrahams
57141e2819 fixes
[SVN r12133]
2001-12-20 04:02:40 +00:00
Dave Abrahams
02dfcc8d29 fixes
[SVN r12132]
2001-12-20 03:46:31 +00:00
Dave Abrahams
5111375a84 integrate Rene's variant inheritance and <suppress> hacks
[SVN r12131]
2001-12-19 23:05:07 +00:00
Dave Abrahams
59afe1b4e4 support for <sysinclude>
[SVN r12130]
2001-12-19 23:03:53 +00:00
Dave Abrahams
5efc3ed4d7 integrate Rene's variant inheritance and <suppress> hacks
fix for declaration of SHARED_TYPES


[SVN r12129]
2001-12-19 22:58:18 +00:00
Jens Maurer
77c2f84424 generating timing HTML page from message log
[SVN r12121]
2001-12-18 22:37:28 +00:00
Dave Abrahams
03cf70189f initial checkin
[SVN r12117]
2001-12-18 19:02:49 +00:00
Dave Abrahams
5b3faa9517 Unix extension-modules are .so files!
[SVN r12116]
2001-12-18 17:57:06 +00:00
Dave Abrahams
cf38f721a8 added cxx toolset
[SVN r12101]
2001-12-18 03:36:54 +00:00
Dave Abrahams
bf5644d7d0 bugfixes
[SVN r12091]
2001-12-17 22:23:25 +00:00
Dave Abrahams
ffabba31b2 tools/build/boost-base.jam
* Handle different spellings of the PATH environment variable for Windows

     * Ungristed elements of a target's requirements are now treated as
     rules which transform the target's property set. The rules must have
     the following signature:

        transform-properties ( toolset variant : properties * )

     and should return the new property set.


     * Added target name adjustment feature for Python debugging targets.

tools/build/borland-tools.jam
tools/build/gcc-tools.jam
tools/build/intel-linux.jam
tools/build/metrowerks-tools.jam
tools/build/msvc-tools.jam
tools/build/mingw-tools.jam

     * Adjustments to better support Python targets

tools/build/python.jam

     * Lots of adjustments for building / testing Python targets:
        PYTHON_LAUNCH variable prefixes Python executable name
                 -- can be used to invoke debugger.
        PYTHON_ARGS variable postfixes Python executable name
        CYGWIN_ROOT variable can be used to specify root of cygwin installation


[SVN r12071]
2001-12-16 17:52:31 +00:00
Dave Abrahams
d5c7ce0c8d no message
[SVN r12053]
2001-12-13 18:45:42 +00:00
Dave Abrahams
2c0ab5c1b8 improved error reporting, refactored
[SVN r12052]
2001-12-13 18:39:41 +00:00
Dave Abrahams
55e3ae2fea Suppress output from vcvars invocation
[SVN r12051]
2001-12-13 18:35:31 +00:00
Dave Abrahams
1a073eb0f9 initial checkin
[SVN r12050]
2001-12-13 18:34:57 +00:00
Dave Abrahams
0aa0f23143 fixed backslashes
[SVN r12049]
2001-12-13 18:34:48 +00:00
Dave Abrahams
7be9a7c0ff fixes for cygwin
[SVN r12048]
2001-12-13 18:34:06 +00:00
Dave Abrahams
08a7ccdd02 too many changes to list :(
[SVN r12047]
2001-12-13 18:32:37 +00:00
Dave Abrahams
bc3a910ed0 initial checkin
[SVN r12040]
2001-12-13 18:17:03 +00:00
John Maddock
de946c5cab Updated tlib command so that it will link the regex lib now.
[SVN r11986]
2001-12-09 12:51:33 +00:00
Dave Abrahams
80bab64f67 More fixes for Win95. MAXLINE must be computed appropriately EVERYWHERE!
[SVN r11953]
2001-12-06 14:56:42 +00:00
John Maddock
be4bb25264 Finally fixed -tWX options (well probably!).
[SVN r11951]
2001-12-06 12:37:28 +00:00
Dave Abrahams
8f2de614d2 bug fix
[SVN r11912]
2001-12-04 18:22:56 +00:00
Dave Abrahams
a2e5254f9e Fixes for rule import handling; also extended IMPORT to allow
execution in the target module


[SVN r11911]
2001-12-04 18:22:04 +00:00
Dave Abrahams
621ea94fe1 Fixes for Win95/98 command handling, I hope.
[SVN r11910]
2001-12-04 18:19:24 +00:00
Dave Abrahams
21bc219969 Add "call" to msvc setup invocation, for Win95 which won't run batch files through CMD
[SVN r11909]
2001-12-04 18:15:51 +00:00
Dave Abrahams
160642a7ef Don't fail to build a target if its command-file can't be deleted
[SVN r11908]
2001-12-04 18:14:36 +00:00
Dave Abrahams
e1709accbe Applied patch from Thomas Witt
[SVN r11907]
2001-12-04 14:07:36 +00:00
John Maddock
3f19dfd4b6 Hopefully fixed the -WX options
[SVN r11905]
2001-12-04 12:22:53 +00:00
Dave Abrahams
21dde45bae more fixes for running tests
[SVN r11864]
2001-12-02 23:49:25 +00:00
Dave Abrahams
9f2806f64d Metrowerks needs BOOST_NO_STD_LOCALE in config to be able to compile regex
regex test Jamfile updates so that some tests will actually run
warning suppression for condition.cpp

unit-test rule now accepts input files
updated metrowerks and borland to properly set up path for running tests

----------------------------------------------------------------------
Modified Files:
	boost/config/compiler/metrowerks.hpp
	libs/python/src/gen_function.py libs/regex/test/Jamfile
 Tag: thread-initial
	libs/thread/src/condition.cpp
 No tag
	tools/build/boost-base.jam tools/build/borland-tools.jam
	tools/build/metrowerks-tools.jam
----------------------------------------------------------------------


[SVN r11853]
2001-12-02 17:43:45 +00:00
Dave Abrahams
952a4ae591 Fixed MAXLINE calculation for Win95/98 (I hope)
Added command-file capability for msvc and metrowerks static libraries
Changed MSVC-tools.jam so that it would work without the prior use of VCVARS32.BAT

----------------------------------------------------------------------
Modified Files:
	boost-base.jam metrowerks-tools.jam msvc-tools.jam
	jam_src/execnt.c jam_src/makedebugjam.bat
----------------------------------------------------------------------


[SVN r11852]
2001-12-02 15:41:39 +00:00
Dave Abrahams
e90982893c Added update for intel-linux-tools.jam
[SVN r11820]
2001-11-30 00:12:33 +00:00
Dave Abrahams
662104fce2 Initial checkin
[SVN r11819]
2001-11-29 23:48:46 +00:00
Beman Dawes
58b64351ee Reorganize links to prebuilt executables
[SVN r11800]
2001-11-29 01:29:52 +00:00
Dave Abrahams
7ee7dc74d9 ----------------------------------------------------------------------
committing in tools/build

Modified Files:
	build_system.htm
		Documented:
			local rules
			the RULENAMES rule
			the EXPORT rule
			the BACKTRACE rule
			new IMPORT semantics
			-d+12 Dependency Graph Output
			Crude Argument Binding
			Variable numbers of arguments

	jam_src/compile.c
		implemented RULENAMES, EXPORT, varargs support, new IMPORT semantics
		removed unused variables

	jam_src/make1.c
	jam_src/hdrmacro.c
		removed unused variables

	jam_src/jamgram.{c,h,y,yy}
		"module local x" does not change module local value of x
		if it is already set.

	jam_src/lists.[ch]
		added list_pop_front()

	new/assert.jam new/boost-build.jam
	new/build-system.jam new/errors.jam
	new/modules.jam new/os.path.jam
		beginnings of new build system

	test/check-arguments.jam
	test/check-jam-patches.jam
	test/echo_args.jam
		Added tests for recent core modifications; comments

Added Files:
	new/feature.jam new/property.jam
	new/readme.txt new/sequence.jam
	new/test.jam
		beginnings of new build system
----------------------------------------------------------------------


[SVN r11789]
2001-11-27 16:41:59 +00:00
Dave Abrahams
d775b6904e A change to see if I have CVS write access
[SVN r11779]
2001-11-25 03:29:33 +00:00
Dave Abrahams
5181ca8fe6 A change to see if I have CVS write access
[SVN r11778]
2001-11-25 03:28:44 +00:00
Dave Abrahams
5af58ffabc fixed a unix-only shared library dependency problem
cleaned up an NT-only warning


[SVN r11768]
2001-11-22 05:42:11 +00:00
Dave Abrahams
8e4fea799a tests for local rules and backtraces
[SVN r11761]
2001-11-21 04:48:41 +00:00
Dave Abrahams
0f1220e17e some small progress made
[SVN r11760]
2001-11-21 04:47:44 +00:00
Dave Abrahams
c0c4acd13f Backtrace
Debug file/line numbers
Local rules not implicitly imported
Craig McPheeters' dependency graph output as -d+12
Grammar cleanup
Factored parse evaluation into parse_evaluate()

 Modified Files:
 	compile.c frames.h jam.h jamgram.c jamgram.y jamgram.yy make.c
 	parse.c parse.h rules.c rules.h scan.c scan.h


[SVN r11759]
2001-11-21 04:39:53 +00:00
Dave Abrahams
8adfcfa3ac turn off incremental linking of DLLs, which was a major disaster for dependency tracking.
[SVN r11755]
2001-11-21 03:02:23 +00:00
Dave Abrahams
b7ab92463b Avoid a bug which generated a dependency loop
Improved command-file support


[SVN r11754]
2001-11-21 03:00:21 +00:00
Dave Abrahams
c543f9b1c8 A tiny fix to un-confuse my Jam-mode
[SVN r11753]
2001-11-21 02:17:02 +00:00
Dave Abrahams
d3cc059e54 Fixed YYDEBUG bug fiasco
[SVN r11751]
2001-11-20 22:36:00 +00:00
Dave Abrahams
01ad6a776c * Updated to new handle_exception() idiom for boost::python
* Made Cygwin archiving reliable, even when the user supplies a path with backslashes

----------------------------------------------------------------------

Modified Files:
	tools/build/gcc-tools.jam tools/build/new/boost-build.jam
	boost/python/detail/config.hpp libs/python/build/Jamfile
	libs/python/example/do_it_yourself_convts.cpp
	libs/python/example/dvect.cpp libs/python/example/example1.cpp
	libs/python/example/getting_started1.cpp
	libs/python/example/getting_started2.cpp
	libs/python/example/ivect.cpp libs/python/example/nested.cpp
	libs/python/example/noncopyable_export.cpp
	libs/python/example/noncopyable_import.cpp
	libs/python/example/pickle1.cpp
	libs/python/example/pickle2.cpp
	libs/python/example/pickle3.cpp
	libs/python/example/richcmp1.cpp
	libs/python/example/richcmp2.cpp
	libs/python/example/richcmp3.cpp libs/python/example/rwgk1.cpp
	libs/python/example/simple_vector.cpp
	libs/python/test/comprehensive.cpp
Added Files:
	libs/python/example/rwgk2.cpp libs/python/example/rwgk3.cpp
----------------------------------------------------------------------


[SVN r11705]
2001-11-15 05:29:22 +00:00
Dave Abrahams
39acd29ec7 initial commit
[SVN r11695]
2001-11-14 21:24:42 +00:00
Dave Abrahams
99c7ca7c0b command-file support
[SVN r11693]
2001-11-14 20:37:04 +00:00
Dave Abrahams
fe70207f6d more IMPORT tests
[SVN r11689]
2001-11-14 19:57:52 +00:00
Dave Abrahams
9014a46999 multi-level CALLER_MODULE support
[SVN r11688]
2001-11-14 19:56:50 +00:00
Dave Abrahams
697e332b29 debug runtime, command-file support
[SVN r11687]
2001-11-14 19:55:12 +00:00
Dave Abrahams
971db8d0e0 updated CALLER_MODULE docs
[SVN r11686]
2001-11-14 19:54:30 +00:00
Dave Abrahams
232867f3f3 fixed -t option support
[SVN r11685]
2001-11-14 19:53:48 +00:00
Dave Abrahams
7dc3e6b85f Fix lib dependencies
Command file support


[SVN r11684]
2001-11-14 19:52:59 +00:00
Dave Abrahams
f5580f88b4 fixed missing local variable
[SVN r11666]
2001-11-12 03:56:18 +00:00
Dave Abrahams
1299187ef2 Added missing copyrights
[SVN r11665]
2001-11-11 13:15:45 +00:00
Dave Abrahams
d058d2747a Quoted $(MSVC_TOOL_PATH) and also allowed VISUALC for compatibility with FTJam.
[SVN r11664]
2001-11-11 13:09:27 +00:00
Dave Abrahams
de72f7f465 Added copyright notices
[SVN r11663]
2001-11-11 13:07:51 +00:00
Dave Abrahams
35eeb55747 Added copyright notices
[SVN r11662]
2001-11-11 13:01:26 +00:00
Dave Abrahams
bf4f35b23c updated
[SVN r11661]
2001-11-11 11:56:55 +00:00
Dave Abrahams
8c62a056e4 Fix join-path for unix
[SVN r11659]
2001-11-11 07:08:21 +00:00
Dave Abrahams
2c010f99a5 updated lineage
[SVN r11658]
2001-11-11 05:56:42 +00:00
Dave Abrahams
aaf9d8434b Updated instructions for building/installing Jam.
[SVN r11657]
2001-11-11 05:54:47 +00:00
Dave Abrahams
03bb1e1b55 Be sure that jam doesn't look for a different Jambase due to environment variable settings.
[SVN r11656]
2001-11-11 05:36:42 +00:00
Dave Abrahams
47c679c1c9 Better help for initial toolset settings
[SVN r11655]
2001-11-11 05:06:53 +00:00
Dave Abrahams
c76927be6c Cooperate better with FTJam pleas to set INTELC
[SVN r11654]
2001-11-11 05:04:56 +00:00
Dave Abrahams
1b58070058 Restored sibling-ness of dll & import libs
[SVN r11653]
2001-11-11 04:59:55 +00:00
Dave Abrahams
7561c2e5c5 Modified Files:
index.htm - fixed reference to CVS repository
	libs/python/build/Jamfile - first stab at metrowerks Pro7 support
	status/Jamfile - added RUN_ALL_TESTS variables to force tests to run
	tools/build/boost-build.jam - fix BOOST_BUILD_INSTALLATION setting
	tools/build/metrowerks-tools.jam - command file support
	tools/build/msvc-tools.jam - permanent command file support
	tools/build/intel-win32-tools.jam - made it an extension of msvc-tools.jam
	tools/build/gcc-tools.jam  - made FINDLIBS change submitted by Toon Knapen
	tools/build/jam_src/variable.c - changed command-line/env. variable
					interpretation so that
					surrounding them with quotes causes
					no breaking at spaces.

These files were converted from tabs to spaces:

	boost/python/conversions.hpp
	boost/python/reference.hpp boost/python/detail/base_object.hpp
	boost/python/detail/functions.hpp
	boost/python/detail/wrap_python.hpp libs/python/test/comprehensive.cpp
	tools/build/boost-base.jam
	tools/build/como-tools.jam


[SVN r11652]
2001-11-10 22:16:01 +00:00
Dave Abrahams
47a2341f11 Modified Files:
jam.c strings.c strings.h

Fixed a string bug; added reinforcing tests to detect it.


[SVN r11642]
2001-11-09 14:47:12 +00:00
Dave Abrahams
e723e798fa move to trunk
[SVN r11639]
2001-11-09 13:43:27 +00:00
Vladimir Prus
266afbbc73 Build testing framework added.
[SVN r11638]
2001-11-09 09:07:53 +00:00
Dave Abrahams
a2613ba00b updated instructions
[SVN r11630]
2001-11-08 13:07:23 +00:00
Dave Abrahams
98b260ad1f Integrated Vladimir Prus' improvements
[SVN r11612]
2001-11-06 15:55:45 +00:00
Dave Abrahams
0af83d3a75 merged to main trunk
[SVN r11610]
2001-11-06 15:36:16 +00:00
Dave Abrahams
c4a71a20a6 initial checkin
[SVN r11604]
2001-11-05 21:31:53 +00:00
Beman Dawes
2e839357f9 Minor working clarifications
[SVN r11587]
2001-11-05 15:58:08 +00:00
Dave Abrahams
beaa0419cb Made find-library work under Windows
[SVN r11530]
2001-11-02 05:23:14 +00:00
Jeremy Siek
4e19792f83 changed optimization=speed to +K2
[SVN r11526]
2001-11-02 03:49:46 +00:00
Jeremy Siek
d36a38cde7 brought this closer to being "up to date" compared with the gcc tools file.
[SVN r11524]
2001-11-02 01:50:14 +00:00
Dave Abrahams
bf8dc1727d quick bugfix
[SVN r11491]
2001-10-31 19:19:33 +00:00
Dave Abrahams
fede7624ea Modified Files:
boost/python/detail:
    base_object.hpp - Changed template parameter to MixedCase
    cast.hpp -        Killed off unused downcast_traits<>
    functions.hpp -   Added commentary

  libs/python/src
    functions.cpp, types.cpp -   Added comments

  tools/build
    TODO.txt - updated
    allyourbase.jam -           fixed a nasty typo which caused all kinds of bugs
    boost-base.jam -            changes to support the use of command files
    intel-win32-tools.jam -
         A feeble attempt at allowing intel to work without prior tool setup. More work needed
    msvc-tools.jam -            A first cut at command file support

  tools/build/jam_src
    jam.h -                     Fixed MAXLINE for NT


[SVN r11489]
2001-10-31 19:14:07 +00:00
Dave Abrahams
5294d85751 TODO.txt
Added missing jobs; marked others done.
allyourbase.jam
   Fixed split and split-path for Unix
boost-base.jam
   Fixed the Run action for Windows
gcc-tools.jam intel-win32-tools.jam kcc-tools.jam metrowerks-tools.jam msvc-tools.jam
   Removed UNDEFS from link line, moved NEEDLIBS to end
unit-tests.jam
   Added tests splitpath tests for rooted Unix paths
jam_src/make1.c
   NOCARE targets with build actions now don't cause the parent to fail when they fail.
build_system.htm
   Documented NOCARE enhancements


[SVN r11463]
2001-10-29 18:23:16 +00:00
Dave Abrahams
8ddd8df5d7 ----------------------------------------------------------------------
Modified Files:
 Tag: jam_src
	jam_src/Jambase
            commented out VC libraries that caused link warnings

        jam_src/Jamfile jam_src/common.mk
            added strings.c, filesys.c
            turned off assertions with -DNDEBUG by default

	jam_src/compile.c jam_src/expand.c jam_src/expand.h
	jam_src/filemac.c jam_src/filent.c jam_src/fileos2.c
	jam_src/fileunix.c jam_src/filevms.c
            use strings instead of fixed-size buffers
            added unit tests

	jam_src/hdrmacro.c jam_src/headers.c
            save and re-use precompiled regexp

        jam_src/jam.c
            added unit tests

	jam_src/jambase.c
            rebuilt automatically
        jam_src/mkjambase.c
            remove bogus '\r' from the inside of strings
        jam_src/modules.c
	jam_src/pathmac.c jam_src/pathunix.c jam_src/pathvms.c
	jam_src/search.c jam_src/timestamp.c jam_src/variable.c
            use strings instead of fixed-size buffers
	jam_src/builds/win32-visualc.mk
            Added JAM0_ARGS for debugging
        jam_src/filesys.{c,h}
             Added .c file with factored file_build1()
Added Files:
 Tag: jam_src
	jam_src/strings.c jam_src/strings.h jam_src/filesys.c
----------------------------------------------------------------------


[SVN r11447]
2001-10-26 06:40:49 +00:00
Jens Maurer
96c3b566a7 add -pthread flags for multi-threading
[SVN r11441]
2001-10-25 20:03:28 +00:00
Dave Abrahams
9f2bf0d1ac ----------------------------------------------------------------------
Modified Files:
	allyourbase.jam build_system.htm new-split.jam
 Tag: jam_src
	jam_src/Jambase jam_src/compile.c jam_src/compile.h
	jam_src/headers.c jam_src/jam.c jam_src/jam.h
	jam_src/jambase.c jam_src/jamgram.c jam_src/jamgram.h
	jam_src/jamgram.y jam_src/jamgram.yy jam_src/jamgramtab.h
	jam_src/lists.c jam_src/lists.h jam_src/makedebugjam.bat
	jam_src/modules.c jam_src/modules.h jam_src/newstr.c
	jam_src/newstr.h jam_src/parse.c jam_src/parse.h
	jam_src/rules.c jam_src/rules.h jam_src/search.c
	jam_src/subst.c
 No tag
	test/check-jam-patches.jam
Added Files:
	boost-build.jam
----------------------------------------------------------------------

allyourbase.jam
  Fix the way new-split.jam is included, by using $(JAM_VERSION) to detect the
  presence of new language features.

build_system.htm
  Updated documentation to include core Jam extensions.

jam_src/Jambase
  Updated so that the built-in Jambase can be completely overridden based on
  JAMBASE, BOOST_ROOT, and BOOST_BUILD_PATH environment variables.

jam_src/compile.{c,h}
  Added IMPORT and CALLER_MODULE rules, header legend for profile dump. Moved
  regex_compile so it could be used by more functions.

jam_src/headers.c, jambase.c, jamgram.{c,y,yy}, search.c, subst.c
  Adjusted for the addition of FRAMEs, which was needed for CALLER_MODULE.

jam_src/jam.c
  added JAM_VERSION and started using FRAMEs.

jam_src/jam.h
  swapped the -d argument numbers that were used by profiling and parse debugging.

jam_src/lists.{c,h}
  Pulled stack frames out of LOL and put them where they belong, in the interpreter.

jam_src/modules.{c,h}
  Use strncat instead of strncpy to get predictable behavior.

jam_src/parse.{c,h}, rules.{c,h}
  Adjust for FRAMEs, and added a rulename field in the PARSE node to support
  profiling with modules.

test/check-jam-patches.jam
  Added tests for IMPORT and CALLER_MODULE


[SVN r11427]
2001-10-23 23:10:28 +00:00
Dave Abrahams
debaa0a312 Fixed bogus $(UNDEFS) in the link line
[SVN r11422]
2001-10-23 15:26:24 +00:00
Dave Abrahams
37a5b9115f Deal with the fact that the old jam can't parse the new stuff.
[SVN r11420]
2001-10-23 00:43:20 +00:00
Dave Abrahams
6073526e74 Added temporarily
[SVN r11419]
2001-10-23 00:42:48 +00:00
Dave Abrahams
2fb5f9e406 ----------------------------------------------------------------------
Modified Files:
	Jambase allyourbase.jam
 Tag: jam_src
	jam_src/Jamfile jam_src/command.c jam_src/common.mk
	jam_src/compile.c jam_src/compile.h jam_src/hash.c
	jam_src/hash.h jam_src/jambase.c jam_src/jamgram.c
	jam_src/jamgram.h jam_src/jamgram.y jam_src/jamgram.yy
	jam_src/jamgramtab.h jam_src/lists.c jam_src/lists.h
	jam_src/make1.c jam_src/makedebugjam.bat jam_src/newstr.c
	jam_src/newstr.h jam_src/parse.c jam_src/parse.h
	jam_src/rules.c jam_src/rules.h jam_src/search.c
 No tag
	test/check-arguments.jam test/check-bindrule.jam
	test/check-jam-patches.jam test/recursive.jam
	test/test_nt_line_length.jam
Added Files:
 Tag: jam_src
	jam_src/modules.c jam_src/modules.h
Removed Files:
	Jamfile
----------------------------------------------------------------------

Jambase
   Removed obsolete check-arguments rule

allyourbase.jam
   Added different split rule definition for new Jam executable when
   NEW_BOOST_JAM is set.

Jamfile
    removed (this file was flotsam)

jam_src/Jamfile
    Added module.c; allowed yyacc to run under NT

jam_src/command.c
jam_src/make1.c
    added rule body/action reference-counting

jam_src/common.mk
    Added modules.c

jam_src/compile.c
    account for rule body/action reference-counting
    added "module { ... }, module local..." support
    cleaned up code for evaluate_rule

jam_src/compile.h
jam_src/parse.{c,h}
    Added module support

jam_src/hash.{c,h}
    Added a data parameter to hashenumerate() for flexibility

jam_src/jamgram.{yy,y,c,h}
jam_src/jamgramtab.h
jam_src/lists.{c,h}
    Added module support
    refactored grammar slightly

jam_src/makedebugjam.bat
    removed bogus invocation of yyacc
    cleaned up redundant variable settings

jam_src/modules.{c,h} - added

jam_src/rules.{c,h}
    added rule body/action reference-counting
    module support
    free list for SETTINGS

jam_src/search.c
    cleaned up a confusing name

test/check-arguments.jam
    added copyright notice
    made it stand on its own

test/check-bindrule.jam
test/recursive.jam
    use new argument-list feature

test/check-jam-patches.jam
    tests for:
      new SUBST behavior,
      "for local <var> in ...",
      while loops,
      negative indices/slices
      module rules and locals

test/test_nt_line_length.jam
    commenting and cleanup


[SVN r11411]
2001-10-20 13:01:16 +00:00
Dave Abrahams
95d7a69fa9 regex, threads, and python will all build from the top level. If you build the 'test' target from the top level, it will run all regressions.
Jamfile:
  subincludes for thread, python libs, and status for regression tests

Jamrules:
  Use the new path-global rule to establish BOOST_ROOT correctly for all subprojects

libs/regex/build/Jamfile
  Take advantage of correct BOOST_ROOT setting

libs/python/build/Jamfile
  Search for python executable; don't try to build anything if it can't be found.
  don't build tests by default
  improved comments, organization, and naming.

status/Jamfile
  Fixed references to config test files
  Failed tests now leave their stdout results in <testname>.error instead of removing it
  No test targets are dependencies of 'all' anymore
  Added comments
  Reorganized

tools/build/Jambase
  Meant to check this in long ago.

tools/build/allyourbase.jam
  Fixed SHELL_EXPORT setting, added SHELL_SET
  removed 'test' from the dependencies of 'all'; tests no longer run by default.
  Fixed the direction of slashes for Windows when ALL_LOCATE_TARGET is used.
  Added path-global rule for declaring path variables which may be relative
  rule in-invocation-subdir returns true if the current subproject is the one
     from which Jam was invoked
  rule protect-subdir is now used to protect subproject variables
  rule tokens-to-simple-path converts path tokens to a simplified path.

tools/build/boost-base.jam
  Fixed bugs

tools/build/jam_src/makedebugjam.bat
  Fixed a bug which prevented a final debug build

tools/build/jam_src/search.c
  Fixed a bug of mine which caused LOCATE to be ignored (!).


[SVN r11348]
2001-10-06 18:19:15 +00:00
Dave Abrahams
c64fa867e9 All of my pending changes
[SVN r11328]
2001-10-02 12:24:53 +00:00
Dave Abrahams
80be91c26d Fixed the link setup so it actually works.
[SVN r11239]
2001-09-24 22:23:56 +00:00
Beman Dawes
bd3331db09 Minor docs additions
[SVN r11223]
2001-09-24 15:23:13 +00:00
Beman Dawes
c491d5b93e Initial commit
[SVN r11222]
2001-09-24 15:22:49 +00:00
Dave Abrahams
afd5f6d60c fixed previous mistaken change
[SVN r11112]
2001-09-13 14:10:08 +00:00
Dave Abrahams
735f773be3 fixed optimization flags to include intrinsics
[SVN r11110]
2001-09-13 13:46:01 +00:00
Dave Abrahams
eccaae63bd Made it work again
[SVN r11092]
2001-09-10 22:32:53 +00:00
Dave Abrahams
7c1e626a48 beginnings of a test framework
[SVN r11083]
2001-09-10 02:53:41 +00:00
Dave Abrahams
750aa0a55e beginnings of a test framework
[SVN r11080]
2001-09-10 02:40:57 +00:00
Beman Dawes
07738b8210 Link to ftjam site for pre-built executables
[SVN r10968]
2001-08-30 16:23:25 +00:00
Dave Abrahams
bedb3042fe added warnings, etc.
[SVN r10949]
2001-08-28 18:16:10 +00:00
Dave Abrahams
9f0155ac7b Turned off default -d LEXFLAGS variable
[SVN r10948]
2001-08-28 17:28:58 +00:00
Dave Abrahams
cb467d09ca fixed missing optimizations for release mode!
[SVN r10935]
2001-08-24 22:13:43 +00:00
Dave Abrahams
bb0610a41f initial checkin
[SVN r10934]
2001-08-24 20:56:51 +00:00
Dave Abrahams
7bcb9ad0e8 Fixed GCC_BIN_DIRECTORY so it works.
[SVN r10909]
2001-08-22 22:07:44 +00:00
Dave Abrahams
e33b44304d initial checkin
[SVN r10901]
2001-08-20 10:39:42 +00:00
Dave Abrahams
e4065a4b1b added assertion tests
[SVN r10900]
2001-08-20 10:39:19 +00:00
Dave Abrahams
af9d1a3fe0 *** empty log message ***
[SVN r10899]
2001-08-20 10:36:41 +00:00
Toon Knapen
7ac2bfec81 Added comments describing the compiler (and the platforms) at the request of Beman
[SVN r10898]
2001-08-20 10:30:22 +00:00
Beman Dawes
1c5ab1bca8 Integrate links to Boost.Build into other pages.
[SVN r10893]
2001-08-19 14:31:50 +00:00
Dave Abrahams
e876dcc143 updated for CWPro7 compatibility
Removed -msgstyle gcc for better error reporting


[SVN r10883]
2001-08-17 02:26:53 +00:00
John Maddock
d281eead22 Added support for shared libs on BeOS
[SVN r10875]
2001-08-16 11:42:13 +00:00
Dave Abrahams
a249372cf8 Intermediate step in build system rewrite
Added Files:
 	Jambase ftjam-requests.txt test/Jamfile test/jam-fail.jam
 	test/unit-tests.jam


[SVN r10874]
2001-08-16 11:17:59 +00:00
Toon Knapen
e1fa18892e Jam rules specific to the IBM/Visual Age compiler
[SVN r10851]
2001-08-13 13:15:14 +00:00
Dave Abrahams
b034308dcd Better split-path tests
[SVN r10847]
2001-08-13 02:47:45 +00:00
Dave Abrahams
ba1017c76d Separate unit tests
[SVN r10846]
2001-08-13 02:47:17 +00:00
Dave Abrahams
8360d140d5 *** empty log message ***
[SVN r10845]
2001-08-13 02:46:41 +00:00
Dave Abrahams
03381665ae Make it work on Linux, sort of
[SVN r10822]
2001-08-08 22:45:57 +00:00
Dave Abrahams
80313a83c3 Turn on all warnings always
Go from -O3 to -O4 for speed optimization


[SVN r10821]
2001-08-08 22:43:56 +00:00
Dave Abrahams
9bb542fe4e *** empty log message ***
[SVN r10810]
2001-08-07 21:23:18 +00:00
Dave Abrahams
e5aa9f703b *** empty log message ***
[SVN r10809]
2001-08-07 21:19:17 +00:00
Beman Dawes
c41d47a53b Initial commit
[SVN r10716]
2001-07-29 18:45:47 +00:00
Beman Dawes
5193f7fe90 Spelling corrections
[SVN r10715]
2001-07-29 18:44:03 +00:00
Dave Abrahams
9fa3e467ac build system update
[SVN r10695]
2001-07-23 03:34:37 +00:00
Dave Abrahams
473108f207 Added gSUPPRESS_FAKE_TARGETS check to type-DEPENDS rule
[SVN r10693]
2001-07-22 17:10:18 +00:00
Dave Abrahams
7f4f061ebd Be a little more fastidious about target variables, cleaning them up when not in use so that things don't work "by mistake".
Fixed a missing semicolon bug


[SVN r10692]
2001-07-22 17:09:32 +00:00
Dave Abrahams
9d6562e848 Increase reserved stack size.
[SVN r10691]
2001-07-22 17:07:37 +00:00
Dave Abrahams
74576c7c13 This commit was generated by cvs2svn to compensate for changes in r3058,
which included commits to RCS files with non-trunk default branches.


[SVN r10675]
2001-07-20 16:50:21 +00:00