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

Switch to ament_generate_version_header for tracetools #112

Conversation

christophebedard
Copy link
Member

@christophebedard christophebedard commented Apr 12, 2024

Instead of manually defining a private compile definition.

@christophebedard
Copy link
Member Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Contributor

@christophebedard windows failing https://ci.ros2.org/job/ci_windows/21551/console, can you check it?

@christophebedard
Copy link
Member Author

christophebedard commented Apr 16, 2024

Weird. I think it might be due to the header install() having DIRECTORY ${PROJECT_BINARY_DIR}/include/ but not DIRECTORY include/ and/or due to the generated version.h file being under build/tracetools/ament_generate_version_header/tracetools/tracetools/version.h instead of the usual (e.g., build/tracetools/include/tracetools/config.h).

The private definition for the version didn't exist anyway if TRACETOOLS_DISABLED, which is true on Windows, so we can just skip it.

@christophebedard
Copy link
Member Author

I'll assume that the new change will be acceptable and kick off another round of CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@christophebedard christophebedard merged commit b6f7cd2 into rolling Apr 16, 2024
7 of 9 checks passed
@christophebedard christophebedard deleted the christophebedard/tracetools-use-ament-generate-version-header branch April 16, 2024 06:42
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