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

16 lines
583 B
Python
Raw Normal View History

2014-03-16 18:17:39 +00:00
from os import environ
2014-01-25 11:26:01 +00:00
2016-12-01 23:46:38 +00:00
VariantDir('build/src', 'src', duplicate=0)
VariantDir('build/lib', 'lib', duplicate=0)
flags = ['-O3', '-march=native', '-std=c++14']
2014-03-16 18:17:39 +00:00
env = Environment(ENV = environ,
2014-03-16 18:17:39 +00:00
CXX = 'clang++',
2014-06-01 15:06:30 +00:00
CPPFLAGS = ['-Wno-unused-value'],
2014-01-25 11:26:01 +00:00
CXXFLAGS = flags,
LINKFLAGS = flags,
CPPPATH = ['#simpleini', '#lib/include', '#src/include'],
2014-05-31 23:37:17 +00:00
LIBS = ['SDL2', 'SDL2_image', 'SDL2_ttf'])
2014-01-25 11:26:01 +00:00
2016-12-01 23:46:38 +00:00
env.Program('laines', Glob('build/*/*.cpp') + Glob('build/*/*/*.cpp'))