Skip to content

Ensure each header compiles on its own #20

@springmeyer

Description

@springmeyer

By ensuring each header compiles on its own, we're able to insure we are "including what we use". I noticed that libosium from @joto has nice trick for doing this: https://github.com/osmcode/libosmium/blob/28c676054064c6b75204f0981c21fb3e265c9319/CMakeLists.txt#L386-L421.

We should apply that here to catch instances where we are missing includes (and therefore depending inadvertently on includes including other includes which may not be the same per platform).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions