mirror of
https://github.com/resiprocate/resiprocate.git
synced 2026-01-12 00:05:02 +08:00
- add build artifacts to .gitignore
- update README.md instructions for windows
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -98,6 +98,5 @@ media/samples/music.h
|
||||
media/samples/playback_prompt.h
|
||||
media/samples/record_prompt.h
|
||||
|
||||
|
||||
|
||||
|
||||
/_build
|
||||
/sipXtapi-prefix
|
||||
|
||||
35
README.md
35
README.md
@@ -92,27 +92,38 @@ $ cmake -DBUILD_QPID_PROTON=OFF .
|
||||
|
||||
## Building on Windows Systems
|
||||
|
||||
### Generating Visual Studio solution and project files
|
||||
### Using Visual Studio GUI
|
||||
|
||||
Navigate to git root folder where top level CMakeLists.txt file is.
|
||||
```
|
||||
> cmake .
|
||||
```
|
||||
Or to build recon with sipXtapi media support you need to do the following:
|
||||
```
|
||||
> cmake . -DUSE_SIPXTAPI=ON
|
||||
```
|
||||
Or if you plan on using VS GUI you might want to enable the following to get the full sipXtapi projects into the resip solution file:
|
||||
```
|
||||
> cmake . -DUSE_SIPXTAPI=ON -DSIPXTAPI_PROJS_IN_VS_GUI=ON
|
||||
```
|
||||
|
||||
* Open resiprocate.sln (from _build folder) in visual studio: Build -> Build Solution
|
||||
* Note: If you used -DSIPXTAPI_PROJS_IN_VS_GUI=ON then you must build once before the sipXtapi projects are fetched from GitHub. After this reload the resiprocate.sln and build again. This is only needed after initial setting up the build.
|
||||
* If you want to run the unit tests, then right click on the RUN_TESTS project and Build it.
|
||||
|
||||
|
||||
### Using CMake from command line
|
||||
|
||||
Navigate to git root folder where top level CMakeLists.txt file is.
|
||||
```
|
||||
> cmake . -B _build
|
||||
```
|
||||
To build recon with sipXtapi media support you need to do the following:
|
||||
OR to build recon with sipXtapi media support you need to do the following:
|
||||
```
|
||||
> cmake . -B _build -DUSE_SIPXTAPI=ON
|
||||
```
|
||||
Or if you plan on using VS GUI you might want to enable the following to get the full sipXtapi projects into the resip solution file:
|
||||
```
|
||||
> cmake . -B _build -DUSE_SIPXTAPI=ON -DSIPXTAPI_PROJS_IN_VS_GUI=ON
|
||||
```
|
||||
|
||||
#### Using Visual Studio GUI
|
||||
* Open resiprocate.sln (from _build folder) in visual studio: Build -> Build Solution
|
||||
* If you want to run the unit tests, then right click on the RUN_TESTS project and Build it.
|
||||
|
||||
#### Using CMake Command line
|
||||
Navigate to git root folder where top level CMakeLists.txt file is.
|
||||
To build navigate to git root folder where top level CMakeLists.txt file is.
|
||||
```
|
||||
> cmake --build _build --config Debug --parallel
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user