diff options
Diffstat (limited to 'test cases/prebuilt object/1 basic/meson.build')
-rw-r--r-- | test cases/prebuilt object/1 basic/meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test cases/prebuilt object/1 basic/meson.build b/test cases/prebuilt object/1 basic/meson.build new file mode 100644 index 0000000..5e4fb7e --- /dev/null +++ b/test cases/prebuilt object/1 basic/meson.build @@ -0,0 +1,19 @@ +# This test is on its own because it is special. +# To run the test you need the prebuilt object +# file for the given platform. +# +# Combined with cross compilation this would make +# the state space explode so let's just keep this +# in its own subdir so it's not run during cross +# compilation tests. + +project('prebuilt object', 'c') + +object = 'linux-amd64.o' + +# Remember: do not put source.c in this +# declaration. Only the prebuilt object. +e = executable('prog', 'main.c', +objects : object) + +test('objtest', e) |