Skip to content

header file generation for QNX#85

Merged
foonathan merged 2 commits intofoonathan:masterfrom
asobhy-qnx:qnx-support
Aug 4, 2020
Merged

header file generation for QNX#85
foonathan merged 2 commits intofoonathan:masterfrom
asobhy-qnx:qnx-support

Conversation

@asobhy-qnx
Copy link
Contributor

@asobhy-qnx asobhy-qnx commented Jul 30, 2020

Fixes #84

This fix allows generation of the header file container_node_sizes_impl.hpp on the native system when cross compiling for QNX since after comparison of the generated file on linux and QNX, I found that they are the same.

If host system is running Windows automatic header generation will not work. I have added in the CMakelist.txt file a check for the host system whether it is Linux or not. Also I added a message in case the developer is building on Windows that provides instructions on how to generate the file and where to put the file after generation so that it gets picked up and used during build.

I still need someone to generate the header file for me on a mac so that I can compare its output as well to see if it will match.

@asobhy-qnx
Copy link
Contributor Author

part of ros2/ros2#988

Copy link
Owner

@foonathan foonathan left a comment

Choose a reason for hiding this comment

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

Thank you for the PR, please fix the indentation and I'll merge.

@foonathan foonathan merged commit a545595 into foonathan:master Aug 4, 2020
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.

cross-compiling for QNX fails due to nodesize_dbg

2 participants