mirror of
				https://github.com/red0124/ssp.git
				synced 2025-10-31 05:06:46 +01:00 
			
		
		
		
	try fix test CMakeLists
This commit is contained in:
		
							parent
							
								
									33f65e2061
								
							
						
					
					
						commit
						40f8dcc203
					
				| @ -28,10 +28,10 @@ include(doctest) | |||||||
| 
 | 
 | ||||||
| enable_testing() | enable_testing() | ||||||
| 
 | 
 | ||||||
| foreach(name IN ITEMS test_main test_parser test_converter test_extractions) | foreach(name IN ITEMS test_parser test_converter test_extractions) | ||||||
|   add_executable("${name}" "${name}.cpp") |   add_executable("${name}" "${name}.cpp") | ||||||
|   target_link_libraries("${name}" PRIVATE ssp::ssp doctest::doctest) |   target_link_libraries("${name}" PRIVATE ssp::ssp doctest::doctest) | ||||||
|   target_compile_definitions("${name}" PRIVATE \ |   target_compile_definitions("${name}" PRIVATE | ||||||
|     DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN CMAKE_GITHUB_CI) |     DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN CMAKE_GITHUB_CI) | ||||||
|   doctest_discover_tests("${name}") |   doctest_discover_tests("${name}") | ||||||
| endforeach() | endforeach() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user