mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 23:29:57 +00:00
c35961b010
The ExternalData_LINK_CONTENT option tells ExternalData to convert real data files it finds into content links and to "stage" the original content in a ".ExternalData_<algo>_<hash>" file. However, after a data object has been staged it is possible that a user-provided pattern in the "REGEX:" option will later match the staged object file. We must not process staged object files even when a user pattern matches them. Fix the implementation to not match a staged object file as a normal data file for conversion. Extend the RunCMake.ExternalData test to cover this case.
6 lines
236 B
Plaintext
6 lines
236 B
Plaintext
-- Linked Dir/ToLink.txt.md5 to ExternalData MD5/c18ff9804c8deec9eaeb17063cda8b7b
|
|
-- Raw data correctly transformed to content link!
|
|
-- Staged content exists!
|
|
-- Staged content is correct!
|
|
-- Staged content was correctly not re-staged!
|