cpp
This commit is contained in:
parent
ffe1bd554b
commit
bb45784ae4
2 changed files with 6 additions and 36 deletions
10
meson.build
10
meson.build
|
|
@ -1,9 +1,11 @@
|
|||
project('tutorial', 'c')
|
||||
project('tutorial', 'cpp')
|
||||
|
||||
CC = meson.get_compiler('c')
|
||||
CC = meson.get_compiler('cpp')
|
||||
|
||||
zlib = dependency('zlib', version : '1.2.11', static: true, required: true)
|
||||
|
||||
files = files('src/main.c')
|
||||
target_name = 'compressor'
|
||||
files = files('src/main.cpp')
|
||||
|
||||
executable('compressor', files, dependencies: zlib)
|
||||
|
||||
executable(target_name, files, dependencies: [zlib])
|
||||
Loading…
Add table
Add a link
Reference in a new issue