2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00
Files
build/test/prebuilt/ext/Jamfile2
Vladimir Prus b775145d8f Darwin improvements.
Patch from Andre Hentz.

 * v2/build/toolset.jam
   (inherit-flags): Take an extra parameter describing properties that
   should not be inherited.

 * v2/build/type.jam
   (register-suffixes): Removed local qualifier.

 * v2/test/BoostBuild.py
   (prepare_suffix_map): Add .dylib if OS is Darwin.
   (Tester::_init_): path to bjam on Darwin.

 * v2/test/prebuilt.py
   make sure $toolset is expanded correctly.

 * v2/test/prebuilt/project-root.jam
   use $toolset instead of gcc.

 * v2/test/prebuilt/ext/project-root.jam
   use $toolset instead of gcc.

 * v2/test/prebuilt/ext/Jamfile2.jam
   handle extension .dylib.

 * v2/test/prebuilt/ext/Jamfile2.jam
   handle extension .dylib.

 * v2/tools/darwin.jam
   inline call to toolset.inherit.
   filter <debug-symbols>off because -s is not accepted for dlls.
   speficy that .dylib files are of type SHARED_LIB.
   (actions link): pass -s for static linkage.
   (actions link.dll): pass -L flag with path to libraries.
   (actions archive): -c inhibits warning.


[SVN r22332]
2004-02-20 08:51:33 +00:00

35 lines
472 B
Plaintext

import modules ;
local dll-suffix = so ;
if [ modules.peek : OS ] in CYGWIN NT
{
if $toolset = gcc
{
dll-suffix = dll ;
}
else
{
dll-suffix = lib ;
}
}
if $toolset = darwin
{
dll-suffix = dylib ;
}
project ext ;
lib a :
: <file>bin/$toolset/debug/a.$(dll-suffix) <variant>debug
:
: <include>debug
;
lib a :
: <file>bin/$toolset/release/a.$(dll-suffix) <variant>release
:
: <include>release
;