Conversation
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
scpeters
left a comment
There was a problem hiding this comment.
I've made a few comments
I'd recommend not deprecating the old headers in this pull request to reduce the noise in the diff. If we decide to do that, we can do it at a later time
|
|
||
| sdf_install_includes("" ${headers} | ||
| ${CMAKE_CURRENT_BINARY_DIR}/sdf.hh) | ||
| ign_install_all_headers(EXCLUDE_FILES sdf.hh sdf_config.h) |
There was a problem hiding this comment.
if you exclude these header files, they will not be installed. do they need to be excluded?
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
ahcorde
left a comment
There was a problem hiding this comment.
CI is failing this should fix it
|
I think the CI is failing because it is using an "old" version of ignition-cmake, we need the recent prs which allow to remove the ignition prefix. It's trying to look for |
the Ubuntu CI is using a nightly build of ignition-cmake2; you need to follow @ahcorde's suggestions above to fix the configuration |
| */ | ||
| #include <iostream> | ||
| #include <sdf/sdf.hh> | ||
| #include <ignition/sdformat.hh> |
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
4b07ccb to
d1144d4
Compare
I committed the suggested changes but still getting the same errors. |
my apologies, I forgot that gazebo-tooling/gzdev#44 would be needed |
|
I'll make an ign-cmake2 prerelease when gazebosim/gz-cmake#195 is approved |
|
I've opened an draft pull request in #780 that targets |
|
Should we close this PR, since #780 was merged? |
🎉 New feature
closes #181
Summary
Migrates the build scripts to use macros from
ign-cmakeas much as possible, this is dependent on a number of PRsconfig.hhstill being referenced with ignition prefix in the master header)Caveats
include/ignition/sdf. This shouldn't matter as long as the user is using cmake or pkgconfig to find sdformat.include/ignition/sdf/config.hhinstead ofinclude/sdf/sdf_config.h.include/ignition/sdformat.hhinstead ofinclude/sdf/sdf.hh.ign_create_docsmacro, I'm not sure if they are compatible enough to switch over.Test it
Checklist
codecheckpassed (See contributing)Note to maintainers: Remember to use Squash-Merge