scons: Get working on Windows with MSVC

This commit is contained in:
2015-09-13 00:15:28 -04:00
parent 09b117776a
commit 853c270146
7 changed files with 116 additions and 54 deletions

View File

@@ -30,10 +30,11 @@ if str(platform) == "darwin":
boe.appleevents.mm
boe.menus.mac.mm
"""))
elif str(platform) == "windows":
elif str(platform) == "win32":
game_sources.extend(Split("""
boe.menus.win.cpp
"""))
game_sources.append(env.RES('#build/obj/BladesOfExile.res', '#rsrc/menus/BladesOfExile.rc'))
boe = env.Program("#build/bin/Blades of Exile", common_sources + party_classes + game_sources)
@@ -44,7 +45,7 @@ if str(platform) == "darwin":
'creator': 'blx!',
'icons': 'BoE boegraphics boeresources boesave boesounds',
}
elif str(platform) == "windows":
pass
elif str(platform) == "win32":
boe_info = {}
env.Package(boe, install_dir, boe_info)