2022-03-15 13:29:32 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import("env")
|
|
|
|
|
|
|
|
from platform_methods import run_in_subprocess
|
|
|
|
import platform_osx_builders
|
|
|
|
|
|
|
|
files = [
|
|
|
|
"crash_handler_osx.mm",
|
|
|
|
"os_osx.mm",
|
2022-03-23 20:46:05 +01:00
|
|
|
"pandemonium_main_osx.mm",
|
2022-03-15 13:29:32 +01:00
|
|
|
"dir_access_osx.mm",
|
2022-05-23 14:02:12 +02:00
|
|
|
"tts_osx.mm",
|
2022-03-15 13:29:32 +01:00
|
|
|
"joypad_osx.cpp",
|
|
|
|
"power_osx.cpp",
|
|
|
|
]
|
|
|
|
|
2022-03-23 20:46:05 +01:00
|
|
|
prog = env.add_program("#bin/pandemonium", files)
|
2022-03-15 13:29:32 +01:00
|
|
|
|
|
|
|
if env["debug_symbols"] and env["separate_debug_symbols"]:
|
|
|
|
env.AddPostAction(prog, run_in_subprocess(platform_osx_builders.make_debug_osx))
|