Skip to content

Conversation

@ivmai
Copy link
Member

@ivmai ivmai commented Nov 27, 2025

  • Update autotools for release tarball (am-1.18.1, m4-1.4.20)
  • Prefix BUILD_SHARED_LIBS CMake option with AO_
  • Rename build_tests CMake option to BUILD_TESTING and make it on by default
  • Upgrade macos-13 to macos-15-intel in cmake build (GH Actions)

ivmai added 12 commits November 27, 2025 13:51
* CMakeLists.txt (build_tests): Change default value to ON.
* README_details.txt (USAGE): Do not pass `-Dbuild_tests=ON` to cmake.
`BUILD_TESTING` is the "standard" on-by-default variable provided
by `CTest` module.

* CMakeLists.txt (build_tests): Rename option to `BUILD_TESTING`;
comment out `option()` command for `BUILD_TESTING`.
This is to avoid usage/redefinition of `BUILD_SHARED_LIBS` standard
cmake variable as the project might be included as a subdirectory.

* CMakeLists.txt (BUILD_SHARED_LIBS): Rename option to
`AO_BUILD_SHARED_LIBS`.
* CMakeLists.txt [AO_BUILD_SHARED_LIBS] (atomic_ops): Pass `SHARED` to
`add_library()`.
* CMakeLists.txt [enable_gpl && AO_BUILD_SHARED_LIBS] (atomic_ops_gpl):
Likewise.
* CMakeLists.txt [!AO_BUILD_SHARED_LIBS] (atomic_ops): Pass `STATIC`
to `add_library()`.
* CMakeLists.txt [enable_gpl && !AO_BUILD_SHARED_LIBS]
(atomic_ops_gpl): Likewise.
@ivmai
Copy link
Member Author

ivmai commented Nov 27, 2025

Builds are OK

@ivmai ivmai merged commit d2f4ff4 into bdwgc:master Nov 27, 2025
146 of 147 checks passed
@ivmai ivmai deleted the pr/cmake-build-testing-option branch November 27, 2025 21:13
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.

1 participant