You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-50Lines changed: 3 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,14 @@ Opinionated COMPAS-compatible bindings for top-level algorithms of libigl.
8
8
* COMPAS
9
9
* CMake
10
10
* Boost
11
+
* Eigen3
11
12
12
13
Anaconda 3 can be obtained from the official website. With `conda` installing COMPAS is as simple as `$ conda install COMPAS`. Make sure you have the latest version of COMPAS. You can check the version by typing `python -c “import compas; print(compas.__version__)` in terminal.
13
14
14
15
## Git Submodules
15
16
16
17
* libigl
17
18
* PyBind11
18
-
* Eigen
19
19
20
20
These are configured in the `.gitmodules` file and will be cloned into the `ext` folder.
21
21
@@ -46,9 +46,10 @@ conda activate igl
46
46
> On Mac, don't forget to add `python.app`
47
47
48
48
To make sure that you can build the modules that require `CGAL`, you should also install `Boost` into this environment.
49
+
We also switched to use the `Eigen3` of `conda`. Therefore also install `Eigen3`.
49
50
50
51
```bash
51
-
conda install boost
52
+
conda install boost eigen
52
53
```
53
54
54
55
> Note that a conda install of Boost into an environment with Python 3.x will install Boost 1.70 and this is only supported since CMake 3.14.
@@ -106,51 +107,3 @@ To build `compas_libigl` with support for boolean operations, modify the followi
106
107
107
108
* uncomment line 5 (`# from .booleans import *`)
108
109
* uncomment line 6 (`# from .csgtree import *`)
109
-
110
-
## Cmake
111
-
112
-
The project has three levels of `CMakeLists.txt` files.
113
-
114
-
### /CMakeLists.txt
115
-
116
-
The top level file is located at the root of the project.
117
-
118
-
### /modules/CMakeLists.txt
119
-
120
-
The second level file is in the `modules` folder. If you add a new wrapper module, make sure to register it in this file as well.
121
-
122
-
```make
123
-
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/xxx)
124
-
```
125
-
126
-
### /modules/xxx/CMakeLists.txt
127
-
128
-
Finally there is a `CMakeLists` file per wrapper module. There the most relevant part is to link the correct libraries. For example, the module that wraps `libigl`'s boolean operations requires `CGAL` and this should thus be reflected in the file.
0 commit comments