mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:40:04 +00:00 
			
		
		
		
	Setup scripts should be runnable from any directory
This commit is contained in:
		
							parent
							
								
									102650e936
								
							
						
					
					
						commit
						6667f46c53
					
				
					 7 changed files with 11 additions and 11 deletions
				
			
		|  | @ -1,26 +1,26 @@ | |||
| @set script_dir=%~dp0 | ||||
| 
 | ||||
| :: Import common paths | ||||
| @call lib\common-paths.bat | ||||
| @call %script_dir%\common-paths.bat | ||||
| 
 | ||||
| :: Install Python packages | ||||
| pip install --upgrade -r "%script_dir%\..\..\requirements.txt" | ||||
| 
 | ||||
| @if defined build_type ( | ||||
|     :: Install Conan profile and packages | ||||
|     call lib\setup-conan.bat | ||||
|     call %script_dir%\setup-conan.bat | ||||
| ) else ( | ||||
|     :: Install Conan profile and debug packages | ||||
|     set build_type=Debug | ||||
|     call lib\setup-conan.bat | ||||
|     call %script_dir%\setup-conan.bat | ||||
| 
 | ||||
|     :: Install Conan profile and release packages | ||||
|     set build_type=Release | ||||
|     call lib\setup-conan.bat | ||||
|     call %script_dir%\setup-conan.bat | ||||
| 
 | ||||
|     :: Unset build_type | ||||
|     set build_type= | ||||
| ) | ||||
| 
 | ||||
| :: Run CMake Configure | ||||
| @call lib\run-cmake-configure.bat | ||||
| @call %script_dir%\run-cmake-configure.bat | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat