diff options
Diffstat (limited to 'cmake/README.md')
| -rw-r--r-- | cmake/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cmake/README.md b/cmake/README.md index 81c0517..0848f2d 100644 --- a/cmake/README.md +++ b/cmake/README.md | |||
| @@ -119,12 +119,30 @@ 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 | |||
| 123 | Building on a x64 cpu can be improved, if you're on a cmake version > 3.8: | ||
| 124 | ``` | ||
| 125 | cmake -G "Visual Studio 14" -T host=x64 <KODI_SRC> | ||
| 126 | cmake --build . --config "Debug" # or: Build solution with Visual Studio | ||
| 127 | Debug\kodi.exe | ||
| 128 | ``` | ||
| 129 | This will choose the x64 toolset, as windows uses the x32 toolset by default. | ||
| 130 | |||
| 122 | #### Build for x64 | 131 | #### Build for x64 |
| 123 | ``` | 132 | ``` |
| 124 | cmake -G "Visual Studio 14 Win64" <KODI_SRC> | 133 | cmake -G "Visual Studio 14 Win64" <KODI_SRC> |
| 125 | cmake --build . --config "Debug" # or: Build solution with Visual Studio | 134 | cmake --build . --config "Debug" # or: Build solution with Visual Studio |
| 126 | Debug\kodi.exe | 135 | Debug\kodi.exe |
| 127 | ``` | 136 | ``` |
| 137 | |||
| 138 | Building on a x64 cpu can be improved, if you're on a cmake version > 3.8: | ||
| 139 | ``` | ||
| 140 | cmake -G "Visual Studio 14 Win64" -T host=x64 <KODI_SRC> | ||
| 141 | cmake --build . --config "Debug" # or: Build solution with Visual Studio | ||
| 142 | Debug\kodi.exe | ||
| 143 | ``` | ||
| 144 | This will choose the x64 toolset, as windows uses the x32 toolset by default. | ||
| 145 | |||
| 128 | You can always check ``cmake --help` to see which generators are available and how to call those. | 146 | You can always check ``cmake --help` to see which generators are available and how to call those. |
| 129 | 147 | ||
| 130 | #### Windows installer generation | 148 | #### Windows installer generation |
