mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 15:21:58 +08:00
This commit is contained in:
parent
ecf5716de0
commit
994ed51fa3
@ -1,8 +1,8 @@
|
|||||||
REM /|/ Copyright (c) 2022 Jebtrix @Jebtrix
|
@REM /|/ Copyright (c) 2022 Jebtrix @Jebtrix
|
||||||
REM /|/ Copyright (c) 2021 Justin Schuh @jschuh
|
@REM /|/ Copyright (c) 2021 Justin Schuh @jschuh
|
||||||
REM /|/
|
@REM /|/
|
||||||
REM /|/ PrusaSlicer is released under the terms of the AGPLv3 or higher
|
@REM /|/ PrusaSlicer is released under the terms of the AGPLv3 or higher
|
||||||
REM /|/
|
@REM /|/
|
||||||
@setlocal disableDelayedExpansion enableExtensions
|
@setlocal disableDelayedExpansion enableExtensions
|
||||||
@IF "%PS_ECHO_ON%" NEQ "" (echo on) ELSE (echo off)
|
@IF "%PS_ECHO_ON%" NEQ "" (echo on) ELSE (echo off)
|
||||||
@GOTO :MAIN
|
@GOTO :MAIN
|
||||||
@ -68,10 +68,14 @@ SET PS_DEPS_PATH_FILE_NAME=.DEPS_PATH.txt
|
|||||||
SET PS_DEPS_PATH_FILE=%~dp0deps\build\%PS_DEPS_PATH_FILE_NAME%
|
SET PS_DEPS_PATH_FILE=%~dp0deps\build\%PS_DEPS_PATH_FILE_NAME%
|
||||||
SET PS_CONFIG_LIST="Debug;MinSizeRel;Release;RelWithDebInfo"
|
SET PS_CONFIG_LIST="Debug;MinSizeRel;Release;RelWithDebInfo"
|
||||||
|
|
||||||
REM The officially supported toolchain version is 16 (Visual Studio 2019)
|
REM Update this script for new versions by setting PS_VERSION_SUPPORTED to a
|
||||||
REM TODO: Update versions after Boost gets rolled to 1.78 or later
|
REM new minimum version and setting PS_VERSION_EXCEEDED to the maximum supported
|
||||||
|
REM version plus one.
|
||||||
|
REM The officially supported toolchain versions are:
|
||||||
|
REM Minimum: 16 (Visual Studio 2019)
|
||||||
|
REM Maximum: 17 (Visual Studio 2022)
|
||||||
SET PS_VERSION_SUPPORTED=16
|
SET PS_VERSION_SUPPORTED=16
|
||||||
SET PS_VERSION_EXCEEDED=17
|
SET PS_VERSION_EXCEEDED=18
|
||||||
SET VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe
|
SET VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe
|
||||||
IF NOT EXIST "%VSWHERE%" SET VSWHERE=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe
|
IF NOT EXIST "%VSWHERE%" SET VSWHERE=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe
|
||||||
FOR /F "tokens=4 USEBACKQ delims=." %%I IN (`"%VSWHERE%" -nologo -property productId`) DO SET PS_PRODUCT_DEFAULT=%%I
|
FOR /F "tokens=4 USEBACKQ delims=." %%I IN (`"%VSWHERE%" -nologo -property productId`) DO SET PS_PRODUCT_DEFAULT=%%I
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
### Install the tools
|
### Install the tools
|
||||||
|
|
||||||
Install Visual Studio Community 2019 from [visualstudio.microsoft.com/vs/](https://visualstudio.microsoft.com/vs/). Older versions are not supported as PrusaSlicer requires support for C++17.
|
Install Visual Studio Community 2022 (preferred) or 2019 from [visualstudio.microsoft.com/vs/](https://visualstudio.microsoft.com/vs/).
|
||||||
|
Older versions are not supported as PrusaSlicer requires support for C++17.
|
||||||
|
Newer versions are not supported as they have not been fully tested and determined to be compatible.
|
||||||
|
|
||||||
Select all workload options for C++ and make sure to launch Visual Studio after install (to ensure that the full setup completes).
|
Select all workload options for C++ and make sure to launch Visual Studio after install (to ensure that the full setup completes).
|
||||||
|
|
||||||
Install git for Windows from [gitforwindows.org](https://gitforwindows.org/)
|
Install git for Windows from [gitforwindows.org](https://gitforwindows.org/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user