pmlpp/platform/windows/SCsub
2024-01-25 16:33:10 +01:00

22 lines
572 B
Python

#!/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/pmlpp", 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))