Skip to content

Conversation

@theIDinside
Copy link
Contributor

Make use of PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR. If RR is to be built by a consuming application, PROJECT_SOURCE_DIR points to actual directory where sources are (so, CMAKE_SOURCE_DIR shouldn't really be used afaict).

Additionally, we also need to properly quote paths (used by both PROJECT_SOURCE_DIR and CMAKE_SOURCE_DIR). If there's a directory with spaces in it, rr will not configure or build.

If RR is to be built by a consuming application, PROJECT_SOURCE_DIR
points to actual directory where sources are.

Additionally, we also need to properly quote paths
(used by both PROJECT_SOURCE_DIR and CMAKE_SOURCE_DIR).
If there's a directory with spaces in it, rr builds will break.
@rocallahan rocallahan merged commit 6a9528f into rr-debugger:master Dec 19, 2025
5 checks passed
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.

2 participants