CMake/Tests/RunCMake/ExternalData
Brad King c35961b010 ExternalData: Do not re-stage staged object files
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.
2013-05-24 15:45:38 -04:00
..
Directory1
Directory2
Directory3
Directory4 ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
SubDirectory1 ExternalData: Collapse ../ components in DATA{} paths 2013-01-30 14:55:12 -05:00
BadHashAlgo1-result.txt
BadHashAlgo1-stderr.txt
BadHashAlgo1.cmake
BadHashAlgo1.txt
BadOption1-result.txt
BadOption1-stderr.txt
BadOption1.cmake
BadOption2-result.txt
BadOption2-stderr.txt
BadOption2.cmake
BadSeries1-result.txt
BadSeries1-stderr.txt
BadSeries1.cmake
BadSeries2-result.txt
BadSeries2-stderr.txt
BadSeries2.cmake
BadSeries3-result.txt
BadSeries3-stderr.txt
BadSeries3.cmake
CMakeLists.txt
Data.txt.md5
Directory1-result.txt
Directory1-stderr.txt
Directory1.cmake
Directory2-result.txt
Directory2-stderr.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory2.cmake
Directory2.md5
Directory3-result.txt
Directory3-stderr.txt
Directory3.cmake
Directory4-result.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory4-stderr.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory4.cmake ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory5-result.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory5-stderr.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory5.cmake ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
LinkContentMD5-stdout.txt
LinkContentMD5.cmake
LinkContentSHA1-stdout.txt ExternalData: Add support for SHA 1 and 2 hash algorithms 2013-01-30 10:05:07 -05:00
LinkContentSHA1.cmake ExternalData: Add support for SHA 1 and 2 hash algorithms 2013-01-30 10:05:07 -05:00
LinkDirectory1-stdout.txt ExternalData: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
LinkDirectory1.cmake ExternalData: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
MissingData-result.txt
MissingData-stderr.txt
MissingData.cmake
NoLinkInSource-stderr.txt
NoLinkInSource-stdout.txt
NoLinkInSource.cmake
NoURLTemplates-result.txt
NoURLTemplates-stderr.txt
NoURLTemplates.cmake
NormalData1-stdout.txt
NormalData1.cmake
NormalData2-stdout.txt
NormalData2.cmake
NormalData3-stdout.txt
NormalData3.cmake
NormalDataSub1-stdout.txt
NormalDataSub1.cmake
NotUnderRoot-result.txt
NotUnderRoot-stderr.txt
NotUnderRoot.cmake
RunCMakeTest.cmake ExternalData: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
Semicolon1-stdout.txt ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon1.cmake ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon2-stdout.txt ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon2.cmake ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon3-stdout.txt ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon3.cmake ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
SubDirectory1-stdout.txt ExternalData: Collapse ../ components in DATA{} paths 2013-01-30 14:55:12 -05:00
SubDirectory1.cmake