mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 11:55:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			535 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			535 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
add_executable(clio_benchmark)
 | 
						|
 | 
						|
target_sources(
 | 
						|
  clio_benchmark
 | 
						|
  PRIVATE # Common
 | 
						|
          Main.cpp
 | 
						|
          Playground.cpp
 | 
						|
          # ExecutionContext
 | 
						|
          util/async/ExecutionContextBenchmarks.cpp
 | 
						|
          # Logger
 | 
						|
          util/log/LoggerBenchmark.cpp
 | 
						|
)
 | 
						|
 | 
						|
include(deps/gbench)
 | 
						|
 | 
						|
target_include_directories(clio_benchmark PRIVATE .)
 | 
						|
target_link_libraries(clio_benchmark PUBLIC clio_util benchmark::benchmark_main spdlog::spdlog)
 | 
						|
set_target_properties(clio_benchmark PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
 |