Commit Graph

132 Commits

Author SHA1 Message Date
Andreas Müller
7fdd36d749 glm: install headers only
Plausibility check in root source path

$ find glm -type f ! -name '*.hpp' ! -name '*.h' ! -name '*.inl'
glm/detail/glm.cpp
glm/detail/dummy.cpp
glm/experimental.hpp.in
glm/CMakeLists.txt

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-03-16 23:33:03 +01:00
Andreas Müller
99a9676a01 Make GLM_ENABLE_EXPERIMENTAL a configurable option
It seems that erroring out if GLM_ENABLE_EXPERIMENTAL is not set turns into
packagers nightmare: There are packages around expecting glx headers. E.g
libgltf [1] fails during configure checking for usable headers AND during
compile. Paticularly fixing configure for those packages is time-consuming:
The only way (correct me if I am wrong) is creating a patch adding

AC_DEFINE([GLM_ENABLE_EXPERIMENTAL], [1], [glm needs this for gtx headers])

By adding a configure option 'GLM_ENABLE_EXPERIMENTAL', the decision to use
glm/glx is done at one (and the right) place.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>

[1] https://gerrit.libreoffice.org/gitweb?p=libgltf.git
2018-03-16 23:33:03 +01: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
Christophe Riccio
2cc0c53da7 Fixed warnings 2017-08-08 23:19:16 +02:00
Christophe Riccio
5a747d2ae5 Fixed warnings 2017-08-08 20:28:37 +02:00
Christophe Riccio
276a7beb19 Fixed warnings 2017-08-08 11:30:21 +02:00
Christophe Riccio
49435a09da Fixed warings generated using -Weverything 2017-08-07 01:00:36 +02:00
Christophe Riccio
384dab02e4 Reduce the number of warnings with -Weverything #646 2017-08-06 23:00:05 +02:00
Christophe Riccio
bb48c10275 Ignore 64 bits int warnings with Clang 2017-08-06 16:30:41 +02:00
jasjuang
34193818f9 support sudo make uninstall 2017-08-02 22:11:40 -07:00
Christophe Riccio
ad744735f6 Fixed build #660 2017-07-24 11:10:20 +02:00
Christophe Riccio
1ad55c5016 Reduced warnings when using very strict compilation flags #646 2017-07-07 11:26:12 +04:30
Christophe Riccio
a39a9b8eb9 Use new CMake approach to check Visual C++ 2017-01-04 22:31:25 +01:00
Christophe Riccio
d73fd81812 Merge branch 'master' of https://github.com/g-truc/glm 2016-12-14 17:59:22 +01:00
Christophe Riccio
0f6bb41a0a Merge branch 'master' of https://github.com/g-truc/glm 2016-12-13 17:49:16 +01:00
ranjak
750d426473 CMake: add the option GLM_INSTALL_ENABLE to control installation.
Fix typo.
2016-12-07 16:22:44 +01:00
Christophe Riccio
2be54c9759 Fixed SIMD instruction set selection with Clang 2016-11-23 23:39:51 +01:00
Christophe Riccio
50a52756f2 Display instruction set used on CMake prepare 2016-11-23 23:34:39 +01:00
Zbigniew Mandziejewicz
a4aa882cf8 Fix name for CMake version file 2016-11-12 18:30:17 +08:00
Christophe Riccio
ec8cc1dc89 Merge branch 'master' of https://github.com/g-truc/glm 2016-10-27 11:32:08 +02:00
Christophe Riccio
3f7630a7af Merged GLM 0.9.8 branch 2016-07-17 11:54:55 +02:00
Christophe Riccio
a3b7bf46e7 Ignore long long warning with C++98 tests 2016-07-17 11:53:47 +02:00
Christophe Riccio
ecc91d4361 Merge 0.9.8 branch 2016-07-17 11:52:15 +02:00
Christophe Riccio
867f03c5f2 Fixed disable pedentic warning for anoynymous struct in GLM 2016-07-17 11:30:12 +02:00
Christophe Riccio
21a9d4ce18 Fixed GLM test '/fp:fast' and '/Za' command-line options are incompatible 2016-07-17 00:00:07 +02:00
Christophe Riccio
a1b4bdbf03 Fixed GLM test '/fp:fast' and '/Za' command-line options are incompatible 2016-07-16 23:54:11 +02:00
Christophe Riccio
077aaca6f7 Updated version 2016-07-16 23:18:23 +02:00
Christophe Riccio
848d68fe96 GLM requires long long support (C++98) and anonymous struct (C++11), disable the warnings within GLM. Strict compilers support check is performed. #524 2016-07-16 18:36:56 +02:00
Christophe Riccio
b4df7d69a6 Moved glm.pc.in into cmake directory #509 2016-05-31 00:36:21 +02:00
Guus Sliepen
0e018a5262 Added pkg-config file 2016-05-30 12:50:00 +02:00
Christophe Riccio
19186b27ed Removed GCC pedantic build argument 2016-05-30 02:03:29 +02:00
Christophe Riccio
6cf7389c8c Removed the glm_dummy CMake target if glm_shared or glm_static are enabled 2016-05-22 17:20:56 +02:00
Christophe Riccio
805939686c Visual C++ genenrate ASM code for GLM tests 2016-05-22 13:16:55 +02:00
Christophe Riccio
a0a1dd6c35 Generate assembly with Visual C++ 2016-05-09 10:36:22 +02:00
Christophe Riccio
aca1710c5f Fixed ignoring unknown option '/arch:SSE2' warning while compiling with Visual C++ in 64 bits with SSE3 enabled 2016-05-02 23:32:19 +02:00
Christophe Riccio
7f1bb02a26 Invert when static and dynamic lib messages appears 2016-03-14 22:29:55 +01:00
Christophe Riccio
b14e39b4cf Added target to build optional static and dynamic GLM library 2016-03-12 01:32:40 +01:00
Christophe Riccio
57bf985fe5 Fixed build 2016-03-05 22:29:52 +01:00
Christophe Riccio
082272421a Fixed long long warnings when using C++98 on GCC and Clang #482 2016-03-05 22:25:17 +01:00