Skip to content

XL: Drop explicit -+ option when compiling C++ sources

Brad King requested to merge brad.king/cmake:xl-no-explicit-+ into master

This option was added by commit 846b058f. Modern XL versions recognize all typical C++ source extensions so this option should not be needed anymore. We do not add such flags for most other compilers that recognize C++ source extensions, and it unnecessarily makes command lines longer.

This flag also interferes with the nvcc_wrapper script because -+ -x cu is ambiguous.

Cc: @theguruat12

Merge request reports