Skip to content

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

Open
@alexcamposruiz

Description

@alexcamposruiz

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"
   ...
)

Metadata

Metadata

Assignees

Labels

find-packageFindRTIConnextDDS.cmake related issuesunconfirmedThe issue is not yet confirmed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions