Skip to content
meson.build 516 B
Newer Older
Mark Meredith's avatar
Mark Meredith committed
project('mfix-parser', 'cpp',
        version : '0.1',
        default_options : ['warning_level=3', 'cpp_std=c++17'])

tao_inc = include_directories('subprojects/PEGTL/include')
catch2_inc = include_directories('subprojects/Catch2/single_include')
Mark Meredith's avatar
Mark Meredith committed
parser_inc = include_directories(
  'src/csg',
  'src/csg/impl',
  'src/inputs')
Mark Meredith's avatar
Mark Meredith committed
subdir('src/csg')
subdir('src/inputs')

executable(
  'mfix-parser',
  'src/main.cpp',
  include_directories: parser_inc,
  link_with: [
    lib_csg_parser,
    lib_inputs_parser,
  ])