13 lines
		
	
	
		
			577 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			577 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
set(log "${RunCMake_BINARY_DIR}/CustomCommandDepfile-build/build.ninja")
 | 
						|
file(READ "${log}" build_file)
 | 
						|
 | 
						|
set(RunCMake_TEST_FAILED)
 | 
						|
if(NOT "${build_file}" MATCHES "depfile = test\\.d")
 | 
						|
  string(CONCAT no_test_d "Log file:\n ${log}\n" "does not have expected line: depfile = test.d")
 | 
						|
  list(APPEND RunCMake_TEST_FAILED "${no_test_d}")
 | 
						|
endif()
 | 
						|
if(NOT "${build_file}" MATCHES "depfile = test_Debug\\.d")
 | 
						|
  string(CONCAT no_test_Debug_d "\nLog file:\n ${log}\n" "does not have expected line: depfile = test_Debug.d")
 | 
						|
  list(APPEND RunCMake_TEST_FAILED "${no_test_Debug_d}")
 | 
						|
endif()
 |