48f85a4323
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.
16 lines
583 B
Python
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'))
|