You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/VS10Project/VsCsharpSourceGroupHelpers....

16 lines
444 B

function(find_source_group LINES NAME)
set(foundSourceGroupLink 0)
foreach(line IN LISTS LINES)
if(line MATCHES "<Link>${NAME}</Link>")
set(foundSourceGroupLink 1)
endif()
endforeach()
if(NOT foundSourceGroupLink)
set(RunCMake_TEST_FAILED "Source group link for ${NAME} not found." PARENT_SCOPE)
set(SOURCE_GROUP_FOUND 0 PARENT_SCOPE)
return()
endif()
set(SOURCE_GROUP_FOUND 1 PARENT_SCOPE)
endfunction()