2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-12 12:02:24 +00:00

make the use of msvc-specific features in Jamfiles portable

[SVN r29531]
This commit is contained in:
Dave Abrahams
2005-06-11 19:34:13 +00:00
parent 5c36886ca1
commit 4c496ca33c
2 changed files with 5 additions and 3 deletions

View File

@@ -44,6 +44,10 @@ feature inlining : off on full : propagated ;
feature threading : single multi : propagated ;
feature rtti : on off : propagated ;
feature exception-handling : on off : propagated ;
# Whether there is support for asynchronous EH (e.g. catching SEGVs)
feature asynch-exceptions : off on : propagated ;
# Whether all extern "C" functions are considered nothrow by default
feature extern-c-nothrow : off on : propagated ;
feature debug-symbols : on off : propagated ;
feature define : : free ;
feature "include" : : free path ; #order-sensitive ;
@@ -56,6 +60,7 @@ feature version : : free ;
feature.feature location-prefix : : free ;
# The following features are incidental, since
# in themself they have no effect on build products.
# Not making them incidental will result in problems in corner

View File

@@ -247,9 +247,6 @@ flags msvc.compile CFLAGS <inlining>off : /Ob0 ;
flags msvc.compile CFLAGS <inlining>on : /Ob1 ;
flags msvc.compile CFLAGS <inlining>full : /Ob2 ;
feature.feature asynch-exceptions : off on : propagated ;
feature.feature extern-c-nothrow : off on : propagated ;
flags msvc.compile C++FLAGS <exception-handling>on/<asynch-exceptions>off/<extern-c-nothrow>off : /EHs ;
flags msvc.compile C++FLAGS <exception-handling>on/<asynch-exceptions>off/<extern-c-nothrow>on : /EHsc ;
flags msvc.compile C++FLAGS <exception-handling>on/<asynch-exceptions>on/<extern-c-nothrow>off : /EHa ;