2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-23 02:16:01 +01:00
waf/playground/freeimage/wscript.fip
2011-09-10 11:13:51 +02:00

20 lines
723 B
Plaintext

# wscript to build FreeImagePlus on Windows with MinGW
# put it in FreeImage directory and run:
# python waf configure build install
top = '.'
out = 'build'
def options(opt):
opt.load('compiler_cxx')
def configure(conf):
conf.load('compiler_cxx')
def build(bld):
bld.stlib(source=bld.path.ant_glob('Wrapper/FreeImagePlus/src/*'),
includes='Wrapper/FreeImagePlus Source', target='FreeImagePlus',
defines='NDEBUG WIN32 _WINDOWS _USRDLL FIP_EXPORTS _CRT_SECURE_NO_DEPRECATE',
use='Dist/FreeImage odbc32 odbccp32')
bld.install_as('Dist/FreeImagePlus.a', 'libFreeImagePlus.a')
bld.install_files('Dist', 'Wrapper/FreeImagePlus/FreeImagePlus.h')