Skip to content

feature request: export version to header #128

@e-kwsm

Description

@e-kwsm

Something like:

// coordgen/CoordgenConfig.hpp
#define COORDGEN_MAJOR 3
#define COORDGEN_MINOR 0
#define COORDGEN_PATCH 2
#define COORDGEN_VERSION "3.0.2"

which enables

#include <iostream>
#include <coordgen/CoordgenConfig.hpp>

int main() {
  std::cout << COORDGEN_VERSION << std::endl;
}

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