Updated sdl2 branch SConstruct defaults to use SDL2=1 and OPENGL=0. The combination SDL2=1 and OPENGL=1 currently does not build. This is also partially just a test of my new SVN permissions while still doing something mildly useful
This commit is contained in:
parent
9cc77b71d9
commit
108cf8494c
|
@ -17,7 +17,7 @@ opts.AddVariables(
|
|||
BoolVariable('DEBUG', 'Build with debugging symbols', 1),
|
||||
BoolVariable('RELEASE', 'Set to 1 to build for release', 0),
|
||||
BoolVariable('FRAMESKIP', 'Enable frameskipping', 1),
|
||||
BoolVariable('OPENGL', 'Enable OpenGL support', 1),
|
||||
BoolVariable('OPENGL', 'Enable OpenGL support (not supported by SDL2 yet)', 0),
|
||||
BoolVariable('LUA', 'Enable Lua support', 1),
|
||||
BoolVariable('GTK', 'Enable GTK2 GUI (SDL only)', 1),
|
||||
BoolVariable('GTK3', 'Enable GTK3 GUI (SDL only)', 0),
|
||||
|
@ -28,7 +28,7 @@ opts.AddVariables(
|
|||
BoolVariable('SYSTEM_MINIZIP', 'Use system minizip instead of static minizip provided with fceux', 0),
|
||||
BoolVariable('LSB_FIRST', 'Least signficant byte first (non-PPC)', 1),
|
||||
BoolVariable('CLANG', 'Compile with llvm-clang instead of gcc', 0),
|
||||
BoolVariable('SDL2', 'Compile using SDL2 instead of SDL 1.2 (experimental/non-functional)', 0)
|
||||
BoolVariable('SDL2', 'Compile using SDL2 instead of SDL 1.2 (experimental/non-functional)', 1)
|
||||
)
|
||||
AddOption('--prefix', dest='prefix', type='string', nargs=1, action='store', metavar='DIR', help='installation prefix')
|
||||
|
||||
|
@ -67,6 +67,7 @@ if os.environ.has_key('PKG_CONFIG_PATH'):
|
|||
if os.environ.has_key('PKG_CONFIG_LIBDIR'):
|
||||
env['ENV']['PKG_CONFIG_LIBDIR'] = os.environ['PKG_CONFIG_LIBDIR']
|
||||
|
||||
|
||||
print "platform: ", env['PLATFORM']
|
||||
|
||||
# compile with clang
|
||||
|
|
Loading…
Reference in New Issue