Lines Matching full:sourcefile
90 function(ParseAndAddCatchTests_ParseFile SourceFile TestTarget)
91 …# If SourceFile is an object library, do not scan it (as it is not a file). Exit without giving a …
92 if(SourceFile MATCHES "\\\$<TARGET_OBJECTS:.+>")
93 …ParseAndAddCatchTests_PrintDebugMessage("Detected OBJECT library: ${SourceFile} this will not be s…
97 get_filename_component(SourceFile ${SourceFile} ABSOLUTE)
98 if(NOT EXISTS ${SourceFile})
99 message(WARNING "Cannot find source file: ${SourceFile}")
102 ParseAndAddCatchTests_PrintDebugMessage("parsing ${SourceFile}")
103 file(STRINGS ${SourceFile} Contents NEWLINE_CONSUME)
112 …ParseAndAddCatchTests_PrintDebugMessage("Adding ${SourceFile} to CMAKE_CONFIGURE_DEPENDS property")
116 PROPERTY CMAKE_CONFIGURE_DEPENDS ${SourceFile}
139 … message(FATAL_ERROR "You must provide a valid test name and tags for all tests in ${SourceFile}")
207 SOURCE ${SourceFile}
221 foreach(SourceFile ${SourceFiles})
222 ParseAndAddCatchTests_ParseFile(${SourceFile} ${TestTarget})