diff options
author | Razzeee <razzeee@gmail.com> | 2017-10-10 09:23:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-10 09:23:23 +0200 |
commit | 8a87291f1b48dacbd2db996ed244a3ee954c38f7 (patch) | |
tree | cca33fb20fe86f7b3d750f0e70104a10c07be080 /cmake | |
parent | 81991e8278b2bb125ecea2b84c41da4a204e4161 (diff) |
Add infos about toolset parameter to cmake docs
Diffstat (limited to 'cmake')
-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 81c0517f7c..0848f2dca4 100644 --- a/cmake/README.md +++ b/cmake/README.md @@ -119,12 +119,30 @@ cmake -G "Visual Studio 14" <KODI_SRC> cmake --build . --config "Debug" # or: Build solution with Visual Studio Debug\kodi.exe ``` + +Building on a x64 cpu can be improved, if you're on a cmake version > 3.8: +``` +cmake -G "Visual Studio 14" -T host=x64 <KODI_SRC> +cmake --build . --config "Debug" # or: Build solution with Visual Studio +Debug\kodi.exe +``` +This will choose the x64 toolset, as windows uses the x32 toolset by default. + #### Build for x64 ``` cmake -G "Visual Studio 14 Win64" <KODI_SRC> cmake --build . --config "Debug" # or: Build solution with Visual Studio Debug\kodi.exe ``` + +Building on a x64 cpu can be improved, if you're on a cmake version > 3.8: +``` +cmake -G "Visual Studio 14 Win64" -T host=x64 <KODI_SRC> +cmake --build . --config "Debug" # or: Build solution with Visual Studio +Debug\kodi.exe +``` +This will choose the x64 toolset, as windows uses the x32 toolset by default. + You can always check ``cmake --help` to see which generators are available and how to call those. #### Windows installer generation |