Skip to content

Allow accessing VCS revision for preprocessor macro #784

@awvwgk

Description

@awvwgk

Being able to access the current VCS revision in the manifest and pass it to the project as macro would be useful to identify exactly which revision was build or installed in a version printout

[preprocess.cpp]
macros = [
  "REVISION={revision}",
]

The big draw back of this approach however would be the change in the compiler options after every commit leading to a full rebuild.

Metadata

Metadata

Assignees

No one assigned

    Labels

    specificationIssue regarding fpm manifest and model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions