Stefan Seefeld
c95f1302bf
Add 'version-suffix' rule.
2018-02-06 21:35:16 -05:00
Steven Watanabe
0d5e76ebf2
Upgrade the scanner to handle whitespace more intelligently
...
* The new scanner is currently disabled and only issues a warning
for tokens that would be lexed differently.
* Special case a few common uses of ':', to limit breakage to
a manageable level.
* Remove the horribly outdated Jambase code inherited from Perforce Jam
* Update all of Boost.Build to work in the presence of the new lexer.
2018-01-31 14:08:36 -07:00
Steven Watanabe
9470cebaf8
Don't duplicate linker flags for clang.
2018-01-31 12:42:04 -07:00
Steven Watanabe
214e083860
Allow named parameters in lib, alias, make, generate, boostbook, and doxygen.
2018-01-30 16:00:12 -07:00
Steven Watanabe
e1ee0777fb
Set the default target os for gcc. Fixes #285 .
2018-01-26 16:11:20 -07:00
Steven Watanabe
22c800894a
Remove unused and out-dated file. clang-win needs more fixes than this to make it work.
2018-01-25 11:57:23 -07:00
Steven Watanabe
b5605d6f4a
Add tests for clang-vxworks and some fixes. Fixes #278 .
...
Squashed commit of the following:
commit a777fc2ed9
Author: Brian Kuhl <brian.kuhl@windriver.com >
Date: Fri Jan 12 00:22:37 2018 -0500
configure VxWorks/Dinkum STL to match <rtti>/<exception-handling>
2018-01-25 10:22:21 -07:00
Steven Watanabe
eae02a51f5
Make the toolset relevent for all test targets to help the regression testing system out.
2018-01-24 08:54:22 -07:00
Steven Watanabe
ca9de064f4
Generalize flags output check. Make it work for intel and vc71.
2018-01-23 09:29:20 -07:00
Steven Watanabe
62595642f0
Don't write the import library to the PDB when <suppress-import-lib>true is present.
2018-01-22 19:05:44 -07:00
Steven Watanabe
e4efe91a84
Fix spurious rebuilds with msvc-14.1. Refs #288 .
2018-01-20 14:30:48 -07:00
Steven Watanabe
358dd78eea
Add a new rule check-has-flag, for detecting supported compiler arguments.
2018-01-17 20:30:38 -07:00
Steven Watanabe
5ad92cd76f
Use os.environ instead of modules.peek to handle paths with spaces.
2018-01-16 17:51:12 -07:00
Steven Watanabe
9f481220c1
Allow named parameters in main target rules. Only implemented for the builtin type-based rules and testing rules.
2018-01-16 15:39:59 -07:00
Steven Watanabe
3f4db07187
Merge remote-tracking branch 'rdoeffinger/zstd' into develop
2018-01-16 12:11:14 -07:00
Steven Watanabe
c4888bee96
Add doc comment for lzma initialization.
2018-01-16 11:39:44 -07:00
Steven Watanabe
eb06ae1183
Merge remote-tracking branches 'rdoeffinger/typo' and 'rdoeffinger/lzma-test' into develop
2018-01-16 09:54:30 -07:00
Steven Watanabe
01d7660ade
Mark all targets produced by the same action as FAIL_EXPECTED. The engine gets really confused for link-fail with msvc/debug otherwise.
2018-01-16 08:08:01 -07:00
Steven Watanabe
0b2643eb41
Only consider features that are directly relevant when merging virtual targets.
2018-01-15 15:37:33 -07:00
Reimar Döffinger
884f5c2b7c
Add zstd.jam file.
...
Just a copy-paste of lzma.jam, except not introducing
the useless is-default option.
Will be used for zstd compression/decompression support
in iostreams (see also trac ticket #13356 ).
2018-01-15 20:10:05 +01:00
Reimar Döffinger
5adf3fb009
Fix typo in comment in lzma.jam
2018-01-15 19:22:11 +01:00
Steven Watanabe
f5b5cace60
linking-generator and archive-generator always consider <link> to be relevant.
2018-01-13 16:25:00 -07:00
Steven Watanabe
5cefb83f5c
Always use a full three digit version for gcc.
2018-01-13 13:39:16 -07:00
Steven Watanabe
02359cb669
Add missed file that is necessary for building Boost.Dll on windows.
2018-01-13 13:36:45 -07:00
Steven Watanabe
ee613a6a28
Implement feature relevance.
...
* New feature <relevant> which is automatically deduced in most cases.
* Features which are not relevant do not affect target paths and
do not prevent merging of virtual targets.
* generators.jam: generator.run always returns usage-requirements
to allow usage-requirements in non-top-level generators. This
is necessary because we're using usage-requirements to track
relevance from flags.
* New rule toolset.uses-features to specify features that the rule
checks manually, instead of using toolset.flags. In the future,
we should consider restricting the properties actually passed,
to detect errors.
* Adjust tests to handle the new paths (verified by inspection).
* Add temporary option --ignore-relevance to consider all features relevant
to aid migration.
* New rule property.evaluate-conditional-relevance which helps tracking
relevance in <conditional>.
* Widely scattered changes to use the new interfaces.
2018-01-13 09:13:49 -07:00
Steven Watanabe
79dd4a7292
The manpage type should not break shared libraries with a version suffix.
2018-01-12 09:56:18 -07:00
Steven Watanabe
05a7419969
Remove an evil hack. The comment explaining why it is necessary appears to be out-dated.
2018-01-11 15:26:28 -07:00
Steven Watanabe
e350366096
Add a Jamfile in the test directory which runs test_all.py. Refs #268 .
...
* python.jam: Allow run-pyd to work with just a python script.
* BoostBuild.py: Adjust paths to work regardless of the current
working directory.
2018-01-09 07:49:59 -07:00
Steven Watanabe
c01182064e
Attempt to fix a couple tests with qcc.
2018-01-08 19:52:41 -07:00
Steven Watanabe
a3caa57af3
Clean up library modules. feature.get-values is nicer than property.select + G=.
2018-01-04 12:37:32 -07:00
Steven Watanabe
a0dbab8c78
Fix handling of implicit-dependency in xsltproc. Previously, <dependency> was necessary because the include scanner was not set up correctly.
2018-01-04 09:22:30 -07:00
Steven Watanabe
12decb3ce6
Rewrite gcc to use toolset.flags again.
2018-01-01 12:51:43 -07:00
Steven Watanabe
61989801ca
Unduplicate options. Allow ranlib and ar to be set, to make mocking easier. Fix condition for setting linker-type.
2017-12-30 10:58:14 -07:00
Steven Watanabe
0c2f6ba03f
Finally kill flavor as a gcc subfeature. Adjust check for cygwin.
2017-12-26 10:51:30 -07:00
Steven Watanabe
df321f5a3a
Fix python tests.
2017-12-19 21:52:08 -07:00
Steven Watanabe
0388086b3f
Limit --remove-test-targets to the targets generated by the test case. This makes it safe to share object files and executables between test cases.
2017-12-18 15:51:49 -07:00
Steven Watanabe
4d58880c20
Move the msvc setup scripts from TEMP into the build directory. They are created as virtual-targets, so --clean-all should work as well. The scripts will also be auto-updated if their timestamps are older than the originals. Refs #257 .
2017-12-16 12:15:45 -07:00
Steven Watanabe
7369dd2631
Use the right setup scripts for several tools. Previously, the first setup script processed would be applied unconditionally, because api was not defined which leaves the condition blank, and later setup scripts would be applied to winapi=phone, because api was not properly localized.
2017-12-14 12:26:24 -07:00
Steven Watanabe
b000980cd3
Make the caching of symlink/hardlink/junction detection more consistent.
2017-12-12 12:18:52 -07:00
Steven Watanabe
6cea15c958
Prevent --dump-tests from executing prematurely in the face of configuration checks and skipping some output.
2017-11-27 11:52:27 -07:00
Steven Watanabe
50f13ef34a
jpeglib.h requires stdio.h to be included first.
2017-11-24 16:31:51 -07:00
Steven Watanabe
4e6e4038c8
Apply cleanup from zlib to png, tiff, and jpeg as well.
2017-11-24 14:39:14 -07:00
Steven Watanabe
5557ee1423
Remove copy/pasted references to zlib.
2017-11-24 14:03:14 -07:00
Dmitry
2bb392f60c
Support for SASS transpilers. ( #258 )
...
Adds sass tool that can be used to convert *.sass and *.scss files
into *.css files.
2017-11-05 10:46:18 -06:00
Rene Rivera
afd66c9eb5
Include incidental features in asciidoc generation.
2017-11-01 13:04:32 -05:00
Rene Rivera
082fb5ef35
Warn about unknown cxxstd-dialect values.
2017-10-29 22:11:26 -05:00
Peter Dimov
d7dd822101
Fix cxxstd-dialect value
2017-10-30 02:42:52 +02:00
Rene Rivera
b062bf5eee
Add default 'iso' value for 'cxxstd-dialect'.
...
Need a real default value instead of just optional for 'cxstd-dialect'
so that it can be use in command line for multi-variant build requests.
2017-10-29 16:36:15 -05:00
Rene Rivera
b98d769a69
Fix cxxstd-variation feature to option.
2017-10-28 21:27:28 -05:00
Rene Rivera
9f51579698
Don't ouput mkdir actions.
...
The mkdir actions can be numerous and don't really add anything to the
output. Build actions are the truly important ones.
2017-10-27 13:36:12 -05:00