mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Add minimal DLL support.
[SVN r17554]
This commit is contained in:
@@ -21,6 +21,7 @@ type.register BORLAND.TDS : tds ;
|
||||
|
||||
# Declare generators
|
||||
generators.register-composing borland.link : LIB OBJ : EXE BORLAND.TDS : <toolset>borland ;
|
||||
generators.register-composing borland.link : LIB OBJ : SHARED_LIB BORLAND.TDS : <toolset>borland ;
|
||||
generators.register-composing borland.archive : OBJ : STATIC_LIB : <toolset>borland ;
|
||||
|
||||
#Don't support dll for now.
|
||||
@@ -38,6 +39,8 @@ toolset.flags borland.compile OPTIONS <cxxflags> ;
|
||||
toolset.flags borland.compile DEFINES <define> ;
|
||||
toolset.flags borland.compile INCLUDES <include> ;
|
||||
|
||||
toolset.flags borland.link OPTIONS <link>shared : -tWD ;
|
||||
|
||||
actions compile
|
||||
{
|
||||
$(COMPILER_NAME) $(OPTIONS) -q -P -D$(DEFINES) -I$(INCLUDES) -c -o"$(<)" "$(>)"
|
||||
|
||||
@@ -21,6 +21,7 @@ type.register BORLAND.TDS : tds ;
|
||||
|
||||
# Declare generators
|
||||
generators.register-composing borland.link : LIB OBJ : EXE BORLAND.TDS : <toolset>borland ;
|
||||
generators.register-composing borland.link : LIB OBJ : SHARED_LIB BORLAND.TDS : <toolset>borland ;
|
||||
generators.register-composing borland.archive : OBJ : STATIC_LIB : <toolset>borland ;
|
||||
|
||||
#Don't support dll for now.
|
||||
@@ -38,6 +39,8 @@ toolset.flags borland.compile OPTIONS <cxxflags> ;
|
||||
toolset.flags borland.compile DEFINES <define> ;
|
||||
toolset.flags borland.compile INCLUDES <include> ;
|
||||
|
||||
toolset.flags borland.link OPTIONS <link>shared : -tWD ;
|
||||
|
||||
actions compile
|
||||
{
|
||||
$(COMPILER_NAME) $(OPTIONS) -q -P -D$(DEFINES) -I$(INCLUDES) -c -o"$(<)" "$(>)"
|
||||
|
||||
Reference in New Issue
Block a user