File: SConstruct

package info (click to toggle)
libtunepimp 0.5.3-7
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,668 kB
  • ctags: 3,470
  • sloc: ansic: 15,652; cpp: 12,752; sh: 11,929; perl: 1,179; python: 720; makefile: 310; pascal: 33
file content (30 lines) | stat: -rw-r--r-- 986 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import os, os.path

env = Environment(ENV = os.environ)
env.Tool('msvc') 
env.Append(CPPPATH = [ '#..',  '#../lib',  '#../include/tunepimp-0.5', '#../lib/threads/win32', '#../plugins/common', '#../../mb_client/include' ])
env.Append(LIBPATH = [ '#', '#../../mb_client/win32' ])
env.Append(CPPDEFINES = [ 'WIN32', 'NDEBUG', 'TAGLIB_DLL' ]) 
env.Append(CCFLAGS = [ '/MT', '/EHsc', '/Ox', '/wd4996' ]) 
env.Append(LINKFLAGS = [ '/NODEFAULTLIB:LIBC' ]) 

Export('env') 

if not os.path.exists('../config.h'): 
    env.Execute(Copy('../config.h', '../config_win32.h')) 

SConscript([
    'SConscript',           
    'mp3/SConscript',           
    'mp4/SConscript',           
    'mpc/SConscript',           
    'vorbis/SConscript',           
    'flac/SConscript',           
    'speex/SConscript',           
    'tta/SConscript',           
    'wav/SConscript',       
    'wma/SConscript',           
    'wv/SConscript',           
    ])