summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-11-20 14:12:42 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-11-20 14:13:01 (GMT)
commitb6845a689e379f2cde989dec070dd94855067fcb (patch)
tree295d7d0692b07a2653f349140bfa799067cc9d99 /Tests
parent79811a2d2bb990715a3230b23ed4848109d93269 (diff)
parenta3a85524cd133888288689871e69da76f2267eda (diff)
downloadCMake-b6845a689e379f2cde989dec070dd94855067fcb.zip
CMake-b6845a689e379f2cde989dec070dd94855067fcb.tar.gz
CMake-b6845a689e379f2cde989dec070dd94855067fcb.tar.bz2
Merge topic 'fileapi-file-sets-base-dirs-relative'
a3a85524cd fileapi: Fix file sets' base directories relative to top source Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8977
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_1.json8
-rw-r--r--Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_2.json2
2 files changed, 5 insertions, 5 deletions
diff --git a/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_1.json b/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_1.json
index faf0eaa..0e10b52 100644
--- a/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_1.json
+++ b/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_1.json
@@ -10,25 +10,25 @@
"name": "HEADERS",
"type": "HEADERS",
"visibility": "PUBLIC",
- "baseDirectories": [".*/Tests/RunCMake/FileAPI/fileset$"]
+ "baseDirectories": ["^fileset$"]
},
{
"name": "a",
"type": "HEADERS",
"visibility": "PRIVATE",
- "baseDirectories": [".*/Tests/RunCMake/FileAPI/fileset$"]
+ "baseDirectories": ["^fileset$"]
},
{
"name": "b",
"type": "HEADERS",
"visibility": "PUBLIC",
- "baseDirectories": [".*/Tests/RunCMake/FileAPI/fileset/dir$"]
+ "baseDirectories": ["^fileset/dir$"]
},
{
"name": "c",
"type": "HEADERS",
"visibility": "INTERFACE",
- "baseDirectories": [".*/Tests/RunCMake/FileAPI/fileset$"]
+ "baseDirectories": ["^fileset$"]
}
],
"sources": [
diff --git a/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_2.json b/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_2.json
index b4f2f9d..04fdc36 100644
--- a/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_2.json
+++ b/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_headers_2.json
@@ -10,7 +10,7 @@
"name": "HEADERS",
"type": "HEADERS",
"visibility": "INTERFACE",
- "baseDirectories": [".*/Tests/RunCMake/FileAPI/fileset$"]
+ "baseDirectories": ["^fileset$"]
}
],
"sources": [