Skip to content

Regression: commit 5b3497937b81e135001ac5cfe9b41cdcefa57531 breaks premake5 package master source #2536

@manxorist

Description

@manxorist

Since commit 5b34979, premake5 package master source does not generate Visual Studio solution files for x64 in the packaged source. Instead of generating projects for Win32/x86 and x64/amd64, it only generated them for Win32.

The offending hunk is 5b34979#diff-305eff9084f83e9096ab2d18b9815c7b52c4d3603363d3d6a27e1c85f466ec45L270, which obviously breaks the intended behaviour of

premake-core/premake5.lua

Lines 166 to 184 in 433e43b

newoption {
trigger = "arch",
value = "arch",
description = "Set the architecture of the binary to be built.",
allowed = {
{ "ARM", "ARM (On macOS, same as ARM64.)" },
{ "ARM64", "ARM64" },
{ "x86", "x86 (On macOS, same as x86_64.)" },
{ "x86_64", "x86_64" },
{ "ppc", "PowerPC 32-bit" },
{ "ppc64", "PowerPC 64-bit" },
{ "Universal", "Universal Binary (macOS only)" },
--
{ "Win32", "Same as x86" },
{ "x64", "Same as x86_64" },
},
-- "Generates default platforms for targets, x86 and x86_64 projects for Windows." }
default = nil,
}
.

@nickclark2016

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions