Skip to content

Commit

Permalink
Mention DEP_DOWNLOAD_DIR in docs
Browse files Browse the repository at this point in the history
Also update dependency report, add CGAL
  • Loading branch information
tamasmeszaros committed Aug 30, 2021
1 parent 1e3100d commit 9b97414
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions doc/Dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
* openssl
* nlopt
* openvdb: This library depends on other libs, namely boost, zlib, openexr, blosc (not strictly), etc...
* CGAL: Needs additional dependencies
* MPFR
* GMP

## External libraries in source tree
* ad-mesh: Lots of customization, have to be bundled in the source tree.
Expand Down
5 changes: 3 additions & 2 deletions doc/How to build - Linux et al.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ Note: We say _mostly independent_ because it's still expected the system will pr

To do this, go to the `deps` directory, create a `build` subdirectory (or the like) and use:

cmake .. -DDESTDIR=<target destdir>
cmake .. -DDESTDIR=<target destdir> -DDEP_DOWNLOAD_DIR=<download cache dir>

where the target destdir is a directory of your choosing where the dependencies will be installed.
You can also omit the `DESTDIR` option to use the default, in that case the `destdir` will be created inside the `build` directory where `cmake` is run.
You can also omit the `DESTDIR` option to use the default, in that case the `destdir` will be created inside the `build` directory where `cmake` is run. The optional `DEP_DOWNLOAD_DIR` argument specifies a directory to cache the downloaded
source packages for each dependent library. Can be useful for repeated builds, to avoid unnecessary network traffic.

Once the dependencies have been built, in order to pass the destdir path to the **top-level** PrusaSlicer `CMakeLists.txt` script, use the `CMAKE_PREFIX_PATH` option along with turning on `SLIC3R_STATIC`:

Expand Down

0 comments on commit 9b97414

Please sign in to comment.