Skip to content

'Win32' as an alias of 'x86' #26

Closed
OpenDDS/OpenDDS
#2473

Description

@PazerOP

There are quite a few bits during the setup and management of windows projects where your two options for architectures are Win32 and x64 instead of the more logical x86 and x64.

Is it possible that the arch parameter for this script could be made to also accept Win32 as an alias of x86 (and Win64 as x64 while we're at it)? This change would simplify some github actions scripts I have by a fair amount.

Activity

  1. changed the title [-]Alias of x86[/-] [+]'Win32' as an alias of 'x86'[/+] on Mar 6, 2021
  2. ilammy commented on Mar 7, 2021

    @ilammy
    Owner

    The parameters are meant to mirror MSVC's batch script to be more familiar (and easier to implement), but I see no reason why they must be limited to the values supported by the MSVC's batch script.

    If that makes your life easier, I'd add them. The architecture names are a clusterfuck anyway, I don't see how a couple more would make things worse.

  3. ilammy commented on Mar 7, 2021

    @ilammy
    Owner

    I've just published v1.6.0 (aliased as v1) which should now accept win32 and win64 as aliases for x86 and x64 respectively. Matching is case-insensitive so win32, Win32, WIN32 are all the same.

  4. ilammy commented on Mar 17, 2021

    @ilammy
    Owner

    Since this seems to be working and @PazerOP reacted with “👍”, I guess we're done here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions