1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00
Files
godot/modules/noise/SCsub
Thaddeus Crews 3ac14dfe01 Revert "SCons: Add CPPEXTPATH for external includes"
(cherry picked from commit b17aa3343a)
2025-10-08 02:04:05 +02:00

21 lines
417 B
Python

#!/usr/bin/env python
from misc.utility.scons_hints import *
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")
if env.editor_build:
env_noise.add_source_files(module_obj, "editor/*.cpp")
env.modules_sources += module_obj