Skip to content

Commit 07f973d

Browse files
committed
add a cmd file to generate sln files and update the readme
1 parent 581de47 commit 07f973d

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

README.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ For more information about the history of GGPO, check out http://ggpo.net/
88
This repository contains the code, documentation, and sample applications for the SDK.
99

1010
## Building
11-
Building GGPO is currently only available on Windows, however efforts are being made to port it to other platforms. To get started, clone the repository using either git or svn:
12-
```git clone https://github.com/pond3r/ggpo.git```
13-
**OR**
14-
```svn checkout https://github.com/pond3r/ggpo```
11+
Building GGPO is currently only available on Windows, however efforts are being made to port it to other platforms.
1512

1613
### Windows
17-
On windows, it's recommended to use Visual Studio 2019 and cmake-gui (which can be downloaded [here](https://cmake.org/download/)). Once everything has been setup, open cmake-gui and select the root of the repository under ```Where is the source code:``` followed by the build folder under ```Where to build the binaries:```. Next, hit ```Configure``` and change any options that appear in the main window before hitting ```Generate``` which will generate the VS2019 solution. Once the solution has been generated, hit ```Open Project``` and build with the appropriate settings (Debug/Release). The built binaries can then be found where they were configured to be built.
14+
Windows builds requires both [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/) and [CMake](https://cmake.org/download/). Make sure you've installed both before starting. Make sure to add CMake to your path when installing.
15+
16+
- Run the `build_windows.cmd` in the root directory of the SDK to generate the Visual Studio 2019 solution files.
17+
- Open `build/GGPO.sln` solution for Visual Studio 2019 to compile.
18+
19+
You can also run the `cmake-gui` tool if you prefer.
1820

1921
## Licensing
2022
GGPO is available under The MIT License. This means GGPO is free for commercial and non-commercial use. Attribution is not required, but appreciated.
23+

build_windows.cmd

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
cmake -G "Visual Studio 16 2019" -A x64 -B build -DBUILD_SHARED_LIBS=off

0 commit comments

Comments
 (0)