Skip to content

Fix CMake prx exports build issue for projects building multiple prx's. - #329

Merged
sharkwouter merged 1 commit into
pspdev:masterfrom
meetpatty:master
Sep 30, 2025
Merged

sharkwouter merged 1 commit into
pspdev:masterfrom
meetpatty:master

Conversation

@meetpatty

@meetpatty meetpatty commented Sep 28, 2025

Copy link
Copy Markdown
Contributor

Currently the generated exports.c is output to CMAKE_BINARY_DIR the top level build directory. This causes build issues in projects with multiple prx's as they end up building against an exports.c generated from another prx module. Use CMAKE_CURRENT_BINARY_DIR instead.

@fjtrujy fjtrujy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fjtrujy

fjtrujy commented Sep 30, 2025

Copy link
Copy Markdown
Member

Please @sharkwouter review and merge it if you agree.

Cheers!

@fjtrujy
fjtrujy requested a review from sharkwouter September 30, 2025 12:04
@sharkwouter
sharkwouter merged commit d46b2b2 into pspdev:master Sep 30, 2025
1 check passed
@sharkwouter

Copy link
Copy Markdown
Member

Good find, thanks for submitting a fix :)

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