Charlie Savage 5ced99dddb [rubygems/rubygems] :Revamp CmakeBuilder to fix the issues described in #8572. Specifically:
* Correctly pass command line arguments to CMake
* Call CMake twice - once to configure a project and a second time to build (which is the standard way to use CMake). This fixes the previously incorrect assumption that CMake generates a Make file.
* Update the tests to specify a CMake minimum version of 3.26 (which is already two years old). 3.26 is a bit arbritary but it aligns with Rice, and updates from the ancient 3.5 version being used (which CMake generates a warning message saying stop using it!)
* Update the CMake call to use CMAKE_RUNTIME_OUTPUT_DIRECTORY and CMAKE_LIBRARY_OUTPUT_DIRECTORY to tell CMake to copy compiled binaries to the a Gem's lib directory.

Note the updated builder took inspiration from the Cargo Builder, meaning you first create an instance of CmakeBuilder versus just calling class methods.

https://github.com/rubygems/rubygems/commit/9e248d4679
2025-10-17 08:24:02 +00:00
..
2025-06-04 12:47:29 +09:00
2025-06-11 05:04:16 +00:00
2025-10-16 12:43:49 +00:00
2025-10-07 01:12:43 +00:00
2025-05-20 18:22:41 +09:00
2025-07-15 12:57:18 +02:00
2025-10-06 19:10:44 +09:00
2025-06-17 09:41:45 +00:00
2025-07-08 06:11:04 +00:00
2025-06-19 01:53:19 +00:00