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

198 Commits

Author SHA1 Message Date
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
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
Peter Dimov
c98e283b08 /std:c++ should be lowercase 2017-10-22 01:03:12 +03:00
Rene Rivera
18db5ffe22 Add options for cxxstd feature. 2017-09-12 23:27:26 -05:00
Andrey Semashev
399a50493d Added new x86 target architecture flags.
Adds support for Intel Broadwell, Skylake, Skylake-X/Skylake-SP,
Cannonlake, AMD Excavator, Ryzen.
2017-08-01 11:05:37 -05:00
Rene Rivera
582c46bfec Remove debug print that was causing test failures. 2017-06-28 09:24:10 -05:00
Refael Ackermann
6f63489198 Try to detect VS2017 using vswhere 2017-05-06 12:08:53 -04:00
Rene Rivera
781a3fe111 Add user warnings about VS2017 setup. 2017-04-07 12:29:13 -05:00
Rene Rivera
838c622939 Remove use of VS2017 detection helpers in favor of ENV+path detection. 2017-04-05 16:50:53 -05:00
Rene Rivera
ac854420fb Move vc 14.1 to the front as the default. 2017-03-21 21:35:12 -05:00
Thomas Kent
56c6d1f705 Merge branch 'develop' into use_141 2017-03-20 21:41:21 -05:00
Thomas Kent
4d2dcc7278 Updated all the references to 14.10 and 1410 to 14.1 and 141 2017-03-19 08:26:22 -05:00
Arkadiy Shapkin
00c23580af Check Visual Studio 2017+ version in script
* Fixed `build.bat` stack overflow on some machines by splitting up to several files
* CSharp script simplified and now will check VC++ toolset version
2017-03-19 00:59:40 +08:00
Rene Rivera
ba240cf4ca Avoid vs2017.. The detection has some issues. 2017-03-12 23:54:05 -05:00
Refael Ackermann
b2260a9901 fix #157: detect vs2017 (vc141) and setup environment 2017-03-10 18:48:08 -05:00
Marcel Raad
ae5e63a131 Add support for upcoming Visual Studio "15"
This allows building with Visual Studio "15", expected to be released
in 2017. Tested with Visual Studio "15" Preview 3. The compiler itself is the
same as with Visual Studio 2015 Update 3, but if only Visual Studio "15" is
installed, the compiler could not be found.
2016-07-12 22:01:12 +02:00
Steven Watanabe
72ff0b63ff Fix setup script handling for msvc-7.1.
* global-setup doesn't exist.
* cpu should only be i386.
2016-03-01 10:17:54 -07:00
John Sebastian Peterson
04899e627c Pass /ZW and /EHsc options when building Windows Store applications.
The /ZW option makes Windows Runtime available in the compiled code.
The /EHsc is required for /ZW.
2015-09-10 14:04:44 +03:00
Gavin Lambert
7abee9bcbb Use native amd64 compiler under WOW64 2015-08-11 12:23:35 +12:00
Vladimir Prus
a0cf4ad8ca Don't fail Windows Store initialization with non-default paths.
The previous code would do parts of Windows Store support initialization
using 'default-path', and would fail in all cases where that returns false,
in particular for 12.0_xp version.

This patch moves that code to a different place, where explicit initialization
path is available.
2015-06-03 22:14:40 +03:00
bernhard-b
82d7b648eb Support dlls without import library.
This patch makes <suppress-import-lib> property
take effect as telling Boost.Build that no
import lib will be created.

