script:ish构建脚本添加。
This commit is contained in:
		
							parent
							
								
									84b488441b
								
							
						
					
					
						commit
						8069ef7810
					
				
							
								
								
									
										16
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								build.sh
									
									
									
									
									
								
							| @ -1,2 +1,14 @@ | |||||||
| cmake -Bbuild -DCMAKE_BUILD_TYPE=Release | #!/bin/bash | ||||||
| cmake --build build --config Release | 
 | ||||||
|  | # 默认构建命令 | ||||||
|  | build_command="cmake -Bbuild -DCMAKE_BUILD_TYPE=Release" | ||||||
|  | build_command_release="cmake --build build --config Release" | ||||||
|  | 
 | ||||||
|  | # 检查是否传入 -ish 参数 | ||||||
|  | if [[ "$1" == "-ish" ]]; then | ||||||
|  |   build_command="$build_command -DIOS_ISH=True" | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | # 执行命令 | ||||||
|  | $build_command | ||||||
|  | $build_command_release | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user