Skip to content

Can't change tool output extension in a custom toolset #2731

Description

@izarif

Premake version: last bleeding-edge version form github actions (55fc4b2 i think)
OS: Win11
Generator: gmake

Problem: If, in a custom toolset, you change the extension in the gettooloutputext function to something non-standart like .asm, then the objects argument in the gettoolflags function will be an empty string

Code is here (but it's not a reproducible example just a code of a toolset)
https://github.com/izarif/q3lcc-premake/blob/master/q3lcc.lua

Here i changed an extension
https://github.com/izarif/q3lcc-premake/blob/master/q3lcc.lua#L130

Here i got an empty objects string
https://github.com/izarif/q3lcc-premake/blob/master/q3lcc.lua#L141

I am using dev version of premake because in 5.0.0-beta8 version premake does not call gettoolflags function at all

Sorry for my bad English, can someone confirm the bug?

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions