diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2020-04-01 23:17:46 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2020-04-02 00:49:19 -0700 |
commit | 8853519d896f11b678873f0afacac16b3cdebc27 (patch) | |
tree | 319fd5c5a5978e7790bbd22844c9e218b2bbe10e /CMakeLists.txt | |
parent | 6fb59f1182965a0e1e45d60e81e3ff02db45944c (diff) |
Generate the bsinc tables using constexpr methods
All the methods used should be compliant with C++14 constexpr rules. However,
the number of scales and phases cause GenerateBSincCoeffs to reach the allowed
step limit, preventing full compile-time generation. It's not a terribly big
deal, it'll generate them very quickly when loading, but it does prevent using
shared read-only memory pages.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2255baeb..3ce37e84 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -545,6 +545,9 @@ SET(COMMON_OBJS common/alstring.cpp common/alstring.h common/atomic.h + common/bsinc_defs.h + common/bsinc_tables.cpp + common/bsinc_tables.h common/dynload.cpp common/dynload.h common/endiantest.h |