mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 03:45:50 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			416 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			416 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
# Set coverage build options
 | 
						|
if (coverage)
 | 
						|
  if (NOT tests)
 | 
						|
    message(FATAL_ERROR "Coverage requires tests to be enabled")
 | 
						|
  endif ()
 | 
						|
  include(CodeCoverage)
 | 
						|
  append_coverage_compiler_flags_to_target(clio_options INTERFACE)
 | 
						|
endif ()
 | 
						|
 | 
						|
if (tests OR integration_tests)
 | 
						|
  add_subdirectory(common)
 | 
						|
endif ()
 | 
						|
 | 
						|
if (tests)
 | 
						|
  add_subdirectory(unit)
 | 
						|
endif ()
 | 
						|
 | 
						|
if (integration_tests)
 | 
						|
  add_subdirectory(integration)
 | 
						|
endif ()
 |