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