You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
17 lines
427 B
Python
17 lines
427 B
Python
#!/usr/bin/env python
|
|
from misc.utility.scons_hints import *
|
|
|
|
Import("env")
|
|
|
|
env_apple_embedded = env.Clone()
|
|
|
|
# Enable module support
|
|
env_apple_embedded.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
|
|
|
|
# Use bundled Vulkan headers
|
|
vulkan_dir = "#thirdparty/vulkan"
|
|
env_apple_embedded.Prepend(CPPPATH=[vulkan_dir, vulkan_dir + "/include"])
|
|
|
|
# Driver source files
|
|
env_apple_embedded.add_source_files(env.drivers_sources, "*.mm")
|