mirror of
https://github.com/godotengine/godot
synced 2024-11-05 16:53:09 +00: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.
17 lines
352 B
Python
17 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
|