Commit graph

92 commits

Author SHA1 Message Date
chucknology
bb8c104b05 Fix SFIZZ_RELEASE_ASSERTS option
The SFIZZ_RELEASE_ASSERTS option was ignored and always in effect.
2025-03-17 21:16:53 +01:00
Atsushi Eno
d885ee5043 Do not add -mfpu and -mfloat-abi arguments if build target is Apple.
AppleClang does not support those arguments anymore:

```
c++: error: unsupported option '-mfpu=' for target 'arm64-apple-darwin23.6.0'
c++: error: unsupported option '-mfloat-abi=' for target 'arm64-apple-darwin23.6.0'
cc: error: unsupported option '-mfpu=' for target 'arm64-apple-darwin23.6.0'
cc: error: unsupported option '-mfloat-abi=' for target 'arm64-apple-darwin23.6.0'
```

seealso: https://stackoverflow.com/questions/29851128/gcc-arm64-aarch64-unrecognized-command-line-option-mfpu-neon
2025-03-17 21:12:12 +01:00
Paul Fd
3d7bcb4968 Add setters 2024-01-27 18:33:18 +01:00
Paul Ferrand
3e2952b69b Fix some Apple build inconsistencies 2023-09-29 11:18:40 +02:00
essej
69896109e7 modifications to support univeral x86_64/ARM builds on Mac 2023-08-24 10:19:25 +02:00
Paul Fd
1e771a45e7 Reenable and fix tests
- Add ASAN workflows
- Remove flag messages from configure; these are misleading as they exclude `COMPILE_OPTIONS`
- Fix non-working tests
- Fix WavPack file loading on Windows
- Fix ASAN traps in LoFi code due to a SIMD `loadu` call in HIIR resamplers
- Add tests for st_audiofile
-
2023-08-07 22:48:42 +02:00
Paul Fd
d470f7004e Fix build on Windows
- C/CXX should not be passed to MASM
- Fix CMAKE_BUILD_TYPE
2023-08-07 11:44:51 +02:00
redtide
1fb62d5043
Removed VCPKG option 2023-05-30 10:41:58 +02:00
redtide
0c1ab10f49
CMake: fixed pkgconfig file install from sfizz-ui project 2023-05-23 14:51:02 +02:00
redtide
899e988c8c
CMake: 3.13 as minimum for non Windows platforms, plus minor fixes 2023-05-23 12:27:31 +02:00
redtide
29b2effee8
Update Abseil to 20230125.3
raise minimum requirements to CMake 3.12 and C++14
2023-05-22 19:35:25 +02:00
redtide
9a3e371daa
Typos 2023-05-20 16:12:44 +02:00
redtide
395d4ca185
Moved the Config.h file generation in the appropriated CMake script 2023-05-20 15:36:25 +02:00
redtide
0a8f4e0ebf
Generate src/sfizz/Config.h with CMake
currently only necessary to customize the MIDI_CC_COUNT value.
Removed the previous sfizz_match_definitions.cpp checking file generation.
2023-05-20 14:02:32 +02:00
redtide
6878125b92
CMake definitions and format rearrangement
- Rename some SFIZZ_ prefixed definitions where possible to permit some modules
  to be generic and be reused in other projects, keep project' information
  in the same place and more explicit
- Fixed non-compliant code formatting
2023-05-20 12:37:22 +02:00
redtide
6c6436ced7
Don't set the minimum Windows version for the library 2023-05-16 18:05:05 +02:00
redtide
857cc2fef3
Move plugins in their own repository 2023-05-08 13:12:50 +02:00
redtide
4c819222a0 More optional system preinstalled dependencies
Catch2, ghc-filesystem, lv2 headers and VST3SDK sources preinstalled system packages can be used,
optionally and where available, to build sfizz via CMake options:

