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
path: root/cmake
AgeCommit message (Collapse)Author
2023-05-28cmake instructionsMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2022-07-10Only build platform RTCD sources when enabled.Timothy B. Terriberry
To avoid issues with empty compilation units.
2022-07-08cmake - fix rtcd detection on x86 non windowsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-08cmake - fix lrintf, lrint detectionMarcus Asteborg
This commit addresses the issues of not finding lrintf and lrint. We switch to check_symbol_exists instead per cmake documentation. Also make sure to link math lib for detection for nix. For MSVC the issue for non x86 builds was that the standard was set to default which is 199409L. This resulted in not using lrintf even that it was found. To address this we set the C standard to C11 and it will only apply to newer versions of MSVC where the /std flag is supported. 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-08-08cmake - MINGW check for ssp lib and link if security features is enabledMarcus Asteborg
2020-08-08cmake - fix bugs around consuming Opus as a submodule in cmake and package ↵Marcus Asteborg
version parsing
2020-08-08cmake - add warning flags for clang, gcc etc.Marcus Asteborg
2020-06-16Remove trailing whitespaces in vla.c that was missed previouslyMarcus Asteborg
2020-06-13cmake/CFeatureCheck.cmake: fix feature tests failing when Opus is a submoduleDavide Beatrici
CMAKE_SOURCE_DIR corresponds to the top project's source directory. CMAKE_BINARY_DIR corresponds to the top project's binary directory. The usage of these variables doesn't cause any problems when Opus is built as a standalone project. This is not the case when Opus is added as submodule: the variables are set by the project that calls "add_subdirectory()". The fix consists in using PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR, which always refer to the current project. 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 - add include guards to cmake filesMarcus 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-04-21cmake - Add variable length detection and alloca detectionMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>