Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Raise minimum CMake dependency from 3.12 to 3.15 #1724

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Sep 4, 2023

This bump brings access to the following interesting features (not a comprehensive list):

  • 3.13 Nov 21, 2018

    • -B, -S let you specify source and build directories without the "cd" dance
    • target_link_options()
    • ctest --progress / CTEST_PROGRESS_OUTPUT
  • 3.14 Mar 14, 2019

    • cmake --build now supports -v/--verbose
    • file(CREATE_LINK )
  • 3.15 Jul 17, 2019

    • env CMAKE_GENERATOR can be used instead of -G
    • when using --build, the --target can now list multiple targets (and also can be -t)
    • --install can be used separately without running through the whole build
    • message() now supports NOTICE, VERBOSE, DEBUG and TRACE.
    • CMAKE_FIND_PACKAGE_PREFER_CONFIG variable
    • Enable C++20 for Apple Clang

Make sure all CI cases have a new enough cmake

Use message(VERBOSE ...) feature to simplify lots of if blocks.

Clean up code for older cmake versions

Freshen some of our CI build_.bash scripts.

Note that this will NOT be backported to the current release branch, but it will be part of the upcoming 1.13 family of releases.

This bump brings access to the following interesting features (not a
comprehensive list):

- 3.13  Nov 21, 2018

    - -B, -S let you specify source and build directories without the "cd" dance
    - target_link_options()
    - ctest --progress / CTEST_PROGRESS_OUTPUT

- 3.14  Mar 14, 2019

    - cmake --build now supports -v/--verbose
    - file(CREATE_LINK )

- 3.15  Jul 17, 2019

    - env CMAKE_GENERATOR can be used instead of -G
    - when using --build, the --target can now list multiple targets (and also can be `-t`)
    - --install can be used separately without running through the whole build
    - message() now supports NOTICE, VERBOSE, DEBUG and TRACE.
    - CMAKE_FIND_PACKAGE_PREFER_CONFIG variable
    - Enable C++20 for Apple Clang

Make sure all CI cases have a new enough cmake

Use message(VERBOSE ...) feature to simplify lots of `if` blocks.

Clean up code for older cmake versions

Freshen some of our CI build_<dependency>.bash scripts.

Note that this will NOT be backported to the current release branch,
but it will be part of the upcoming 1.13 family of releases.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz
Copy link
Collaborator Author

lgritz commented Sep 14, 2023

This has sat for a while without any comments. Last chance to object...

@lgritz
Copy link
Collaborator Author

lgritz commented Sep 15, 2023

No objections, so I'm merging this.

@lgritz lgritz merged commit 46250b4 into AcademySoftwareFoundation:main Sep 15, 2023
22 of 23 checks passed
@lgritz lgritz deleted the lg-cmake315 branch September 15, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant