cmake standalone build

This commit is contained in:
Daniel Agar
2018-05-03 22:25:36 -04:00
parent eec71d1a10
commit e5952fadaf
173 changed files with 588 additions and 324 deletions
+6 -4
View File
@@ -40,9 +40,9 @@
*/
#ifndef MATHLIB_H
#define MATHLIB_H
#ifdef POSIX_SHARED
// #include <Eigen/Dense>
// #include <algorithm>
#ifdef ECL_STANDALONE
#ifndef M_PI_F
#define M_PI_F 3.14159265358979323846f
#endif
@@ -67,6 +67,8 @@ float degrees(float radians);
}
#else
#include <mathlib/mathlib.h>
#endif //POSIX_SHARED
#endif //ECL_STANDALONE
#endif //MATHLIB_H