mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-22 15:54:45 -08:00
19 lines
427 B
Meson
19 lines
427 B
Meson
project( 'gencpp_bootstrap', 'c', 'cpp', default_options : ['buildtype=debug'] )
|
|
|
|
includes = include_directories(
|
|
[
|
|
'../project',
|
|
])
|
|
|
|
sources = [ 'gen.bootstrap.cpp' ]
|
|
|
|
if get_option('buildtype').startswith('debug')
|
|
|
|
add_project_arguments('-DBuild_Debug', language : ['c', 'cpp'])
|
|
|
|
endif
|
|
|
|
add_project_arguments('-DGEN_TIME', language : ['c', 'cpp'])
|
|
|
|
executable( 'gencpp_bootstrap', sources, include_directories : includes )
|