SFIZZ_USE_SYSTEM_CATCH
SFIZZ_USE_SYSTEM_GHC_FS
SFIZZ_USE_SYSTEM_LV2
SFIZZ_USE_SYSTEM_VST3SDK
2023-03-29 09:13:25 +02:00
Paul Fd
52949ea2bc Default to plugin-side automation
Make each mode very separate (i.e. no PSA = midi ignored)
2021-12-19 21:57:02 +01:00
Paul Fd
eadb1b4beb Add man pages for executables
And correct a small bug in the jack client
2021-10-20 23:53:34 +02:00
Jean Pierre Cimalando
f0b827d423 Implement C++17 aligned-new support for macOS < 10.14 2021-09-22 05:02:26 +02:00
Jean Pierre Cimalando
4b6b380ce4 Set macOS requirement to 10.14 to get c++17 working; fix this later 2021-09-21 20:44:16 +02:00
Jean Pierre Cimalando
ff8562b140 Updates for new vstgui 2021-09-21 19:58:27 +02:00
Jean Pierre Cimalando
9952d28b97 Volume meter for plugin editors 2021-04-26 15:52:29 +02:00
Jean Pierre Cimalando
cd1e4567f2 Add cmake option for -ftime-trace 2021-04-25 05:49:45 +02:00
Jean Pierre Cimalando
8b434d6c55 Add the VST2 wrapper 2021-04-08 04:13:57 +02:00
Jean Pierre Cimalando
01ae6946e3 Make C++ standard the same for lib, plugin and editor 2021-04-08 01:11:06 +02:00
Jean Pierre Cimalando
c868a94d18 Process source code as UTF-8 2021-04-07 04:25:08 +02:00
Jean Pierre Cimalando
0041432d83 Implement a substitute for aligned-new 2021-03-31 16:35:37 +02:00
redtide
4dbba3f1cc Added missing build options status 2021-02-04 20:43:55 +01:00
Jean Pierre Cimalando
a3f93f5d0b Reorganize the dependency checking 2020-12-14 14:25:37 +01:00
Jean Pierre Cimalando
f063062f7c Make a separate target for sfizz::internal, for tests and benchmarks 2020-12-14 13:49:36 +01:00
Jean Pierre Cimalando
bd3f660c12 Add hiir and filesystem as interface libraries 2020-12-14 11:09:04 +01:00
Jean Pierre Cimalando
3a9accba4b Put dependency libraries in namespaces 2020-12-14 08:20:01 +01:00
Jean Pierre Cimalando
8b56f89688 Update cmake files formatting 2020-12-14 07:49:02 +01:00
Jean Pierre Cimalando
b19ab25af3 Use only GNU warnings recognized by compiler 2020-12-13 16:26:17 +01:00
Jean Pierre Cimalando
4b0e4383a4 Check the existence of flag -faligned-new and add it 2020-12-13 14:35:30 +01:00
Jean Pierre Cimalando
a0e6abceda Enable the fast-math equivalent of MSVC 2020-11-27 00:08:08 +01:00
Jean Pierre Cimalando
3332687a41 Move feature out of tests and in their own directory 2020-11-01 10:56:49 +01:00
redtide
6a2382f37a CI reorganization 2020-10-29 05:21:25 +01:00
Jean Pierre Cimalando
d5aad58366 Eliminate the strict requirement of libsndfile 2020-10-28 16:34:52 +01:00
Atsushi Eno
777bcf7b17
Fix build on Android 32-bit arm: hardfp is not available
context: d783ba6c87 (r43170024)

This fixes build errors like this on Android 32-bit arm architecture:
`error: lv2/CMakeFiles/sfizz_lv2.dir/sfizz.c.o uses VFP register arguments, output does not`
2020-10-12 21:47:48 +09:00
Jean Pierre Cimalando
68d4e65ea5 Locally ignored "-Wmultichar" not working on gcc, make global 2020-10-10 16:15:41 +02:00
Paul Ferrand
3bac650498 Add a NEON codepath for panning and width 2020-09-20 19:50:19 +01:00
Paul Ferrand
d783ba6c87 Make neon required on ARM platforms 2020-09-20 15:07:05 +01:00
Jean Pierre Cimalando
2260727a66 Aligned vector 2020-09-19 15:39:46 +02:00
Paul Ferrand
d31ec18bf6 Remove the no-omit-frame-pointer option
It's inconsequent in x86 more or less, but ARM has less registers to spare.
2020-09-10 15:31:09 +02:00
Jean Pierre Cimalando
5bb28128f8 Allow the AudioUnit to build again 2020-09-08 14:56:07 +02:00
Jean Pierre Cimalando
22585e02a1 Forbid functions to forget the return statement 2020-09-08 11:32:38 +02:00
Jean Pierre Cimalando
0849a1b5e5 Set the deployment target for macOS 2020-09-05 07:03:57 +02:00