Explicitly pass -std=gnu++14 to clang when generating bindings

Authored by skelly on Jan 11 2017, 9:03 PM.

Description

Explicitly pass -std=gnu++14 to clang when generating bindings

The generator expression here looks like it should work, but it does not
set the appropriate flags for compilation. It seems that the
CXX_STANDARD property is not yet populated at the time the generator
expression is evaluated (to be investigated later).

This came to light because users of Qt 5.7+ attempted to generate the
bindings, but they encountered errors. The step of using libclang to
parse the provided headers was actually failing, but that was not
noticed, perhaps because the logging infrastructure in sip_generator
does not emit it (to investigate later).

BUG: 374801

Details

Committed
skellyJan 11 2017, 9:07 PM
Parents
R240:1915787b80ed: ecm_add_app_icon : ignore SVG files silently when unsupported
Branches
Unknown
Tags
Unknown