mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
a5c52c1e38
Doesn't fix the LTO warning about `-Waggressive-loop-optimizations` due to GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922.
18 lines
352 B
Python
18 lines
352 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_noise = env_modules.Clone()
|
|
|
|
thirdparty_dir = "#thirdparty/noise/"
|
|
env_noise.Prepend(CPPPATH=[thirdparty_dir])
|
|
|
|
# Godot source files
|
|
|
|
module_obj = []
|
|
|
|
env_noise.add_source_files(module_obj, "*.cpp")
|
|
env_noise.add_source_files(module_obj, "editor/*.cpp")
|
|
env.modules_sources += module_obj
|