forked from ReScrap/ScrapHacks
		
	Update README.md,add prerequisites, build and install in one command
This commit is contained in:
		
							parent
							
								
									37a07242b1
								
							
						
					
					
						commit
						738b7607b1
					
				
					 1 changed files with 9 additions and 3 deletions
				
			
		|  | @ -1,11 +1,17 @@ | ||||||
| Open VS 2017 32-bit command prompt (`vcvars32.bat`) | ## Prerequisites | ||||||
|  | 
 | ||||||
|  | - Visual Studio  2017/2019 (others might work) | ||||||
|  | - CMake | ||||||
|  | 
 | ||||||
|  | ## Building | ||||||
|  | 
 | ||||||
|  | Open VS 32-bit command prompt (`vcvars32.bat`) | ||||||
| 
 | 
 | ||||||
| ```batch | ```batch | ||||||
| mkdir build | mkdir build | ||||||
| cd build | cd build | ||||||
| cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="" .. | cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="" .. | ||||||
| cmake --build . | cmake --build . --config Release --target install | ||||||
| cmake --install . |  | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| this will drop the compiled files into `./build/bin` | this will drop the compiled files into `./build/bin` | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue