mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-19 02:22:10 -05:00
40 lines
539 B
Plaintext
40 lines
539 B
Plaintext
|
|
import os ;
|
|
|
|
local dll-suffix = so ;
|
|
local prefix = "" ;
|
|
if [ os.name ] in CYGWIN NT
|
|
{
|
|
if [ MATCH ^(gcc) : $toolset ]
|
|
{
|
|
dll-suffix = dll ;
|
|
}
|
|
else
|
|
{
|
|
dll-suffix = lib ;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
prefix = "lib" ;
|
|
}
|
|
if [ MATCH ^(clang-)?(darwin) : $toolset ]
|
|
{
|
|
dll-suffix = dylib ;
|
|
}
|
|
|
|
project ext ;
|
|
|
|
lib a :
|
|
: <file>debug/$(prefix)a.$(dll-suffix) <variant>debug
|
|
:
|
|
: <include>debug
|
|
;
|
|
|
|
lib a :
|
|
: <file>release/$(prefix)a.$(dll-suffix) <variant>release
|
|
:
|
|
: <include>release
|
|
;
|
|
|