meson and C++ files as *.cpp
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
d77bfd2366
commit
af02cae0ba
3 changed files with 12 additions and 0 deletions
12
meson.build
Normal file
12
meson.build
Normal file
|
@ -0,0 +1,12 @@
|
|||
project('tmp.c', 'cpp', 'c',
|
||||
version: 'v0.1',
|
||||
license: 'MIT'
|
||||
)
|
||||
|
||||
a = run_command('date', check: true)
|
||||
|
||||
read_exe = executable('read', 'read.c', link_language : 'c',)
|
||||
readpp_exe = executable('read++', 'read++.cpp')
|
||||
|
||||
account_sources = ['account.cpp', 'account.h']
|
||||
account_exe = executable('account', account_sources)
|
Loading…
Add table
Reference in a new issue