mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Extend commit c37e279014 (Tests/CompileFeatures: Cover c_std_## and
cxx_std_## meta-features, 2024-04-02, v3.30.0-rc1~279^2~1) to cover the
per-language standard level target properties.
8 lines
221 B
Plaintext
8 lines
221 B
Plaintext
#include "cxx_std.h"
|
|
#if defined(CXX_STD) && CXX_STD > CXX_STD_14
|
|
# error "CUDA_STANDARD 14 honored as higher standard"
|
|
#endif
|
|
#if defined(CXX_STD) && CXX_STD <= CXX_STD_11
|
|
# error "CUDA_STANDARD 14 not honored"
|
|
#endif
|