meson.build 263 B

12345678910111213
  1. # Should run, even though main.cpp does not exist and we call error in the last line.
  2. # subdir_done jumps to end, so both lines are not executed.
  3. project('example exit', 'cpp')
  4. if true
  5. subdir_done()
  6. endif
  7. executable('main', 'main.cpp')
  8. error('Unreachable')