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

4866 Commits

Author SHA1 Message Date
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
42cdacb745 Document that project-root can act as Jamfile. Explicitly list predefines
rules in project context.


[SVN r18760]
2003-06-10 11:39:34 +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
Dave Abrahams
250809e90c Fixed a bug in cost computation - paths were failing to account for
their common subset.  Now we count the actual number of
transformations involved in each TargetTypeGroup


[SVN r18702]
2003-06-06 16:19:57 +00:00
Dave Abrahams
736f448240 Allow the search to not consume all sources
[SVN r18701]
2003-06-06 15:39:01 +00:00
Dave Abrahams
ed3c0a698e Only one generator per path from sources to targets.
[SVN r18700]
2003-06-06 15:17:39 +00:00
Dave Abrahams
b777066dc9 Fix a bug in ambiguity detection.
Add a report of subgraphs causing ambiguity at the end.


[SVN r18699]
2003-06-06 14:20:52 +00:00
Vladimir Prus
bc4878cdd8 Update railsys for recent changes.
[SVN r18694]
2003-06-06 10:06:14 +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
Dave Abrahams
4a7f6828e0 initial commit
[SVN r18684]
2003-06-05 22:27:39 +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
Dave Abrahams
dab5ce51e9 Regex bug fix
[SVN r18655]
2003-06-03 18:26:33 +00:00
Dave Abrahams
c3c84ebf7d initial commit
[SVN r18654]
2003-06-03 18:15:33 +00:00
Vladimir Prus
2bfc27ce68 Add missing imports.
[SVN r18612]
2003-05-30 13:57:24 +00:00
Vladimir Prus
ebe8aca43e ".cc" is C++, too.
[SVN r18611]
2003-05-30 13:55:48 +00:00
Vladimir Prus
2659bbc1c0 Tweak docs.
[SVN r18585]
2003-05-28 11:34:31 +00:00
Vladimir Prus
7ffc4fc6d3 Accomodate layout changes.
[SVN r18584]
2003-05-28 11:33:07 +00:00
Vladimir Prus
5a4da8e5d5 Remove 'boost-build.jam' files from 'railsys' test, since they mess up
testing.


[SVN r18583]
2003-05-28 11:32:01 +00:00
Vladimir Prus
b1e6684b13 Strip binaries when no debug symbols are needed.
[SVN r18577]
2003-05-28 07:23:05 +00:00
Vladimir Prus
ce2b257a16 Bugfix from Michael Stevens: when directory names contained regex
metacharacters, Boost.Build misbehaved.

* new/path.jam
  (all-parents): Don't use regex to strip path prefix, use a more robust
    approach.

* test/bad_dirname.py: New test.


[SVN r18576]
2003-05-28 07:11:50 +00:00
Dave Abrahams
377bb87cad Enabled sorting of BBv2 modules into subdirectories
build-system.jam - moved from tools/build/new to tools/build

boost-build.jam - moved from tools/build/new to tools/build/kernel
bootstrap.jam
errors.jam
modules.jam

test/BoostBuild.py   - adjusted for the above modification
test/boost-build.jam

project-root.jam - renamed to "project-roots.jam" to avoid confusion
                   and conflict with the user's project-root.jam file

project.jam                           - adjusted for the above renaming
test/project-test1/project-test1.jam

type.jam - broke a circular module dependency


[SVN r18575]
2003-05-28 01:33:38 +00:00
Dave Abrahams
6bc8613bab Give a little feedback about the current directory when a test fails
[SVN r18571]
2003-05-27 23:59:03 +00:00
Vladimir Prus
bb73dfd63a Bugfix: recognize '.a' as valid extension for libraries, on Cygwin.
Bug reported by Wieger Wesselink.


[SVN r18559]
2003-05-27 14:23:51 +00:00
Vladimir Prus
3fb20369d8 Add infrastructure which allows project-root.jam to fulfil Jamfile
role as well, so that small projects can use only one file.

* new/project.jam
  (load): Load project root at the very start, in case it wants to
     be Jamfile.
  (act-as-jamfile): New rule.
  (module-name): Allow to tweak the name of module associated with a location.


[SVN r18557]
2003-05-27 07:00:32 +00:00
Vladimir Prus
f93a741446 Refactorings.
* new/project.jam
  (load): Prevent loading jamfile twice here, since we have all the
     necessary data.
  (load-jamfile): Don't try to check for duplicate loading (the check
     was a bit clumsy, anywhay). Remove 'loaded-var' parameter.


[SVN r18556]
2003-05-27 06:35:48 +00:00
Vladimir Prus
c1aa2a6273 Update the railsys tests for recent QT changes.
[SVN r18555]
2003-05-27 06:08:09 +00:00
Vladimir Prus
2459873857 Change the QT toolset to use new standalone project feature.
[SVN r18545]
2003-05-26 14:44:24 +00:00
Vladimir Prus
e8463abada Allow 'standalone' projects.
* new/project.jam
  (inherit-attribute): New rule, extracted from 'initialize'.
  (initialize): Allow 'jamfile' parameter to be empty, in which case
    the project is 'standalone'.


[SVN r18544]
2003-05-26 14:30:26 +00:00
Vladimir Prus
13c385b491 Refactorings. Use module name to identify Jamfiles, not the directory where
they are located. The problem with using the directory name is that we might
want toolset modules to act as project, and directory name is not unique then.
We might even want to declare two projects in the same module.


[SVN r18542]
2003-05-26 13:51:21 +00:00
Vladimir Prus
88370d5a63 Refactorings: remove 'project-root' attribute of project, for lack of any
use.

* new/project.jam
  (initialize): Register with project root here. Don't initialize the
   'project-root' attribute.
  (project-attributes.set): Don't allow 'project-root' and 'project-root-module'.


[SVN r18541]
2003-05-26 12:56:24 +00:00
Vladimir Prus
1d0317cd2e Introduce 'profile' variant.
[SVN r18509]
2003-05-23 11:36:27 +00:00
Vladimir Prus
5dc40cd49a Bugfix.
* new/stage.jam
  (stage-target-class.construct): Pass the result via
  'virtual-target.register'. I wonder if virtual targets should
   be create via 'virtual-target.create' which will invoke
  'virtual-target.register' internally. Passing via 'register' was forgotten
   in many places.

* test/stage.py: New test.


[SVN r18497]
2003-05-22 13:23:40 +00:00
Vladimir Prus
c052b1ad2b Add/clarify comments.
[SVN r18496]
2003-05-22 11:50:10 +00:00