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

4209 Commits

Author SHA1 Message Date
Vladimir Prus
4a8fdb89f8 Add missing import.
[SVN r18904]
2003-07-01 11:58:11 +00:00
Vladimir Prus
950d24ffce Gettext improvements. Allow main target in sources for 'gettext.update'
rule. Improve 'stage' target to help installting gettext files.


[SVN r18903]
2003-07-01 11:48:53 +00:00
Vladimir Prus
03e377c4a1 Add gettext support.
[SVN r18902]
2003-07-01 09:48:16 +00:00
Vladimir Prus
a61389b1c6 Change the core so that both "existing" and "updated" modifiers are both
allowed.


[SVN r18901]
2003-07-01 09:45:56 +00:00
Vladimir Prus
3a68b842ae The "explicit" targets are now specified by "explicit" rule in Jamfile,
not by project attribute. The problem with the previous interface was
that it was not possible to mark target as explicit anywhere else,
such as in helper module which declares target in project module, or
in toolset module.

* new/targets.jam
  (project-target.mark-target-as-explicit): New rule
  (project-target.targets-to-build): Use self.explicit-targets.

* new/project.jam
  (project-attributes.set): Don't allow 'explicit-targets'.


[SVN r18900]
2003-07-01 06:46:15 +00:00
Vladimir Prus
4b6f3babbb Bump Jam version to 3.1.6.
[SVN r18897]
2003-07-01 05:14:46 +00:00
Rene Rivera
5aace113a2 Fixed missing echo command on nont NT systems.
[SVN r18891]
2003-06-30 14:37:00 +00:00
Vladimir Prus
ee237153c7 Update build system for bjam changes.
[SVN r18890]
2003-06-30 14:28:05 +00:00
Vladimir Prus
bd5a03d448 Handle include dependencies between generated sources correctly.
[SVN r18889]
2003-06-30 14:24:20 +00:00
Vladimir Prus
b703a29011 Partial sync with Perforce state. The main purpose was to merge
changesets 2499 and 2614, which change (and improve), handling of includes.


[SVN r18888]
2003-06-30 14:14:50 +00:00
Vladimir Prus
2e532793ae Change handling of generated headers to use the idea of
Matt Armstrong, from jamming mailing list.

* new/search.h
  (search): Add a new parameter 'another_target', which returns
  the name of a target already bound to the same location via LOCATE.

* new/search.c
  (search): Ajust the search algorithm to check for targets bound to searched
  directories.


[SVN r18887]
2003-06-30 14:10:04 +00:00
Vladimir Prus
4bdacfc770 Patch from Kirill Lapshin to improve msvc autoconfiguration.
- use ProgramFiles environmental variable, if set, to handle
  localized Windows installation.
- use VS71COMTTOOLS for detect vc 7.1 installation path.


[SVN r18886]
2003-06-30 12:32:19 +00:00
Rene Rivera
7b360ad933 Support use of unversioned and unrooted initialization of the toolset. In which case an attempt is made to find the intended root from a path search. Additionaly fixed the precense of -L"" when an unrooted initialization happens.
[SVN r18882]
2003-06-27 22:05:03 +00:00
Rene Rivera
7da26b6676 Support doing blank output with print.text. Thanks to Joe Swatosh for the NT echo tip.
[SVN r18881]
2003-06-27 21:04:11 +00:00
Vladimir Prus
c5b48d9e91 Improve doc formatting.
[SVN r18875]
2003-06-27 13:19:52 +00:00
Rene Rivera
933e3c2f03 Workaround for deficient Windows ECHO command which can't output a blank line.
[SVN r18872]
2003-06-26 15:45:48 +00:00
Rene Rivera
5799f5764b Rewrote text output to a file target. This fixes various problems:
- Slow because of the large number of actions and line counting.
- Somewhat kludge behaviour when doing actions outside of the text rule.
- Terse documentation.


[SVN r18870]
2003-06-26 05:30:28 +00:00
Vladimir Prus
c2abccc7de Bugfix: make searched libraries really work on borland.
[SVN r18867]
2003-06-24 12:43:11 +00:00
Vladimir Prus
8f93a26cf1 Bison/Lex improvements: add YY and LL types which are converted into C++.
Add missing 'init' rules.


[SVN r18866]
2003-06-24 12:41:23 +00:00
Vladimir Prus
9ef9295791 Add missing 'init' rule.
[SVN r18865]
2003-06-24 11:53:14 +00:00
Vladimir Prus
787b8d0b53 Kill MinGW warning.
[SVN r18831]
2003-06-18 05:54:21 +00:00
Vladimir Prus
078ac78ff2 Improve warning message.
[SVN r18830]
2003-06-18 05:31:19 +00:00
Vladimir Prus
0636261446 Bump version.
[SVN r18819]
2003-06-17 06:28:07 +00:00
Vladimir Prus
3c713ae3c6 Minor bugfix.
[SVN r18802]
2003-06-16 12:50:55 +00:00
Vladimir Prus
b978576585 STLport works with msvc now.
[SVN r18801]
2003-06-16 12:34:49 +00:00
Vladimir Prus
adf4847d29 Don't error out if msvc is not found: just give a warning. This helps people
which use the same user-config.jam from different machines.


[SVN r18800]
2003-06-16 12:21:49 +00:00
Vladimir Prus
f3f52e36ad Robustify 'print' module a little: print.text works okay even if empty
list of strings is passed.


[SVN r18799]
2003-06-16 12:13:38 +00:00
Rene Rivera
59ac41edd3 Some movement towards the new style of options for the help system.
- boostrap.jam; Modified the parsing of options to accept the syntax that the help system requires.
- doc.jam; Removed the option parsing code.
- doc.jam; Added some rules to set documentation options.
- help.jam; Move in code from doc.jam to parse options.


