Commit Graph

168 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
Daniel Blaensdorf
8b94f970d9 Update cmake version to prevent deprecation 2023-07-24 08:31:43 +02:00
Jaime Del Rey Garcia
87de7f3f10 Add target make uninstall in cmake files 2021-03-06 08:58:58 +01:00
Krzysztof Kurek
3a4b55020e
Make sure installed glm::glm has the includes 2021-01-31 14:50:00 +01:00
Krzysztof Kurek
5797373dc2
Fix an issue with CMake versions 3.14 and earlier 2021-01-31 00:49:58 +01:00
Krzysztof Kurek
e936ed35ea
Resolve issues with CMake versions 3.13 and earlier 2021-01-30 23:59:37 +01:00
Krzysztof Kurek
631faffab3
Export targets from top-level CMake file
With some slight reordering of the code
2021-01-30 23:35:37 +01:00
Krzysztof Kurek
3e99386b6f
Include CPack if project is built as standalone 2021-01-30 23:00:41 +01:00
Krzysztof Kurek
6c9d74c3e0
Generate glmConfigVersion, move glmConfig to its own folder 2021-01-30 22:26:46 +01:00
Krzysztof Kurek
6059c5767b
Export the GLM target 2021-01-30 21:08:48 +01:00
christophe
a44e293c40 Reading GLM version in CMake using REGEX on GLM header 2020-05-02 18:32:19 +02: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
75c5e6e0b2
Un-breakify tests 2019-10-16 17:03:31 +02:00
Krzysztof Kurek
e791090589
Re-add the glm interface library in cmake
Also re-work the main cmakelists to make the project more easily embeddable
2019-10-15 14:49:30 +02:00
Christophe Riccio
5f352ecce2 Removed CMake install and uninstall scripts 2019-09-07 14:13:56 +02:00
Morris Hafner
3a53ea1f69 Remove architecture check from CMake package 2019-05-20 21:59:43 +01:00
Christophe
ca8372490e
Revert "CMakeLists.txt: remove libraries" 2019-03-13 11:36:50 +01:00
Christophe Riccio
5a5a0a88b0 Allow to browse GLM source 2019-03-13 09:44:10 +01:00
Fabrice Fontaine
3b798fe06b CMakeLists.txt: remove libraries
glm is a heaser-only library, libraries are not needed

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-03-12 13:23:18 +01:00
Fabrice Fontaine
efd91329ba CMakeLists: add BUILD_{SHARED,STATIC}_LIBS options
Add BUILD_SHARED_LIBS and BUILD_STATIC_LIBS options to allow the user
to enable/disable building of shared and static library

This is especially useful when cross-compiling as some toolchains are
not always able to build a shared or a static library

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-02-17 00:06:35 +01:00
Christophe Riccio
ef9d65e0c6 Added GLM_FORCE_INTRINSICS define 2019-01-11 12:58:31 +01:00
Christophe Riccio
abff0a39ac Fixed build 2018-10-01 11:23:26 +02:00
Christophe Riccio
3d26f49775 Added GLM_FORCE_ALIGNED_GENTYPES to enable aligned types and SIMD instruction are not enabled. This disable constexpr #816 2018-09-30 21:52:09 +02:00
Christophe Riccio
de4dbc5662 Improved disabling auto detection 2018-08-22 21:43:32 +02:00
Christophe Riccio
aff5b7a02d Added GLM_QUIET 2018-08-19 17:42:30 +02:00
Christophe Riccio
355f1e7514 Added more SIMD configuration 2018-08-19 03:19:07 +02:00
Groove
4ac8fac6f0 Fixed force C++ language 2018-08-18 12:46:27 +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
bb0f4ef324 Fixed build error 2018-07-23 20:05:12 +02:00
Groove
9a0311f327 Fixed Visual C++ language detection 2018-07-20 00:40:49 +02:00
Groove
3b98e220bc Added /permissive- 2018-07-15 19:35:36 +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
657ca108ed Fixed Visual C++ language detection 2018-07-14 16:22:17 +02:00
Groove
f27a24de0e Refactor GLM messages and build targets 2018-07-14 00:17:46 +02:00
Groove
c432dfaad8 Enable MS language extension on Clang and GCC 2018-07-13 15:12:39 +02:00
Groove
c7b6cf56e3 Fixed swizzle functions and tests 2018-07-12 00:36:59 +02:00
Groove
b76f938505 Added C++2a detection and fixed constexpr tests 2018-07-11 21:59:25 +02:00
Christophe Riccio
7733266417 Fixed Visual C++ automated tests 2017-09-23 23:06:27 +02:00
Christophe Riccio
2e43c201cd Fixed warning C4309 #679 2017-09-23 22:58:51 +02:00
Christophe Riccio
e9f210c85f Enable /WX, warning as error on Visual Studio 2017-08-17 19:51:03 +02:00
Christophe Riccio
b9936ac0ca Clean up white space 2017-08-17 15:21:13 +02:00
Christophe Riccio
1a973285f7 Fixed Apple Clang detection 2017-08-17 11:38:45 +02:00
Christophe Riccio
eb8689b8b5 More use of build-in CMake features, upgraded to CMake 3.2 2017-08-17 10:54:16 +02:00
Christophe
126fa8c47d Merge pull request #667 from jasjuang/master
support sudo make uninstall #667
2017-08-16 12:04:18 +02:00
Christophe Riccio
8a9582cc5e Added -Wno-undefined-reinterpret-cast 2017-08-15 16:55:43 +02:00
Christophe Riccio
c43c883db8 Enabled warnings are errors 2017-08-10 02:45:35 +02:00
Christophe Riccio
ec79dbdbef Disabled warnings 2017-08-10 02:43:41 +02:00
Christophe Riccio
3c7d778dba Added C++17 build argument 2017-08-08 23:56:40 +02:00
Christophe Riccio
da32661074 Ignore some warnings 2017-08-08 23:35:46 +02:00