summaryrefslogtreecommitdiffstats
path: root/test cases/unit/107 new subproject on reconfigure/subprojects/foo/meson.build
blob: 2a6e30ad7fb9163c0c174c493ac46d07b40decd0 (plain)
1
2
3
4
5
6
7
8
project('foo', 'c')

# Ensure that builtin options have been initialised.
assert(get_option('default_library') == 'shared')

# This uses default_library option internally and used to cause a crash:
# https://github.com/mesonbuild/meson/issues/10225.
library('foo', 'foo.c')