This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
LaiNES/SConstruct
Jeff Katz 48f85a4323 Add saving/loading configuration
LaiNES now can save and load configuration. At the moment, it's the size
of the window, and the key bindings.

Instead of cluttering the gui, I broke the config out to its own file.
Also added "home config directory" support, which is the standard for
*nix I suppose.
2016-12-04 16:19:44 +01:00

16 lines
583 B
Python

from os import environ
VariantDir('build/src', 'src', duplicate=0)
VariantDir('build/lib', 'lib', duplicate=0)
flags = ['-O3', '-march=native', '-std=c++14']
env = Environment(ENV = environ,
CXX = 'clang++',
CPPFLAGS = ['-Wno-unused-value'],
CXXFLAGS = flags,
LINKFLAGS = flags,
CPPPATH = ['#simpleini', '#lib/include', '#src/include'],
LIBS = ['SDL2', 'SDL2_image', 'SDL2_ttf'])
env.Program('laines', Glob('build/*/*.cpp') + Glob('build/*/*/*.cpp'))