Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-10Only build platform RTCD sources when enabled.Timothy B. Terriberry
To avoid issues with empty compilation units.
2022-07-08cmake - move warning C4244 to level 4Marcus Asteborg
Opus compare is used to generate test vectors so no cosmetic changes is taken. Hence we move this warning to level 4 for opus compare. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-08cmake - fix rtcd detection on x86 non windowsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-06cmake - Add OPUS_BUILD to test targetsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2021-05-12cmake - add support to run ctest on android #2347Marcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for fixed point debugMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for check asmMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for fuzzingMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for hardeningMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for assertionsMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21CMakeLists.txt: specify working directory in add_test() directivesDavide Beatrici
This is required for Windows because it doesn't have RPATH, thus it fails to find Opus if it's not in the same directory as the executables or in PATH. Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21CMakeLists.txt: specify path to target file in add_test() directivesDavide Beatrici
This is required in case the output path for tests is changed by a project adding Opus as submodule. Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - change logging of api version to debugMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-08-08cmake - MINGW check for ssp lib and link if security features is enabledMarcus Asteborg
2020-08-08CMake: Make _FORTIFY_SOURCE optionalZeno Endemann
2020-08-08cmake - fix bugs around consuming Opus as a submodule in cmake and package ↵Marcus Asteborg
version parsing
2020-08-08cmake - Fix typo bug in enable_float_api optionMarcus Asteborg
2020-06-13cmake - refactor and cleanup optionsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - add option to disable intrinsicsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - move all compiler feature detection to OpusConfigMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - move cmake related files to cmake folder to make root dir less busyMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - only publish opus_custom.h if custom modes is enabled #121Marcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - add headers to projectMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13Add support to CMake build for building frameworks on Apple systems.Simon Jackson
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-04-21cmake - add option for fast mathMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - add option for float_approx for IEEE 754 compatible targetsMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - Add variable length detection and alloca detectionMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21CMake ChangesNathaniel R. Lewis
- Fix typo in OPUS_USE_NEON description. - Set OPUS_PRESUME_NEON for iOS platforms as all armv7 and higher iOS devices support NEON. - Fix detection of aarch64 for OPUS_CPU_ARM and adding sources from celt_sources_arm. (previously would miss armcpu.c and arm_celt_map.c) - Change "armv7-a" to "arm" in MATCHES checks against CMAKE_SYSTEM_PROCESSOR as systems like the RPi3 report as "armv7l". - Rename OPUS_MAY_SUPPORT_NEON to OPUS_MAY_HAVE_NEON as this name is used everywhere else in the CMake build system. Without this, runtime capability detection is broken on aarch64. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - Fix OPUS_STACK_PROTECTOR optionMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - Add OPUS prefix to feature info to show correct commandline optionMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - Add option for testing to improve cliMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - intinsics fixes, only compile SSE source with SSE flags on ↵Marcus Asteborg
non-windows when target use runtime check (GH #154). For windows we only use /arch flag when target is presumed to support SSE to avoid AVX function pollution (GH #132). Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - add math library for test programs demo and compare when building ↵willson-chen
dynamic library Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - Fix CMake install include directoryevpobr
Install include directory must be `include/opus`, not `include`. Old path is still here for compatibility. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - Add support for detecting the presence of lrint and lrintf.Nathaniel R. Lewis
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-21cmake - add CPack and default to TGZ packageMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-01-19CMake: use PACKAGE_VERSION for the pkg-config fileDeadSix27
The old variable `OPUS_LIBRARY_VERSION`, does not line up with what's used in autoconf, which uses the PACKAGE_VERSION instead, which in turn lines up with what version the projects `opusfile` and `libsndfile` check for, for example. While at it, I also cleaned up the accidental double up in code. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-01-19CMake: Add alias Opus::opus for opus library. Useful for CMake superbuild ↵Nathaniel R. Lewis
pattern. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-01-19CMake: Add shared library to featuresMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-01-19CMake: add option to set BUILD_SHARED_LIBS variableDavide Beatrici
From https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html: "Global flag to cause add_library() to create shared libraries if on. If present and true, this will cause all libraries to be built shared unless the library was explicitly added as a static library. This variable is often added to projects as an option() so that each user of a project can decide if they want to build the project using shared or static libraries." Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2019-06-05Fix typo in _FORTIFY_SOURCE define.Marcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2019-04-12CMake changesMarcus Asteborg
If CMAKE_BUILD_TYPE is empty and CFlags are set then only use CFlags. If None are set then use CMAKE_BUILD_TYPE by Release by default. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2019-04-11CMake changesMarcus Asteborg
Make release build default Made CUSTOM_MODE an option with default off Added missing buildflags for Linux and security. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2019-04-03Adding CMake support for Windows, Mac, Linux and Android Co-Authored-By: evpobrMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>