[SVN r18798]
2003-06-16 07:04:30 +00:00
Rene Rivera
c7dde74b04 Fix bad output when the output target has a location. Now both the body and tail variants shared the same LOCATE. But only if the LOCATE is done before printing.
[SVN r18795]
2003-06-15 18:59:02 +00:00
Vladimir Prus
83394f7ff8 Implement new target-id syntax.
[SVN r18780]
2003-06-11 12:22:03 +00:00
Vladimir Prus
7b975693c5 Explicitly pass source type for msvc.
[SVN r18776]
2003-06-11 11:48:15 +00:00
Vladimir Prus
8eff530bad Explicitly specify source type when compiling, so that there's no need to
specify both name for C++ compiler and for C compiler, when initializing
non-default version.


[SVN r18775]
2003-06-11 10:27:46 +00:00
Vladimir Prus
58f0dbb5cd Compile C files with C compiler, not C++. This commit would close BB32, if
it included MSVC...

* new/toolset.jam:
  Allow action names with dots, so that we can set flags for
   gcc.compile.c, gcc.compile and gcc and combine those flags.

* tools/gcc.jam: Use 'gcc' for compiling C files. There's still a problem:
   'init' rules does not allow to configure name of C compiler. Also, don't
   declare flags individually for gcc.link and gcc.link-dll.

* tools/borland.jam: Force C++ compile when needed.


[SVN r18774]
2003-06-11 08:40:45 +00:00
Rene Rivera
0db192e179 Implement the HTML output type.
[SVN r18772]
2003-06-11 07:09:43 +00:00
Rene Rivera
3121e2a24e Temporary fix to prevent multiple calls into the help system. To be removed when I have time to move code into the help options file.
[SVN r18771]
2003-06-11 07:09:00 +00:00
Rene Rivera
c9559a38a6 Removed commented code.
[SVN r18770]
2003-06-11 05:26:17 +00:00
Vladimir Prus
f8a73bbd50 Allow project-root.jam to act as Jamfile.
* new/project-root.jam (project-root-context.project): New rule
  (find-project-rule): New rule, factored out of 'load' so that it can
  be used elsewhere.

* new/project.jam (find): When project is not yet known, try loading
  project-root, not only Jamfile.


[SVN r18759]
2003-06-10 11:07:56 +00:00
Rene Rivera
c6c6444c20 Improvements to bootstraping and building.
- build.bat; added more possible locations for VC7.
- build.bat; added an alternate for finding bison (gnuwin32.sourceforge.net version).
- build.jam; added an alternate for finding bison (gnuwin32.sourceforge.net version).
- build.jam; removed some obsolete docs from distribution.
- build.jam; fixed path problem when packaging on windows, the debian directory.
- build.jam; added header scanning to create the extra dependencies to make building the grammar work correctly.
- build.jam; fixed building of the grammar to remove attempts at building it spuriously.
- build.jam; fixed building of grammar so that it doesn't delete existing files if the yacc execution fails.
- index.html; minor cleanup of language in some places.
- index.html; removed references to no longer packaged docs.
- *; updated the version to 3.1.5 in various places.
- build.*; tested on windows with vc7, metrowerks, mingw, and borland


[SVN r18703]
2003-06-07 18:44:32 +00:00
Vladimir Prus
bac8766d2e Work-in-progress on better STLport support.
[SVN r18693]
2003-06-06 09:57:57 +00:00
Vladimir Prus
8fba943d71 Move a bunch of modules to "tools" directory. I'm uncertain about some
modules that are still in "new", but they can be moved later.


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

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


[SVN r18689]
2003-06-06 09:02:36 +00:00
Vladimir Prus
5daf202a98 Forgotten change
[SVN r18688]
2003-06-06 06:52:06 +00:00
Vladimir Prus
0d46fcc22c Speedup: call 'normalize-raw-paths' only when we're really going to
load module.


[SVN r18687]
2003-06-06 06:31:25 +00:00
Vladimir Prus
6327d3e7be Don't warn when dependency main target produced nothing.
* new/targets.jam
  (basic-target.check-for-unused-sources): Don't warn when group
  of targets originated from one main target is empty.


[SVN r18686]
2003-06-06 06:29:31 +00:00
Vladimir Prus
22118a1c76 Add support for resource compiler, from Andre Hentz.
[SVN r18676]
2003-06-05 05:51:00 +00:00
Vladimir Prus
2ba0bd04cb Followup. The previous commit somehow was untested. Fixing some bugs now,
and additionally:

* new/targets.jam
  (generate): Create target for a file, when main target is not found.
  (basic-target.generate-sources): Don't create targets for files.


[SVN r18668]
2003-06-04 14:17:54 +00:00
Vladimir Prus
0d2f6b260b Simplify project-id and target-id handling.
* new/project.jam
  (lookup) Don't support project location in front of "@".
  (lookup-with-load): Remove.
  (find): New rule.
  (find-target): move to...

* new/target.jam
  (find): Here. And simplify.


[SVN r18667]
2003-06-04 13:30:45 +00:00
Vladimir Prus
ce2ba6245d Doc system works again.
* kernel/bootstrap.jam: Allow option handler modules to indicate that
  regular build process should be skipped.

* options/help.jam: Return 'true', don't EXIT. Existing prevents header
  scanning, which is the mechanism that makes 'doc' module work.

* new/doc.jam: Import header scanning rule into global module.
  (split-symbol): Handle the case where the are two modules with the same
  name (e.g. V1 stlport.jam and V2 stlport.jam).


[SVN r18663]
2003-06-04 05:55:25 +00:00