summaryrefslogtreecommitdiffstats
path: root/test cases/common/79 same basename/meson.build
blob: 856c536c00a973cf329350f578cffc62fffc89f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
project('same basename', 'c')

subdir('sharedsub')
subdir('staticsub')

# Use the same source file to check that each top level target
# has its own unique working directory. If they don't
# then the .o files will clobber each other.

exe1 = executable('name', 'exe1.c', link_with : stlib)
exe2 = executable('name2', 'exe2.c', link_with : shlib)

test('static', exe1)
test('shared', exe2)