Age | Commit message (Collapse) | Author |
|
To avoid issues with empty compilation units.
|
|
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>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
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>
|
|
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>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
|
|
|
|
version parsing
|
|
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
- 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>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
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>
|
|
dynamic library
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
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>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
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>
|
|
pattern.
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
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>
|
|
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|