-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathSConstruct
More file actions
50 lines (39 loc) · 1.77 KB
/
SConstruct
File metadata and controls
50 lines (39 loc) · 1.77 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import string
dbg = Environment(CCFLAGS = '-Wall -g', CPPPATH= ["#/lib", "#/src"])
release = Environment( CPPFLAGS = '-Wall')
env = dbg
# env = release
SConscript('src/SConscript', build_dir='build', duplicate=0, exports='env')
SConscript('lib/SConscript', exports='env')
env.Program('tests/MezzoTest',
source = 'tests/MezzoTest.cpp',
LIBS=['audacity', 'expat', 'posh'], LIBPATH=['build', 'lib'])
env.Program('tests/TestManagedFileContext',
source = 'tests/TestManagedFileContext.cpp',
LIBS=['audacity', 'expat', 'posh'],
LIBPATH=['build', 'lib'])
#env.Program('tests/MezzoRecord',
# source = 'tests/MezzoRecord.cpp',
# LIBS=['audacity', 'expat', 'posh', 'portaudio'],
# LIBPATH=['build', 'lib'],
# LINKFLAGS=['-framework','CoreAudio',
# '-framework','AudioUnit',
# '-framework','AudioToolbox'])
#env.Program('tests/MezzoPlay',
# source = 'tests/MezzoPlay.cpp',
# LIBS=['audacity', 'expat', 'posh', 'portaudio'],
# LIBPATH=['build', 'lib'],
# LINKFLAGS=['-framework','CoreAudio',
# '-framework','AudioUnit',
# '-framework','AudioToolbox'])
#env.Program('tests/MezzoCacheDisplay',
# source = 'tests/MezzoCacheDisplay.cpp',
# LIBS=['audacity', 'expat', 'posh', 'portaudio'],
# LIBPATH=['build', 'lib'],
# LINKFLAGS=['-framework','CoreAudio',
# '-framework','AudioUnit',
# '-framework','AudioToolbox'])
#for test in tests:
# testname = "tests/" + test
# env.Program(testname, source = testname + ".cpp",
# LIBS=['audacity', 'expat'], LIBPATH=['build', 'lib'])