diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-11-11 17:14:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-11-11 17:14:22 +0300 |
commit | 483136c8e4d73fafe2b3e0953a6325107558d896 (patch) | |
tree | 478f98ce53b79cb877fe673e0808d8e8bb45ceb5 /SConstruct | |
parent | 5161c2ee3a6de421c47bd5e02bb6be4fe54191dc (diff) |
Adjusted scons files so disabling quicktime, python and sdl also removes their includes when building.
writefile.c had usless include.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/SConstruct b/SConstruct index 968266bd6d1..3fe25ccfa5f 100644 --- a/SConstruct +++ b/SConstruct @@ -517,15 +517,17 @@ else: if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw'): dllsources = ['${LCGDIR}/gettext/lib/gnu_gettext.dll', '${LCGDIR}/png/lib/libpng.dll', - '#release/windows/extra/python25.zip', '#release/windows/extra/zlib.pyd', - '${LCGDIR}/sdl/lib/SDL.dll', '${LCGDIR}/zlib/lib/zlib.dll', '${LCGDIR}/tiff/lib/libtiff.dll'] - if env['BF_DEBUG']: - dllsources.append('${LCGDIR}/python/lib/${BF_PYTHON_LIB}_d.dll') - else: - dllsources.append('${LCGDIR}/python/lib/${BF_PYTHON_LIB}.dll') + if env['WITH_BF_SDL']: + dllsources.append('${LCGDIR}/sdl/lib/SDL.dll') + if env['WITH_BF_PYTHON']: + dllsources.append('#release/windows/extra/python25.zip') + if env['BF_DEBUG']: + dllsources.append('${LCGDIR}/python/lib/${BF_PYTHON_LIB}_d.dll') + else: + dllsources.append('${LCGDIR}/python/lib/${BF_PYTHON_LIB}.dll') if env['OURPLATFORM'] == 'win32-mingw': dllsources += ['${LCGDIR}/pthreads/lib/pthreadGC2.dll'] else: |