Skip to content

updates#4

Merged
smanders merged 2 commits intoxprofrom
updates
Apr 10, 2026
Merged

updates#4
smanders merged 2 commits intoxprofrom
updates

Conversation

@smanders
Copy link
Copy Markdown
Contributor

use cmake workflow preset <platform>Release (no reason to build Debug)

add conditional message handling to prevent duplicate "Threads found" messages from threads-config.cmake

Updates xpbuild.yml to explicitly specify cmake_workflow_preset_suffix: Release
for all build jobs (linux, macos, windows). This ensures consistent Release
cmake workflow preset across all platforms and matches the configuration used
by other externpro projects like nodeng.

Previously using empty with: {} blocks, now explicitly setting the Release
preset for proper cmake workflow preset configuration.
…essages

Adds COND_OPEN and COND_CLOSE variables to wrap the Threads package
configuration with a conditional check. This prevents duplicate "Found
Threads" messages when the package is included multiple times in the same
build.

The implementation uses a cache variable __xp_threads_found_message_shown to
track whether the message has already been displayed, while still ensuring
Threads_FOUND is set to TRUE for subsequent includes.

This improves build output cleanliness while maintaining proper package
functionality.
@smanders smanders added the release:tag Tag release on merge label Apr 10, 2026
@smanders smanders merged commit 6b58f75 into xpro Apr 10, 2026
22 checks passed
@smanders smanders deleted the updates branch April 10, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:tag Tag release on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant