diff options
author | Bastien Montagne <bastien@blender.org> | 2021-06-22 18:00:18 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-06-22 18:00:18 +0300 |
commit | feaf309de742a92e158cd123b3a584915de0ac4d (patch) | |
tree | a856c8f5522de1f1c5c59be8f887135fdb65fe39 /source/blender/blenlib/CMakeLists.txt | |
parent | f4e3b1e5732ca8413a47dfdb93ae1227bb14f9dc (diff) |
Add initial `BLI_math_time` with a 'seconds decompose' function.
Allows to decompose a given amount of seconds into a random set of
days/hours/minutes/seconds/milliseconds values.
Also add matching test.
Differential Revision: https://developer.blender.org/D11581
Diffstat (limited to 'source/blender/blenlib/CMakeLists.txt')
-rw-r--r-- | source/blender/blenlib/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index e04f3c1b19d..91e3453d021 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -103,6 +103,7 @@ set(SRC intern/math_rotation.c intern/math_solvers.c intern/math_statistics.c + intern/math_time.c intern/math_vec.cc intern/math_vector.c intern/math_vector_inline.c @@ -241,6 +242,7 @@ set(SRC BLI_math_rotation.h BLI_math_solvers.h BLI_math_statistics.h + BLI_math_time.h BLI_math_vector.h BLI_memarena.h BLI_memblock.h @@ -419,6 +421,7 @@ if(WITH_GTESTS) tests/BLI_math_matrix_test.cc tests/BLI_math_rotation_test.cc tests/BLI_math_solvers_test.cc + tests/BLI_math_time_test.cc tests/BLI_math_vector_test.cc tests/BLI_memiter_test.cc tests/BLI_memory_utils_test.cc |