mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-11-13 13:57:19 +01:00
22 lines
572 B
Python
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))
|