]> https://gitweb.dealii.org/ - dealii.git/commitdiff
update opencascade instructions 1714/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 4 Oct 2015 17:10:54 +0000 (13:10 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sun, 4 Oct 2015 17:10:54 +0000 (13:10 -0400)
This makes the opencascade installation smaller and more importantly
avoids dependencies to X11 and OpenGL dev libs.

doc/external-libs/opencascade.html

index 3471fb90a593f8cbee03d250d9f3cb3e1a5fcc74..5bb231331146192dc5341295f3f89018059d3c22 100644 (file)
@@ -37,11 +37,15 @@ It is a good practice to build in a separate directory:
 <pre>
 mkdir build
 cd build
-cmake -DOCE_INSTALL_PREFIX=/path/to/where/you/want/oce ..
+cmake -D OCE_INSTALL_PREFIX=/path/to/where/you/want/oce \
+      -D OCE_TESTING=OFF \
+      -D OCE_VISUALISATION=OFF \
+      -D OCE_DISABLE_X11=ON \
+      ..
 make install
 </pre>
 
-The default options are good for the deal.II library.
+This will turn off some packages we don't need. The default package options also work, though.
 
     <h2>Interfacing <acronym>deal.II</acronym>
       to <acronym>OpenCASCADE</acronym></h2>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.