Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-01-15 11:40:13 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-01-15 11:40:13 +0300
commitd63e681bf30d73d8536245f192ba456f372c90d3 (patch)
treeff7caba7da7bc8a1545964418383cdf6de20ef7d /doc
parent59911e7c35c61725834dc30c46bf964eb4774fbc (diff)
Further improvement of how to build on windows guide
Diffstat (limited to 'doc')
-rw-r--r--doc/How to build - Windows.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/How to build - Windows.md b/doc/How to build - Windows.md
index 5c54d098e..3df17b88f 100644
--- a/doc/How to build - Windows.md
+++ b/doc/How to build - Windows.md
@@ -1,11 +1,15 @@
# Step by Step Visual Studio 2019 Instructions
+### 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.
Select all workload options for C++
Install git for Windows from [gitforwindows.org](https://gitforwindows.org/)
Download and run the exe accepting all defaults
+### Download sources
+
Clone the respository. To place it in C:\src\PrusaSlicer, run:
```
c:> mkdir src
@@ -13,8 +17,9 @@ c:> cd src
c:\src> git clone https://github.com/prusa3d/PrusaSlicer.git
```
+### Compile the dependencies.
+Dependencies are updated seldomly, thus they are compiled out of the PrusaSlicer source tree.
Go to the Windows Start Menu and Click on "Visual Studio 2019" folder, then select the ->"x64 Native Tools Command Prompt" to open a command window and run the following:
-
```
cd c:\src\PrusaSlicer\deps
mkdir build
@@ -22,13 +27,19 @@ cd build
cmake .. -G "Visual Studio 16 2019" -DDESTDIR="c:\src\PrusaSlicer-deps"
msbuild /m ALL_BUILD.vcxproj // This took 13.5 minutes on my machine: core I7-7700K @ 4.2Ghz with 32GB main memory and 20min on a average laptop
+```
+### Generate Visual Studio project file for PrusaSlicer, referencing the precompiled dependencies.
+Go to the Windows Start Menu and Click on "Visual Studio 2019" folder, then select the ->"x64 Native Tools Command Prompt" to open a command window and run the following:
+```
cd c:\src\PrusaSlicer\
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -DCMAKE_PREFIX_PATH="c:\src\PrusaSlicer-deps\usr\local"
```
+### Compile PrusaSlicer.
+
Double-click c:\src\PrusaSlicer\build\PrusaSlicer.sln to open in Visual Studio 2019.
OR
Open Visual Studio for C++ development (VS asks this the first time you start it).