Initial improvements to 'rebuild' command and '-rebuild' flag, walking through actual project dependencies

This commit is contained in:
Joshua Granick
2014-11-19 14:42:34 -08:00
parent 534a1f8c1e
commit b46c781b4c
7 changed files with 71 additions and 17 deletions

View File

@@ -200,13 +200,13 @@ class MacPlatform extends PlatformTarget {
var commands = [];
if (!targetFlags.exists ("64")) {
if (!targetFlags.exists ("64") && (command == "rebuild" || PlatformHelper.hostArchitecture == Architecture.X64)) {
commands.push ([ "-Dmac", "-DHXCPP_M64" ]);
}
if (!targetFlags.exists ("32")) {
if (!targetFlags.exists ("32") && (command == "rebuild" || PlatformHelper.hostArchitecture == Architecture.X86)) {
commands.push ([ "-Dmac" ]);