RunCMake/project: Ignore exact line number in stderr checks

This commit is contained in:
friendlyanon
2022-11-11 16:12:13 +01:00
parent e159b5b2ae
commit 23f3dd9f7c
7 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
CMake Error at CMP0048-OLD-VERSION.cmake:1 \(project\):
VERSION not allowed unless CMP0048 is set to NEW
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$
CMakeLists.txt:[0-9]+ \(include\)$

View File

@@ -7,4 +7,4 @@
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$
CMakeLists.txt:[0-9]+ \(include\)$

View File

@@ -8,5 +8,5 @@ CMake Warning \(dev\) at CMP0048-WARN.cmake:3 \(project\):
PROJECT_VERSION
MyProject_VERSION_TWEAK
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
CMakeLists.txt:[0-9]+ \(include\)
This warning is for project developers. Use -Wno-dev to suppress it.

View File

@@ -1,4 +1,4 @@
CMake Error at LanguagesTwice.cmake:1 \(project\):
LANGUAGES may be specified at most once.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$
CMakeLists.txt:[0-9]+ \(include\)$

View File

@@ -1,4 +1,4 @@
CMake Error at VersionInvalid.cmake:2 \(project\):
VERSION "NONE" format invalid.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$
CMakeLists.txt:[0-9]+ \(include\)$

View File

@@ -2,4 +2,4 @@ CMake Error at VersionMissingLanguages.cmake:2 \(project\):
project with VERSION, DESCRIPTION or HOMEPAGE_URL must use LANGUAGES before
language names.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$
CMakeLists.txt:[0-9]+ \(include\)$

View File

@@ -1,4 +1,4 @@
CMake Error at VersionTwice.cmake:2 \(project\):
VERSION may be specified at most once.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$
CMakeLists.txt:[0-9]+ \(include\)$