Remove ScreenTest; set up compiling libresample using SCons
This commit is contained in:
@@ -178,7 +178,6 @@ Screens = [
|
||||
"ScreenSongOptions.cpp",
|
||||
"ScreenSplash.cpp",
|
||||
"ScreenStage.cpp",
|
||||
"ScreenTest.cpp",
|
||||
"ScreenTestFonts.cpp",
|
||||
"ScreenTestInput.cpp",
|
||||
"ScreenTestLights.cpp",
|
||||
@@ -634,7 +633,8 @@ cryptopp = [
|
||||
|
||||
env = conf.Finish()
|
||||
|
||||
env.Command("libresample/libresample.a", "", "cd src/libresample && ./configure && make")
|
||||
env.Append(CPPFLAGS='-g2')
|
||||
SConscript('libresample/SConscript')
|
||||
env.Program('stepmania',
|
||||
Screens + DataStructures + FileTypes + StepMania + Arch +\
|
||||
ActorsInGameplayAndMenus + ActorsInMenus + ActorsInGameplay + Rage +\
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# This is not binary, damnit! Stupid Eclipse.
|
||||
Library('resample', ['src/hackedresamplesubs.c', 'src/filterkit.c', 'src/resample.c', 'src/resamplesubs.c'], CPPFLAGS="-DNO_AUTOCONF")
|
||||
@@ -14,7 +14,7 @@
|
||||
#ifndef __RESAMPLE_DEFS__
|
||||
#define __RESAMPLE_DEFS__
|
||||
|
||||
#if !defined(WIN32) && !defined(__CYGWIN__)
|
||||
#if !defined(WIN32) && !defined(__CYGWIN__) && !defined(NO_AUTOCONF)
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user