mirror of
				https://github.com/PaddlePaddle/FastDeploy.git
				synced 2025-10-31 20:02:53 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			323 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			323 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| #!cmake -P
 | |
| file(WRITE split_test_helper.h "")
 | |
| foreach(i RANGE 1 999)
 | |
|   file(APPEND split_test_helper.h
 | |
|     "#if defined(EIGEN_TEST_PART_${i}) || defined(EIGEN_TEST_PART_ALL)\n"
 | |
|     "#define CALL_SUBTEST_${i}(FUNC) CALL_SUBTEST(FUNC)\n"
 | |
|     "#else\n"
 | |
|     "#define CALL_SUBTEST_${i}(FUNC)\n"
 | |
|     "#endif\n\n"
 | |
|   )
 | |
| endforeach() | 
