Skip to content

Commit b5097cc

Browse files
committed
Add windows build instructions
1 parent a0322a1 commit b5097cc

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ cmake -D CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY=libc++ -G Xcode ..
3939
open cef.xcodeproj/
4040
```
4141

42-
TODO: tell user to move stuff, or FindCEF.cmake
43-
4442
#### Building
4543
Build in Xcode (⌘+B)
4644

45+
TODO: tell user to move stuff, or update FindCEF.cmake
46+
4747
### Building OBS and obs-browser
4848
#### Installing Dependencies
4949
```
@@ -64,3 +64,38 @@ open obs-studio.xcodeproj/
6464

6565
#### Building
6666
Build in Xcode (⌘+B)
67+
68+
## Building on Windows
69+
70+
### Building CEF
71+
#### Getting
72+
* Download CEF Windows 64bit from [https://cefbuilds.com/](https://cefbuilds.com/)
73+
* At the time of writing this I used build 2704
74+
* Extract and cd into the folder
75+
76+
#### Setting Up Project
77+
* Run cmake-gui
78+
* In "where is the source code", enter in the repo directory (example: C:/Users/User/Desktop/cef_binary_3.2743.1445.gdad7c0a_windows64).
79+
* In "where to build the binaries", enter the repo directory path with the 'build' subdirectory (example: C:/Users/User/Desktop/cef_binary_3.2743.1445.gdad7c0a_windows64/build).
80+
* Press 'Configure' and select the generator that fits to your installed VS Version:
81+
Visual Studio 12 2013 Win64 or Visual Studio 14 2015 Win64
82+
* Press 'Generate' to generate Visual Studio project files in the 'build' subdirectory.
83+
* Open cef.sln from the 'build' subdirectory
84+
85+
#### Building
86+
Build in Visual Studio
87+
88+
TODO: tell user to move stuff, or update FindCEF.cmake
89+
90+
### Building OBS and obs-browser
91+
#### Follow the OBS build instructions
92+
[https://github.com/jp9000/obs-studio/wiki/Install-Instructions#windows](https://github.com/jp9000/obs-studio/wiki/Install-Instructions#windows)
93+
94+
#### Setting Up Project
95+
* Add add_subdirectory(obs-browser) to ./plugins/CMakeLists.txt
96+
* Set the CEF_ROOT_DIR path in cmake-gui for obs-studio (example: C:/Users/User/Desktop/cef_binary_3.2743.1445.gdad7c0a_windows64)
97+
* * Press 'Generate' to generate Visual Studio project files in the 'build' subdirectory.
98+
* Open obs-studio.sln from the 'build' subdirectory
99+
100+
#### Building
101+
Build in Visual Studio

0 commit comments

Comments
 (0)