mirror of
				https://github.com/Minres/conan-recipes.git
				synced 2025-10-31 06:01:53 +00:00 
			
		
		
		
	Updated README.md
This commit is contained in:
		
							
								
								
									
										10
									
								
								Seasocks/build.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Seasocks/build.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| from conan.packager import ConanMultiPackager | ||||
|  | ||||
| if __name__ == "__main__": | ||||
|     builder = ConanMultiPackager() | ||||
|     libstd = ['libstdc++11', 'libstdc++'] | ||||
|     types = ['Debug','Release'] | ||||
|     configs = [[i,k] for i in libstd for k in types] | ||||
|     for triple in configs: | ||||
|         builder.add(settings={"build_type":triple[1], "compiler.libcxx":triple[0]}, options={}, env_vars={}, build_requires={}) | ||||
|     builder.run() | ||||
| @@ -25,7 +25,7 @@ include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | ||||
| conan_basic_setup()''') | ||||
|  | ||||
|     def build(self): | ||||
|         cmake = CMake(self) | ||||
|         cmake = CMake(self, parallel=True) | ||||
|         self.run('cmake seasocks %s' % cmake.command_line) | ||||
|         self.run("cmake --build . --target install %s" % cmake.build_config) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user