pmlpp/platform/windows/SCsub

22 lines
578 B
Plaintext
Raw Normal View History

2024-01-25 12:49:59 +01:00
#!/usr/bin/env python
Import("env")
import os
from platform_methods import run_in_subprocess
import platform_windows_builders
common_win = [
]
prog = env.add_program("#bin/pandemonium", common_win + res_obj, PROGSUFFIX=env["PROGSUFFIX"])
# Microsoft Visual Studio Project Generation
if env["vsproj"]:
for x in common_win:
env.vs_srcs += ["platform/windows/" + str(x)]
if not os.getenv("VCINSTALLDIR"):
if env["debug_symbols"] and env["separate_debug_symbols"]:
env.AddPostAction(prog, run_in_subprocess(platform_windows_builders.make_debug_mingw))