Skip to content

Add conditional library type for RARE based on Oasis target#2

Closed
matthew-mccall wants to merge 1 commit intomainfrom
fix-ci
Closed

Add conditional library type for RARE based on Oasis target#2
matthew-mccall wants to merge 1 commit intomainfrom
fix-ci

Conversation

@matthew-mccall
Copy link
Copy Markdown
Contributor

This pull request updates the logic in the src/CMakeLists.txt build configuration to make the type of the RARE library match the type of the existing Oasis::Oasis target when building on Windows. This ensures consistency in how libraries are built and linked, particularly for Windows environments.

Build system improvements:

  • Updated the src/CMakeLists.txt file to check if the build is on Windows and if the Oasis::Oasis target exists, then sets the RARE library to be either SHARED or STATIC to match the type of Oasis::Oasis. If the type is unknown, it defaults to the standard behavior.

@matthew-mccall matthew-mccall self-assigned this Mar 27, 2026
@matthew-mccall
Copy link
Copy Markdown
Contributor Author

Superseded by #3

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