Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide information about how the engine was built (compiler, OS, etc.) to the engine #10788

Open
AThousandShips opened this issue Sep 20, 2024 · 0 comments

Comments

@AThousandShips
Copy link
Member

AThousandShips commented Sep 20, 2024

Describe the project you are working on

Bug triage

Describe the problem or limitation you are having in your project

Some times when encountering or triaging buildsystem related issues it can be useful to have specific information about how the engine was compiled, such as the specific compiler and compiler version, or what OS it was built on (if it was cross-compiled or not), all depending on what issue is being tested

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Either adding additional information to the "Copy System Information" or provide a parallel method for this, probably in OS or Engine which would list all the available build related information

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

This would be provided by the buildsystem, either based on configuration or fetched (like compiler version) and stored in a generated file, most of the information, like the OS being compiled on, the compiler being used, and (in most cases) the compiler version, is already available to the buildsystem through SCons and our own scripts, this would collect that information and put it in a file that the engine can then serve up.

Care would be needed to ensure sensitive information isn't leaked in this way into the executable though, like paths to any programs, just something to keep in mind

If this enhancement will not be used often, can it be worked around with a few lines of script?

N/A

Is there a reason why this should be core and not an add-on in the asset library?

This would be part of the buildsystem itself

@AThousandShips AThousandShips changed the title Provide build related information in the built program Provide buildsystem related information in the executable Sep 20, 2024
@AThousandShips AThousandShips changed the title Provide buildsystem related information in the executable Provide information about how the engine was built (compiler, OS, etc.) to the engine Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant