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 | ||||
| mkdir build | ||||
| cd build | ||||
| cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="" .. | ||||
| cmake --build . | ||||
| cmake --install . | ||||
| cmake --build . --config Release --target install | ||||
| ``` | ||||
| 
 | ||||
| this will drop the compiled files into `./build/bin` | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue