Mercurial > hg > aimc
diff trunk/SConstruct @ 402:69466da9745e
- Massive refactoring to make module tree stuff work. In theory we now support configuration files again. The graphics stuff is untested as yet.
author | tomwalters |
---|---|
date | Mon, 18 Oct 2010 04:42:28 +0000 |
parents | 7a573750b186 |
children | a338591f4bd4 |
line wrap: on
line diff
--- a/trunk/SConstruct Sun Oct 17 02:42:12 2010 +0000 +++ b/trunk/SConstruct Mon Oct 18 04:42:28 2010 +0000 @@ -38,6 +38,7 @@ 'Support/Parameters.cc', 'Support/Module.cc', 'Support/ModuleFactory.cc', + 'Support/ModuleTree.cc', 'Modules/Input/ModuleFileInput.cc', 'Modules/BMM/ModuleGammatone.cc', 'Modules/BMM/ModulePZFC.cc', @@ -50,26 +51,28 @@ 'Modules/Profile/ModuleScaler.cc', 'Modules/Output/FileOutputHTK.cc', 'Modules/Output/FileOutputAIMC.cc', - 'Modules/Features/ModuleGaussians.cc'] + 'Modules/Features/ModuleGaussians.cc', + 'Modules/Features/ModuleDCT.cc' ] graphics_sources = [ 'Modules/Output/Graphics/GraphAxisSpec.cc', 'Modules/Output/Graphics/GraphicsView.cc', 'Modules/Output/Graphics/GraphicsViewTime.cc', + 'Modules/Output/Graphics/Scale/Scale.cc', 'Modules/Output/Graphics/Devices/GraphicsOutputDevice.cc', 'Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc', - 'Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc', - 'Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovieDirect.cc' ] + 'Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc',] + #'Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovieDirect.cc' ] graphics_libraries = [ 'cairo', - '' ] + ] # List of currently incative source files which we may want to add back in sources_disabled = ['Modules/SNR/ModuleNoise.cc', ] # File which contains main() -sources = common_sources + ['Main/AIMCopy_SSI_Features_v3.cc'] +#sources = common_sources + graphics_sources + ['Main/AIMCopy_SSI_Features_v3.cc'] #sources = common_sources + ['Main/AIMCopy_SSI_Features_v4_PZFC.cc'] -#sources = common_sources + ['Main/AIMCopy_SSI_Features_v5_smooth_nap.cc'] +sources = common_sources + graphics_sources + ['Main/AIMCopy.cc'] #sources = common_sources + ['Main/aimc.cc'] # Test sources @@ -134,7 +137,7 @@ elif compiler == 'gcc': env['STRIP'] = 'strip' env.AppendUnique(CPPFLAGS = ['-Wall']) - env.AppendUnique(CPPFLAGS = ['-O3', '-fomit-frame-pointer']) + env.AppendUnique(CPPFLAGS = ['-O2',])# '-fomit-frame-pointer']) if env['symbols']: env.AppendUnique(CPPFLAGS = ['-g']) if env['mingw']: @@ -170,6 +173,7 @@ # Dependencies deplibs = ['sndfile'] +deplibs += graphics_libraries if target_platform != 'win32': for depname in deplibs: