mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
92480ffd26
* remove EIGEN_BUILD_TESTS and siblings * add summary at the end of cmake run, hopefully not too verbose * fix build of quaternion demo * kill remnants of old binary library option
9 lines
261 B
Plaintext
9 lines
261 B
Plaintext
This is an example of how one can wrap some of Eigen into a C library.
|
|
|
|
To try this with GCC, do:
|
|
|
|
g++ -c binary_library.cpp -O2 -msse2 -I ../..
|
|
gcc example.c binary_library.o -o example -lstdc++
|
|
./example
|
|
|
|
TODO: add CMakeLists, add more explanations here |