Commit Graph

25 Commits

Author SHA1 Message Date
Christophe
04aaf80648 cmake: Fix static and dynamic library build using requeted C++ version and SIMD 2023-11-09 12:00:05 +01:00
Mark Sheppard
3cb568cd37 Fix Clang 15 test build errors
Fixes for compiler errors when building the tests using Clang 15,
including:

    * Use explicit cast to silence Wimplicit-int-float-conversion
      warning for conversion of spin count in implementation of
      glm::slerp.
    * Use GLM_FORCE_MESSAGES instead of removed GLM_MESSAGES for
      messages in glm/gtx/hash.hpp, avoiding Wundef warning.
    * Encode en dash in URL for Gram-Schmit Process wikipedia page and
      replace similar en dashes in comments with regular dashes, to
      avoid Winvalid-utf8 warnings in glm/gtx/matrix_factorisation.inl.
    * Replace degree sign symbol with text "degrees" to avoid
      Winvalid-utf8 warnings in test/gtc/gtc_quaternion.cpp.
    * When using Clang, build tests with -Wno-float-equal to silence
      Wfloat-equal warning in implementation of glm::vec<L,T,Q>::equal.
    * For performance tests in test/gtx/gtx_fast_trigonometry.cpp, add
      statement explicitly casting result to void, to silence
      Wunused-but-set-variable warnings.
    * Add newline at end of test/gtx/gtx_hash.cpp to silence
      Wnewline-eof warning.
    * Rename namespace _1aga to agarose in test/gtx/gtx_pca.cpp to
      avoid Wreserved-identifier warning.
2023-03-31 17:39:53 +01:00
christophe-lunarg
bec41ffe51 Fix AVX2 detection 2020-12-09 21:43:38 +01:00
Christophe Riccio
a4b4db24bd Fixed test target 2019-11-02 16:34:18 +01:00
Christophe Riccio
11089f6d7e Move CMake tests configuration in the test directory CMakeLists.txt 2019-11-02 11:57:42 +01:00
Krzysztof Kurek
11b88192e8
Actually fix the tests 2019-10-17 16:41:13 +02:00
Christophe Riccio
133b1f9223 Added SIMD tests 2018-08-19 11:24:56 +02:00
Groove
d307d39019 GLM_TEST_ENABLE Option enabled by default to build GLM unit tests. Disable this option to disable testing #788 2018-07-29 18:20:43 +02:00
Christophe Riccio
a23dd2f800 Clean up CMake project, added arithmetic operators to swizzle operators types 2018-07-14 19:14:08 +02:00
Christophe Riccio
2240849164 Improve API documentation 2017-08-17 17:36:40 +02:00
Christophe Riccio
7eb0adb7a5 Clean up 2016-07-16 23:41:50 +02:00
Roger Leigh
34bd28e8c6 cmake: Don't build tests when not testing 2014-04-15 10:46:45 +01:00
Christophe Riccio
464ff7420c Clean up test files 2011-05-11 11:16:02 +01:00
Christophe Riccio
bea54a5cff Added CMake test infrastructure 2011-02-21 13:25:13 +00:00
Christophe Riccio
680485f8f7 Removed CMake test from GLM 0.9.1 branch 2011-02-21 13:23:04 +00:00
Bob Kuehne
cc485cb4c1 added proper cmake test infrastructure 2011-02-15 12:25:21 -05:00
Christophe Riccio
137c5661b9 Added empty tests files 2011-01-19 16:14:23 +00:00
Christophe Riccio
b77d66317e Updated swizzle impl and tests 2011-01-15 02:37:34 +00:00
Christophe Riccio
d7f768718c Added tests to main repository 2010-12-17 01:33:17 +00:00
Christophe Riccio
54ac58f910 Removed unfortunate Git mistake ... 2010-04-29 17:35:50 +01:00
Christophe Riccio
3cb1965573 Added test files 2010-04-29 16:54:07 +01:00
Christophe Riccio
7c5b8a3464 Clean master 2010-04-29 15:45:55 +01:00
Christophe Riccio
8316b4a7fd Added test files 2010-04-29 12:16:00 +01:00
Christophe Riccio
b1b02bc31b RAZ 2010-04-29 11:52:01 +01:00
Christophe Riccio
bc877da307 Added test files 2010-04-14 13:25:41 +01:00