Skip to content

Add more error handling to some PCL CMake functions#5344

Merged
mvieth merged 1 commit intoPointCloudLibrary:masterfrom
SunBlack:error_handling_cmake_parse_arguments
Aug 5, 2022
Merged

Add more error handling to some PCL CMake functions#5344
mvieth merged 1 commit intoPointCloudLibrary:masterfrom
SunBlack:error_handling_cmake_parse_arguments

Conversation

@SunBlack
Copy link
Copy Markdown
Contributor

@SunBlack SunBlack commented Jul 22, 2022

  • Add a fatal error in case cmake_parse_arguments contains unparsed arguments
  • Add a fatal error in case a parameter is required but not present

Note: We should generalize the call to ARGS (cmake_parse_arguments(ARGS ...) as it seems there are some copy & paste errors there (should be a separate MR)

@SunBlack SunBlack force-pushed the error_handling_cmake_parse_arguments branch 5 times, most recently from ad8bfe8 to bf86cc2 Compare July 23, 2022 20:18
- Add a fatal error in case cmake_parse_arguments contains unparsed arguments
- Add a fatal error in case a parameter is required but not present
@SunBlack SunBlack force-pushed the error_handling_cmake_parse_arguments branch from bf86cc2 to 4439f96 Compare July 25, 2022 14:54
Copy link
Copy Markdown
Member

@mvieth mvieth 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!

@mvieth mvieth added module: cmake changelog: fix Meta-information for changelog generation labels Aug 5, 2022
@mvieth mvieth merged commit d24a90f into PointCloudLibrary:master Aug 5, 2022
@SunBlack SunBlack deleted the error_handling_cmake_parse_arguments branch August 9, 2022 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: fix Meta-information for changelog generation module: cmake

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants