aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
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-15Remove 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-20cmake - Add variable length detection and alloca detectionMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>