Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Reproducible Output Dir For Generated Field Images Code #7772

Conversation

mfisher31
Copy link
Contributor

By pre-pending the current build/binary directory to the generated output dir, it ensures the files are still found when allwpilib is used a subproject (cmake or meson). Without doing this, the generated files are not found, do not compile, which ultimately leads to missing symbols when linking libfieldImages.

@mfisher31 mfisher31 requested a review from a team as a code owner February 9, 2025 19:42
.gitignore Show resolved Hide resolved
fieldImages/CMakeLists.txt Outdated Show resolved Hide resolved
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
@mfisher31 mfisher31 requested a review from calcmogul February 9, 2025 22:44
@PeterJohnson PeterJohnson merged commit b2584c6 into wpilibsuite:main Feb 10, 2025
45 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.

3 participants