parent
2c4c7f6e64
commit
4dd6cb8469
5 changed files with 46 additions and 4 deletions
@ -0,0 +1,8 @@ |
||||
project('cmake-executable-dependency', ['c', 'cpp']) |
||||
|
||||
if not find_program('cmake', required: false).found() |
||||
error('MESON_SKIP_TEST CMake is not installed') |
||||
endif |
||||
|
||||
cmake = import('cmake') |
||||
cmlib = cmake.subproject('cmlib') |
@ -0,0 +1,5 @@ |
||||
cmake_minimum_required(VERSION 3.5) |
||||
|
||||
project(cmlib) |
||||
|
||||
message(FATAL_ERROR "Fancy error message") |
@ -0,0 +1,10 @@ |
||||
{ |
||||
"stdout": [ |
||||
{ |
||||
"line": "test cases/failing/122 cmake subproject error/meson.build:8:0: ERROR: Failed to configure the CMake subproject: Fancy error message" |
||||
} |
||||
], |
||||
"tools": { |
||||
"cmake": ">=3.14" |
||||
} |
||||
} |
Loading…
Reference in new issue