diff options
Diffstat (limited to 'cmake/README.md')
| -rw-r--r-- | cmake/README.md | 15 |
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 | |||
| 40 | install 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). | 40 | install 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 | ||
| 42 | On Windows, the CMake based buildsystem requires that the binary dependencies | 42 | On Windows, the CMake based buildsystem requires that the binary dependencies |
| 43 | are downloaded using `DownloadBuildDeps.bat` and `DownloadMingwBuildEnv.bat` | 43 | are downloaded using `download-dependencies.bat` and `download-msys2.bat` |
| 44 | and that the mingw libs (ffmpeg, libdvd and others) are built using | 44 | and 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 | ``` |
| 118 | cmake -G "Visual Studio 14" <KODI_SRC> | 118 | cmake -G "Visual Studio 14" <KODI_SRC> |
| 119 | cmake --build . --config "Debug" # or: Build solution with Visual Studio | 119 | cmake --build . --config "Debug" # or: Build solution with Visual Studio |
| 120 | Debug\kodi.exe | 120 | Debug\kodi.exe |
| 121 | ``` | 121 | ``` |
| 122 | #### Build for x64 | ||
| 123 | ``` | ||
| 124 | cmake -G "Visual Studio 14 Win64" <KODI_SRC> | ||
| 125 | cmake --build . --config "Debug" # or: Build solution with Visual Studio | ||
| 126 | Debug\kodi.exe | ||
| 127 | ``` | ||
| 128 | You 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 | ||
| 125 | The script [project/Win32BuildSetup](https://github.com/xbmc/xbmc/blob/master/project/Win32BuildSetup/BuildSetup.bat) | 132 | The 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) |
| 126 | builds an installable package for Windows. | 133 | builds 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 | ||