Actually, I think the name is not good enough.
Also, it appears that NOENTRY is orthogonal to
import lib.
2014-08-25 22:14:11 +04:00
bernhard-b
d65f02071d Use msvc setup script feature with intel compiler. 2014-07-25 09:53:20 +04:00
bernhard-b
705944cc05 Allow to specify a custom manifest file which gets embedded 2014-07-17 21:08:39 +02:00
Steve Gates
a2d6515a66 Use WindowsPhoneCore.lib on Windows Phone 2014-07-16 00:31:34 +04:00
Steve Gates
61ff12a49e Fixing problem preventing building on VS2010 due to locate-default-setup rule being passed an undefined value. 2014-07-11 12:50:58 -07:00
Steve Gates
0ebd41e33e Fixing build break with Visual Studio if phone scripts aren't installed with VS 2012 or 2013. 2014-07-11 01:32:04 -07:00
Steve Gates
a198a6a4a1 Support building for the Windows Runtime.
This merges https://github.com/boostorg/build/pull/14.
2014-07-11 11:49:48 +04:00
Steve Gates
e6854b8363 Addressing feedback from review:
1. Fixing up a bit how the phone setup script location is calculated.
2. Reusing generate-setup-cmd rule in configure-really to avoid duplication and make cleaner.
3. Adding some more comments explaining.
2014-07-10 16:52:24 -07:00
Jürgen Hunold
566c65f1c6 Merge pull request #16 from jivancic/slow_msvc_setup_scripts_2
add support for MSVC setup script rewrite
2014-07-02 09:13:49 +02:00
Juraj Ivančić
164318ffba add support for MSVC setup script rewrite
MSVC setup scripts are very slow, so should not be used in build actions directly.
Rewrite these scripts into their fast equivalents and use those instead.
Add toolset initialization option <rewrite-setup-script> to customize/disable this new behavior.
2014-06-27 10:14:02 +02:00
Steve Gates
eb4a8a6d4f Updating to include support for Windows Phone 8.1. 2014-06-26 18:15:44 -07:00
Marcel Raad
a106dd3798 Add support for MSVC 14 2014-06-11 21:14:03 +02:00
Steve Gates
d8e5c7fa7b Removing use of testing.execute feature until it gets added in separate pull request. 2014-05-28 11:42:48 -07:00
Steve Gates
f3896eb774 Adding a new feature to help support building for the Windows Runtime (Windows store/phone).
1. Adds a new feature <windows-api> for specifying the WINAPI_FAMILY API set to target. Defaults to desktop, which is how builds before my changes.
2. A few small changes for adding ARM support.
3. Changes to call to correct vcvars setup script for Windows Phone 8.
2014-05-27 16:59:59 -07:00
Jurko Gospodnetić
08ff8d5cd9 Minor stylistic line wrapping changes.
[SVN r86566]
2013-11-05 09:34:43 +00:00
Jurko Gospodnetić
91ba93f919 Stylistic change - jam construct like 'if $(var)-is-not-empty' does not actually test whether the $(var) variable is not empty and instead tests whether the variable is defined at all to any value. Specifically, if the variable is defined as an empty string, the test will still pass.
[SVN r86565]
2013-11-05 09:33:37 +00:00
Jurko Gospodnetić
c79b7e6a0c Comment typo corrected.
[SVN r86562]
2013-11-05 08:07:31 +00:00
Jürgen Hunold
acac696eac Fix #8754: Add support for upcoming msvc-12.0
Thanks to Lars Viklund for the patch

[SVN r84983]
2013-07-08 13:12:18 +00:00
Andrey Semashev
9203b0f183 Manifest is now always generated for MSVC 8 and later. This is needed in order to solve problems with Windows UAC requiring elevated priviledges for some tests that have 'patch' in their names.
[SVN r84370]
2013-05-19 10:03:47 +00:00
Andrey Semashev
eef6e6146c By default, when 32 bit x86 build is requested, i686 instruction set is chosen now. i386 instruction set removed since de facto it is not supported by some core libraries (Boost.Atomic and Boost.SmartPtr) and major operating systems. The minimum 32 bit x86 instruction set is i486 now. Also added a few more instruction sets that appeared in recent CPUs.
[SVN r84221]
2013-05-10 12:24:34 +00:00
Steven Watanabe
d478511bbe Add support for architecture=arm. Refs #6741.
[SVN r83489]
2013-03-18 15:50:37 +00:00
Steven Watanabe
955ece1ed6 Clean up problems in my last patch.
[SVN r81499]
2012-11-23 20:00:48 +00:00
Steven Watanabe
ec142bf786 Fix PDB location. Fixes #7491.
[SVN r81498]
2012-11-23 18:56:47 +00:00
Jurko Gospodnetić
7b9e374c83 Boost Build cleanup - minor stylistic changes.
[SVN r80327]
2012-08-31 05:32:49 +00:00
Jurko Gospodnetić
41125133ad Boost Build cleanup - minor stylistic changes & comment typo corrections.
[SVN r79166]
2012-06-29 17:59:49 +00:00
Jurko Gospodnetić
13966e5564 Minor stylistic indentation change.
[SVN r79157]
2012-06-28 13:10:14 +00:00
Vladimir Prus
495bb4732a Add support for MSVC 11.
Patch from Mateusz Łoskot. Fixes #6283.


[SVN r76061]
2011-12-19 11:06:57 +00:00
Beman Dawes
aae0a1bc45 Revert prior change while waiting for better fix.
[SVN r75692]
2011-11-27 15:46:35 +00:00
Beman Dawes
f84317f44e Change deprecated /Op option to its replacement, /fp:precise. This quiets a warning from the Intel compiler, which uses the msvc toolset.
[SVN r75690]
2011-11-27 12:50:00 +00:00