aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Check that atomic_load works with a const _AtomicChris Robinson2014-09-051-1/+1
| | | | | | | The original C11 spec does not allow atomic_load to work on const _Atomic variables, which we sometimes do in alGet* methods, despite the fact that it does not modify the variable. An update to the C spec corrects this oversight, and GCC 4.9 has allowed it anyway, while Clang 3.4 does not.
* Fix the __get_cpuid cmake checkChris Robinson2014-09-051-1/+1
|
* Include the common sources when building staticallyChris Robinson2014-08-231-1/+5
|
* Use the POSITION_INDEPENDENT_CODE target property when availableChris Robinson2014-08-161-7/+12
|
* Don't force specific compile flags for the different build typesChris Robinson2014-08-161-17/+7
|
* Search for the correct include and lib directories for the DX SDKChris Robinson2014-08-151-3/+0
| | | | And only set them when needed.
* Release 1.16.0openal-soft-1.16.0Chris Robinson2014-08-141-2/+2
|
* Try the __cpuid intrinsic if GCC's __get_cpuid isn't availableChris Robinson2014-08-111-0/+11
|
* Check for GCC's __get_cpuid before using itChris Robinson2014-08-111-0/+9
|
* Only support dsound and mmdevapi on WindowsChris Robinson2014-08-111-36/+35
|
* Don't try to generate .def or .lib files when building staticallyChris Robinson2014-08-101-18/+20
|
* Add an option to build an import .lib with dlltool on mingwChris Robinson2014-08-101-22/+48
| | | | | | Also make sure the ordinals are stripped from the .def file (using sed), so that the generated .lib will link apps to the DLL using function names instead of ordinals.
* Properly set FluidSynth's include dir for older cmake versionsChris Robinson2014-08-101-1/+1
|
* Create a .def file when building with MinGWChris Robinson2014-08-101-0/+3
| | | | | Preferably we'd tell CMake to make it itself instead of specifiying compiler- specific flags, but there doesn't seem to be a way to.
* Add a 48khz HRTF data setChris Robinson2014-08-071-0/+1
| | | | | Made by simply using makehrtf's resampling option with the 44.1hz KEMAR data set.
* Enable large file supportChris Robinson2014-08-051-0/+10
|
* Load fluidsynth dynamically when possibleChris Robinson2014-08-051-33/+34
|
* Don't try to use internal visibilityChris Robinson2014-07-261-8/+3
| | | | | A number of functions are passed as callbacks to external libraries, which internal visiiblity doesn't allow.
* Support C11 atomicsChris Robinson2014-07-231-0/+10
|
* Require SSE for SSE2, and SSE2 for SSE4.1Chris Robinson2014-06-071-2/+2
|
* Add SSE2 and SSE4.1 linear resamplersTimothy Arceri2014-06-061-10/+56
| | | | | Currently the only way SSE 4.1 is detected is by using __get_cpuid, i.e. with GCC. Windows' IsProcessorFeaturePresent does not report SSE4.1 capabilities.
* Add an ffmpeg-based example playerChris Robinson2014-06-021-1/+43
| | | | | | This example shows proper timing and A/V synchronization with an OpenAL stream. Requires the in-progress AL_SOFTX_source_length extension to avoid manually keeping track of the buffer queue length.
* Update the examples to use SDL2Chris Robinson2014-05-231-13/+17
| | | | | | This should make it easier to build the examples on 64-bit, where there are no premade dev libs for SDL1 on 64-bit mingw. FindSDL_sound.cmake has been updated to accept SDL or SDL2.
* Don't try to use the non-standard alloca.hChris Robinson2014-05-221-8/+1
| | | | | Variable-length arrays are C99 standard and are preferred over alloca. The only compiler that needs alloca (MSVC) has it in malloc.h.
* Build a common static lib for reusable codeChris Robinson2014-05-071-3/+15
|
* Move RWLock and UIntMap implementations to commonChris Robinson2014-05-071-0/+2
| | | | This should make the code in common completely self-reliant.
* Check for C99 _Bool supportChris Robinson2014-05-061-0/+11
|
* Move atomic method definitions to a separate common sourceChris Robinson2014-05-061-1/+2
|
* Move threads.c to a separate source dirChris Robinson2014-05-061-2/+3
| | | | | This will eventually serve to build a static lib of common wrapper methods, such as threads, mutexes, atomics, etc.
* Test _Alignas with 16 instead of 4Chris Robinson2014-05-051-1/+1
|
* C11's alignas is also sufficient for SSE aligningChris Robinson2014-05-051-7/+9
|
* Use a backup in case pthread_mutex_timedlock isn't availableChris Robinson2014-05-011-0/+2
|
* Simplify the cmake backend handling a bitChris Robinson2014-04-221-31/+24
|
* Fix adding backend include directoriesChris Robinson2014-04-221-16/+48
|
* Only declare backend options when the backend is availableChris Robinson2014-04-201-22/+20
|
* Don't link with libwinmm unless WinMM is enabledChris Robinson2014-04-191-11/+8
| | | | | We don't use timeGetTime for timing anymore, so winmm only needs to be linked when the winmm backend is enabled.
* Use a find module to look for DirectSoundChris Robinson2014-04-191-28/+27
|
* Use find cmake modules for more backendsChris Robinson2014-04-191-79/+76
|
* Use C11 alignas when availableChris Robinson2014-04-191-0/+10
|
* Dont bother trying _allocaChris Robinson2014-04-191-6/+1
| | | | | We prefer C99 variable-length arrays, and other systems (including MSVC9) don't have an issue with alloca.
* Set -D_GNU_SOURCE=1 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 earlierChris Robinson2014-04-191-4/+5
|
* Use FindALSA.cmake to look for ALSAChris Robinson2014-04-191-15/+14
| | | | Also, only provide the ALSA_BACKEND_ALSA option if it's available
* Only define SSE, Neon, and FluidSynth options if they're availableChris Robinson2014-04-181-17/+15
|
* Check explicitly for pthread_mutexattr_setkind_np before useChris Robinson2014-04-171-0/+3
|
* Bump _WIN32_WINNT to 0x0502 (XP SP2) for GetThreadIdChris Robinson2014-04-161-4/+4
|
* Use C11's static_assert when availableChris Robinson2014-04-071-0/+8
|
* Use FIND_LIBRARY to look for the CoreAudio frameworkChris Robinson2014-04-051-3/+6
|
* Check for ftw and _wfindfirstChris Robinson2014-03-271-0/+8
|
* Use C99 VLA instead of alloca when availableChris Robinson2014-03-251-11/+26
|
* Don't try to use __restrict as a replacement for restrictChris Robinson2014-03-231-13/+2
| | | | | The compiler it's intended for, MSVC, can't use it anyway because of problems it causes with __declspec(restrict).