COPYING.README 779 B

123456789101112131415161718
  1. Eigen is primarily MPL2 licensed. See COPYING.MPL2 and these links:
  2. http://www.mozilla.org/MPL/2.0/
  3. http://www.mozilla.org/MPL/2.0/FAQ.html
  4. Some files contain third-party code under BSD or LGPL licenses, whence the other
  5. COPYING.* files here.
  6. All the LGPL code is either LGPL 2.1-only, or LGPL 2.1-or-later.
  7. For this reason, the COPYING.LGPL file contains the LGPL 2.1 text.
  8. If you want to guarantee that the Eigen code that you are #including is licensed
  9. under the MPL2 and possibly more permissive licenses (like BSD), #define this
  10. preprocessor symbol:
  11. EIGEN_MPL2_ONLY
  12. For example, with most compilers, you could add this to your project CXXFLAGS:
  13. -DEIGEN_MPL2_ONLY
  14. This will cause a compilation error to be generated if you #include any code that is
  15. LGPL licensed.