summaryrefslogtreecommitdiffstats
path: root/cmake/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/README.md')
-rw-r--r--cmake/README.md15
1 files changed, 11 insertions, 4 deletions
diff --git a/cmake/README.md b/cmake/README.md
index 6d338a4..81c0517 100644
--- a/cmake/README.md
+++ b/cmake/README.md
@@ -40,7 +40,7 @@ For Windows the dependencies can be found in the
40install the [Windows Software Development Kit (SDK)](https://dev.windows.com/en-us/downloads/sdk-archive) for your Windows version. This is required for HLSL shader offline compiling with the [Effect-Compiler Tool](https://msdn.microsoft.com/de-de/library/windows/desktop/bb232919(v=vs.85).aspx) (fxc.exe). 40install the [Windows Software Development Kit (SDK)](https://dev.windows.com/en-us/downloads/sdk-archive) for your Windows version. This is required for HLSL shader offline compiling with the [Effect-Compiler Tool](https://msdn.microsoft.com/de-de/library/windows/desktop/bb232919(v=vs.85).aspx) (fxc.exe).
41 41
42On Windows, the CMake based buildsystem requires that the binary dependencies 42On Windows, the CMake based buildsystem requires that the binary dependencies
43are downloaded using `DownloadBuildDeps.bat` and `DownloadMingwBuildEnv.bat` 43are downloaded using `download-dependencies.bat` and `download-msys2.bat`
44and that the mingw libs (ffmpeg, libdvd and others) are built using 44and that the mingw libs (ffmpeg, libdvd and others) are built using
45`make-mingwlibs.bat`. 45`make-mingwlibs.bat`.
46 46
@@ -113,17 +113,24 @@ cmake --build . -- VERBOSE=1 -j$(nproc) # or: make VERBOSE=1 -j$(nproc)
113``` 113```
114 114
115### Windows with Visual Studio project files 115### Windows with Visual Studio project files
116 116#### Build for win32
117``` 117```
118cmake -G "Visual Studio 14" <KODI_SRC> 118cmake -G "Visual Studio 14" <KODI_SRC>
119cmake --build . --config "Debug" # or: Build solution with Visual Studio 119cmake --build . --config "Debug" # or: Build solution with Visual Studio
120Debug\kodi.exe 120Debug\kodi.exe
121``` 121```
122#### Build for x64
123```
124cmake -G "Visual Studio 14 Win64" <KODI_SRC>
125cmake --build . --config "Debug" # or: Build solution with Visual Studio
126Debug\kodi.exe
127```
128You can always check ``cmake --help` to see which generators are available and how to call those.
122 129
123#### Windows installer generation 130#### Windows installer generation
124 131
125The script [project/Win32BuildSetup](https://github.com/xbmc/xbmc/blob/master/project/Win32BuildSetup/BuildSetup.bat) 132The script [project/Win32BuildSetup](https://github.com/xbmc/xbmc/blob/master/tools/buildsteps/windows/win32/BuildSetup.bat) or [project/Win64BuildSetup](https://github.com/xbmc/xbmc/blob/master/tools/buildsteps/windows/x64/BuildSetup.bat)
126builds an installable package for Windows. 133builds an installable package for Windows. Choose either 32bit or 64bit, depending on what your trying to build.
127 134
128### Windows with NMake Makefiles 135### Windows with NMake Makefiles
129 136