Append `-std=c++11` flag to the module in SCsub
Scons doesn't seem to support the `SCONS_CXX_STANDARD` environ variable. Fixes #1
This commit is contained in:
parent
a6bd5df8e2
commit
40841f565f
9
SCsub
9
SCsub
|
@ -1,4 +1,9 @@
|
||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
env.add_source_files(env.modules_sources,"*.cpp")
|
module_env = env.Clone()
|
||||||
env.add_source_files(env.modules_sources,"lib/*.cpp")
|
|
||||||
|
module_env.add_source_files(env.modules_sources,"*.cpp")
|
||||||
|
module_env.add_source_files(env.modules_sources,"lib/*.cpp")
|
||||||
|
|
||||||
|
# FastNoise uses a few C++11 features
|
||||||
|
module_env.Append(CPPFLAGS=["-std=c++11"])
|
||||||
|
|
Loading…
Reference in New Issue