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 = [
|
|
|
|
]
|
|
|
|
|
2024-01-25 16:33:10 +01:00
|
|
|
prog = env.add_program("#bin/pmlpp", common_win + res_obj, PROGSUFFIX=env["PROGSUFFIX"])
|
2024-01-25 12:49:59 +01:00
|
|
|
|
|
|
|
# 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))
|