Skip to content

build: SG-42407: Replace autotools with CMake for PCRE2 and atomic_ops#1196

Open
cedrik-fuoco-adsk wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
cedrik-fuoco-adsk:SG-42407-use-cmake-for-atomic-and-pcre2
Open

build: SG-42407: Replace autotools with CMake for PCRE2 and atomic_ops#1196
cedrik-fuoco-adsk wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
cedrik-fuoco-adsk:SG-42407-use-cmake-for-atomic-and-pcre2

Conversation

@cedrik-fuoco-adsk
Copy link
Contributor

SG-42407: Replace autotools with CMake for PCRE2 and atomic_ops

Linked issues

n/a

Summarize your change.

Moved both atomic_ops and PCRE2 to CMake because both dependencies support it.

Describe the reason for the change.

Another step to move out of MSYS2 on windows and streamlined all dependencies.

Describe what you have tested and on which operating system.

MacOS, CI

Add a list of changes, and note any that might need special attention during the review.

If possible, provide screenshots.

@cedrik-fuoco-adsk cedrik-fuoco-adsk force-pushed the SG-42407-use-cmake-for-atomic-and-pcre2 branch from c6bd46b to 775ea10 Compare March 11, 2026 18:22
PCRE2: Switch from autotools to CMake-based ExternalProject_Add.
Update library naming from MinGW format to MSVC format. Handle
PCRE2's internal debug postfix 'd' for Debug builds. Use
RV_ADD_IMPORTED_LIBRARY and RV_STAGE_DEPENDENCY_LIBS macros.

Atomic Ops: Use CMake build on all platforms, removing the
autotools path (sh/autogen.sh, sh/configure, make). Use portable
library naming via CMAKE_STATIC_LIBRARY_PREFIX/SUFFIX.

Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
@cedrik-fuoco-adsk cedrik-fuoco-adsk force-pushed the SG-42407-use-cmake-for-atomic-and-pcre2 branch from 775ea10 to 6adb2ee Compare March 11, 2026 18:23
@cedrik-fuoco-adsk cedrik-fuoco-adsk marked this pull request as ready for review March 11, 2026 18:25
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.

3 participants