meson and C++ files as *.cpp

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2025-02-08 10:16:33 -05:00
parent d77bfd2366
commit af02cae0ba
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
3 changed files with 12 additions and 0 deletions

12
meson.build Normal file
View 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)