Skip to content

Commit 70f37b5

Browse files
committed
modify meson
1 parent d981efb commit 70f37b5

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ project(
3030
],
3131
)
3232

33+
args = cpp.get_supported_arguments(['/bigobj'])
34+
add_project_arguments(args, language: 'cpp')
35+
3336
subdir('src')
3437

3538
install_data(

src/iceberg/test/meson.build

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,6 @@ if get_option('rest').enabled()
9696
}
9797
endif
9898

99-
cpp = meson.get_compiler('cpp')
100-
cpp_bigobj_args = []
101-
if cpp.get_id() == 'msvc'
102-
cpp_bigobj_args += cpp.get_supported_arguments(['/bigobj'])
103-
endif
104-
10599
foreach test_name, values : iceberg_tests
106100
exc = executable(
107101
test_name,
@@ -110,7 +104,6 @@ foreach test_name, values : iceberg_tests
110104
'dependencies',
111105
[],
112106
),
113-
cpp_args: cpp_bigobj_args,
114107
)
115108
test(test_name, exc)
116109
endforeach

0 commit comments

Comments
 (0)