We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49d945c commit e445887Copy full SHA for e445887
2 files changed
ci_config.json
@@ -1334,7 +1334,9 @@
1334
"ignore_upstream_meson": "3.2"
1335
},
1336
"range-v3": {
1337
+ "_comment": "c++17 is required when using Visual Studio",
1338
"build_options": [
1339
+ "range-v3:cpp_std:c++17",
1340
"range-v3:tests=enabled"
1341
]
1342
subprojects/packagefiles/range-v3/meson.build
@@ -6,6 +6,14 @@ project(
6
license: 'BSL-1.0 and NCSA and MIT and Stepanov McJones Elements of Programming and SGI STL',
7
)
8
9
+cxx = meson.get_compiler('c++')
10
+if cxx.get_argument_syntax() == 'msvc'
11
+ add_project_arguments(
12
+ '/permissive-',
13
+ language: 'c++',
14
+ )
15
+endif
16
+
17
range_inc = include_directories('include')
18
19
range_dep = declare_dependency(
0 commit comments