godot_fastnoise/SCsub
Andrii Doroshenko (Xrayez) 40841f565f Append -std=c++11 flag to the module in SCsub
Scons doesn't seem to support the `SCONS_CXX_STANDARD` environ variable.

Fixes #1
2017-08-30 15:05:24 +03:00

10 lines
241 B
Plaintext

Import('env')
module_env = env.Clone()
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"])