Skip to content

Commit

Permalink
chore: update windows building guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian authored Jan 27, 2025
1 parent a1d2fe2 commit 3394b1f
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,25 @@ You can figure out which files you need by looking at each of the `ExternalProje

1. Install Visual Studio 2022.

2. Install CMake (http://www.cmake.org/download/).
2. Install 7-zip (https://www.7-zip.org/).

3. Install 7-zip (https://www.7-zip.org/).

4. `git clone --single-branch --branch master https://github.com/CasparCG/server casparcg-server-master`
3. `git clone --single-branch --branch master https://github.com/CasparCG/server casparcg-server-master`

5. `cd casparcg-server-master`
4. `cd casparcg-server-master`

6. `.\tools\windows\build.bat`
5. `.\tools\windows\build.bat`

7. Copy the `dist\casparcg_server.zip` file for distribution
6. Copy the `dist\casparcg_server.zip` file for distribution

## Development using Visual Studio

1. Install Visual Studio 2022.

2. Install CMake (http://www.cmake.org/download/).

3. `git clone --single-branch --branch master https://github.com/CasparCG/server casparcg-server-master`

4. `cd casparcg-server-master`

5. `mkdir build`

6. `cd build`

7. `cmake -G "Visual Studio 17 2022" -A x64 ../src`
4. Open the cloned folder in Visual Studio.

8. Open `CasparCG Server.sln`
5. Build All and ensure it builds successfully

# Linux

Expand Down Expand Up @@ -97,4 +87,4 @@ If all goes to plan, a folder called 'staging' has been created with everything

-DUSE_SYSTEM_CEF=OFF - (Linux only, default ON) use the version of CEF from your OS. This expects to be using builds from https://launchpad.net/~casparcg/+archive/ubuntu/ppa

-DDIAG_FONT_PATH - Specify an alternate path/font to use for the DIAG window. On linux, this will often want to be set to an absolute path of a font
-DDIAG_FONT_PATH - Specify an alternate path/font to use for the DIAG window. On linux, this will often want to be set to an absolute path of a font

0 comments on commit 3394b1f

Please sign in to comment.