eigen/demos/mix_eigen_and_c
Benoit Jacob 92480ffd26 * Introduce make targets btest (build tests), blas (build blas lib), demos (build demos).
* 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
2009-09-27 17:48:53 -04:00
..
binary_library.cpp add legalese 2009-09-20 06:00:39 -04:00
binary_library.h add legalese 2009-09-20 06:00:39 -04:00
example.c add legalese 2009-09-20 06:00:39 -04:00
README * Introduce make targets btest (build tests), blas (build blas lib), demos (build demos). 2009-09-27 17:48:53 -04:00

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