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

Allow newer C++ standard flags when building an application #115

Open
alexcamposruiz opened this issue May 2, 2024 · 0 comments
Open

Allow newer C++ standard flags when building an application #115

alexcamposruiz opened this issue May 2, 2024 · 0 comments
Assignees
Labels
find-package FindRTIConnextDDS.cmake related issues unconfirmed The issue is not yet confirmed

Comments

@alexcamposruiz
Copy link
Collaborator

Description

The argument LANG of the function connextdds_add_application should allow C++14, C++17, C++20, C++23, etc. It's currently restricted to C++98 or C++11.

While this restriction makes sense in the code generation (connextdds_call_codegen), it should be possible to compile the code with newer C++ standards.

Suggested solutions

Allow for ex:

connextdds_add_application(
   ...
   LANG "C++20"
   ...
)
@alexcamposruiz alexcamposruiz added find-package FindRTIConnextDDS.cmake related issues unconfirmed The issue is not yet confirmed labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
find-package FindRTIConnextDDS.cmake related issues unconfirmed The issue is not yet confirmed
Projects
None yet
Development

No branches or pull requests

2 participants