mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-22 15:54:45 -08:00
23 lines
553 B
Meson
23 lines
553 B
Meson
project( 'test', 'c', default_options : ['buildtype=debug'] )
|
|
|
|
# add_global_arguments('-E', language : 'cpp')
|
|
|
|
includes = include_directories(
|
|
[
|
|
'../gen',
|
|
'../../singleheader'
|
|
])
|
|
|
|
# get_sources = files('./get_sources.ps1')
|
|
# sources = files(run_command('powershell', get_sources, check: true).stdout().strip().split('\n'))
|
|
|
|
sources = [ 'test.c99.c' ]
|
|
|
|
if get_option('buildtype').startswith('debug')
|
|
|
|
add_project_arguments('-DBuild_Debug', language : ['c' ])
|
|
|
|
endif
|
|
|
|
executable( 'test_c99', sources, include_directories : includes )
|