summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-04-03 06:56:30 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2025-04-04 12:46:55 +0300
commita7ea0cd7e4bc0d89d607d5fc0e999a4a6ab5b531 (patch)
tree3909ffaf1dd94a1c80066979901c8ec2cc0215ff
parentff0c758b2a8015f7e7ca6fc627c29ef7bb4771b3 (diff)
downloadmeson-a7ea0cd7e4bc0d89d607d5fc0e999a4a6ab5b531.tar.gz
add test case for cpp_std/cuda_std
This was broken twice, so check that it does not regress. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--test cases/cuda/13 cuda compiler setting/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/cuda/13 cuda compiler setting/meson.build b/test cases/cuda/13 cuda compiler setting/meson.build
index 4f111d1b9..ba560b1e6 100644
--- a/test cases/cuda/13 cuda compiler setting/meson.build
+++ b/test cases/cuda/13 cuda compiler setting/meson.build
@@ -1,4 +1,5 @@
-project('simple', 'cuda', version : '1.0.0')
+project('simple', ['cpp', 'cuda'], version : '1.0.0',
+ default_options: ['cpp_std=c++2a', 'cuda_std=c++17'])
exe = executable('prog', 'prog.cu')
test('cudatest', exe)