mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
16 lines
427 B
Python
16 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")
|