meson.build 461 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
project(
    'ShaderProgramDisassembler',
    ['c', 'cpp'],
    default_options: [
        'c_std=gnu11',
        'cpp_std=c++14',
    ]
)

if get_option('c_std') != 'gnu11'
    error('This project requires c_std to be in gnu11 mode')
endif
if get_option('cpp_std') != 'c++14'
    error('This project requires cpp_std to be in c++14 mode')
endif

17 18
inc = include_directories('include')

19 20
buildkind_opt = get_option('buildkind')

21
subdir('Source')
22
subdir('include')