avro icon indicating copy to clipboard operation
avro copied to clipboard

AVRO-3088: use modern CMake style with config file

Open mitjap opened this issue 3 years ago • 5 comments

I'm proposing some changes to CMake that would also install config file which makes it easier for downstream libraries to use avro as dependency.

Make sure you have checked all steps below.

Jira

  • [x] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"
    • https://issues.apache.org/jira/browse/AVRO-3088
    • In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

  • [ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

  • [ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters (not including Jira issue reference)
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

Documentation

  • [ ] In case of new functionality, my PR adds documentation that describes how to use it.
    • All the public functions and the classes in the PR contain Javadoc that explain what it does

mitjap avatar Mar 22 '21 15:03 mitjap

This PR does two things, it uses more modern CMake with targets and better manages dependencies between targets and add installation of config files. Do you think this shuld be two separate PRs?

mitjap avatar Mar 22 '21 15:03 mitjap

Hey @mitjap !

Are you still interested in getting this finalized?

mkmkme avatar Feb 17 '24 11:02 mkmkme

If I remember correctly this is it. I was waiting for a feedback before removing a draft label.

mitjap avatar Feb 17 '24 16:02 mitjap

Okay, thanks! I'll take a closer look as soon as possible.

If you could rebase it on the top of current main, it would be great.

mkmkme avatar Feb 17 '24 17:02 mkmkme

Also if you could split it into two PRs as you suggested above, it would be much easier to review!

If you don't have time for doing this, let me know and I can do this myself

mkmkme avatar Feb 17 '24 17:02 mkmkme