Skip to content

Commit 5ea2152

Browse files
committed
Import original source code for glm project v0.9.9.8
1 parent f46cc28 commit 5ea2152

File tree

1,519 files changed

+264509
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,519 files changed

+264509
-0
lines changed

.appveyor.yml

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
shallow_clone: true
2+
3+
platform:
4+
- x86
5+
- x64
6+
7+
configuration:
8+
- Debug
9+
- Release
10+
11+
image:
12+
- Visual Studio 2013
13+
- Visual Studio 2015
14+
- Visual Studio 2017
15+
- Visual Studio 2019
16+
17+
environment:
18+
matrix:
19+
- GLM_ARGUMENTS: -DGLM_TEST_FORCE_PURE=ON
20+
- GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_SSE2=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
21+
- GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
22+
- GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_14=ON
23+
- GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_17=ON
24+
25+
matrix:
26+
exclude:
27+
- image: Visual Studio 2013
28+
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
29+
- image: Visual Studio 2013
30+
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_14=ON
31+
- image: Visual Studio 2013
32+
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_17=ON
33+
- image: Visual Studio 2013
34+
configuration: Debug
35+
- image: Visual Studio 2015
36+
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_SSE2=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
37+
- image: Visual Studio 2015
38+
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_14=ON
39+
- image: Visual Studio 2015
40+
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_17=ON
41+
- image: Visual Studio 2015
42+
platform: x86
43+
- image: Visual Studio 2015
44+
configuration: Debug
45+
- image: Visual Studio 2017
46+
platform: x86
47+
- image: Visual Studio 2017
48+
configuration: Debug
49+
- image: Visual Studio 2019
50+
platform: x64
51+
52+
before_build:
53+
- ps: |
54+
mkdir build
55+
cd build
56+
57+
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2013") {
58+
$env:generator="Visual Studio 12 2013"
59+
}
60+
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2015") {
61+
$env:generator="Visual Studio 14 2015"
62+
}
63+
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2017") {
64+
$env:generator="Visual Studio 15 2017"
65+
}
66+
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2019") {
67+
$env:generator="Visual Studio 16 2019"
68+
}
69+
if ($env:PLATFORM -eq "x64") {
70+
$env:generator="$env:generator Win64"
71+
}
72+
echo generator="$env:generator"
73+
cmake .. -G "$env:generator" -DGLM_QUIET=ON -DGLM_TEST_ENABLE=ON "$env:GLM_ARGUMENTS"
74+
75+
build_script:
76+
- cmake --build . --config %CONFIGURATION% -- /m /v:minimal
77+
78+
test_script:
79+
- ctest -j4 -C %CONFIGURATION%
80+
- cd ..
81+
- ps: |
82+
mkdir build_test_cmake
83+
cd build_test_cmake
84+
cmake ..\test\cmake\ -G "$env:generator" -Dglm_DIR="$env:APPVEYOR_BUILD_FOLDER/cmake/glm/"
85+
- cmake --build . --config %CONFIGURATION% -- /m /v:minimal
86+
87+
deploy: off

.gitignore

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Compiled Object files
2+
*.slo
3+
*.lo
4+
*.o
5+
*.obj
6+
7+
# Precompiled Headers
8+
*.gch
9+
*.pch
10+
11+
# Compiled Dynamic libraries
12+
*.so
13+
*.dylib
14+
*.dll
15+
16+
# Fortran module files
17+
*.mod
18+
19+
# Compiled Static libraries
20+
*.lai
21+
*.la
22+
*.a
23+
*.lib
24+
25+
# Executables
26+
*.exe
27+
*.out
28+
*.app
29+
30+
# CMake
31+
CMakeCache.txt
32+
CMakeFiles
33+
cmake_install.cmake
34+
install_manifest.txt
35+
*.cmake
36+
!glmConfig.cmake
37+
!glmConfig-version.cmake
38+
# ^ May need to add future .cmake files as exceptions
39+
40+
# Test logs
41+
Testing/*
42+
43+
# Test input
44+
test/gtc/*.dds
45+
46+
# Project Files
47+
Makefile
48+
*.cbp
49+
*.user
50+
51+
# Misc.
52+
*.log
53+
54+
# local build(s)
55+
build*
56+
57+
/.vs
58+
/.vscode
59+
/CMakeSettings.json
60+
.DS_Store
61+
*.swp

0 commit comments

Comments
 (0)