Skip to content

store configuration macros in header #21

Open
@etam

Description

@etam

In header files there are macros used like PROFILE_OP_COUNTS or BINARY_OUTPUT. They are defined in CMakeLists.txt and used for building library. But they aren't stored anywhere, so the user of library by default has them undefined.

CMake has direct support for generating such headers: https://cmake.org/cmake/help/v3.13/command/configure_file.html

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