27 lines
569 B
Python
27 lines
569 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_aethex_export = env_modules.Clone()
|
|
|
|
# Core module sources
|
|
module_sources = [
|
|
"register_types.cpp",
|
|
"export_config.cpp",
|
|
"export_preset.cpp",
|
|
"platform_exporter.cpp",
|
|
"roblox_exporter.cpp",
|
|
"uefn_exporter.cpp",
|
|
"unity_exporter.cpp",
|
|
"web_exporter.cpp",
|
|
]
|
|
|
|
# Editor sources
|
|
if env.editor_build:
|
|
module_sources += [
|
|
"editor/export_dialog.cpp",
|
|
"editor/platform_settings.cpp",
|
|
]
|
|
|
|
env_aethex_export.add_source_files(env.modules_sources, module_sources)
|