mirror of
				https://github.com/XRPLF/rippled.git
				synced 2025-11-04 11:15:56 +00:00 
			
		
		
		
	The `-Wno-missing-template-arg-list-after-template-kw` flag is only needed for the grpc library. Use `+=` for the default build flags to make it easier to extend in the future. Co-authored-by: Bart Thomee <11445373+bthomee@users.noreply.github.com>
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{% set os = detect_api.detect_os() %}
 | 
						|
{% set arch = detect_api.detect_arch() %}
 | 
						|
{% set compiler, version, compiler_exe = detect_api.detect_default_compiler() %}
 | 
						|
{% set compiler_version = version %}
 | 
						|
{% if os == "Linux" %}
 | 
						|
{% set compiler_version = detect_api.default_compiler_version(compiler, version) %}
 | 
						|
{% endif %}
 | 
						|
 | 
						|
[settings]
 | 
						|
os={{ os }}
 | 
						|
arch={{ arch }}
 | 
						|
build_type=Debug
 | 
						|
compiler={{compiler}}
 | 
						|
compiler.version={{ compiler_version }}
 | 
						|
compiler.cppstd=20
 | 
						|
{% if os == "Windows" %}
 | 
						|
compiler.runtime=static
 | 
						|
{% else %}
 | 
						|
compiler.libcxx={{detect_api.detect_libcxx(compiler, version, compiler_exe)}}
 | 
						|
{% endif %}
 | 
						|
 | 
						|
[conf]
 | 
						|
{% if compiler == "clang" and compiler_version >= 19 %}
 | 
						|
grpc/1.50.1:tools.build:cxxflags+=['-Wno-missing-template-arg-list-after-template-kw']
 | 
						|
{% endif %}
 | 
						|
{% if compiler == "apple-clang" and compiler_version >= 17 %}
 | 
						|
grpc/1.50.1:tools.build:cxxflags+=['-Wno-missing-template-arg-list-after-template-kw']
 | 
						|
{% endif %}
 | 
						|
{% if compiler == "clang" and compiler_version == 16 %}
 | 
						|
tools.build:cxxflags=['-DBOOST_ASIO_DISABLE_CONCEPTS']
 | 
						|
{% endif %}
 | 
						|
{% if compiler == "gcc" and compiler_version < 13 %}
 | 
						|
tools.build:cxxflags+=['-Wno-restrict']
 | 
						|
{% endif %}
 |