mirror of
				https://github.com/jbeder/yaml-cpp.git
				synced 2025-10-27 14:31:20 +00:00 
			
		
		
		
	 62ff351432
			
		
	
	62ff351432
	
	
	
		
			
			Example of how someone might consume yaml-cpp with bazel:
cc_binary(
    name = "example",
    srcs = ["example.cc"],
    deps = ["@com_github_jbeder_yaml_cpp//:yaml-cpp"],
)
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			377 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			377 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| workspace(name = "com_github_jbeder_yaml_cpp")
 | |
| 
 | |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 | |
| 
 | |
| http_archive(
 | |
|     name = "com_google_googletest",
 | |
|     strip_prefix = "googletest-release-1.8.1",
 | |
|     url = "https://github.com/google/googletest/archive/release-1.8.1.tar.gz",
 | |
|     sha256 = "9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c",
 | |
| )
 |