From 4830f27a40323fe859dc166337a2b861877b7121 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 1 Jan 2018 13:40:09 +0100 Subject: sync with upstream --- cmake/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'cmake/README.md') 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" 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 +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" 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 +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 -- cgit v1.2.3