Commit Graph

10 Commits

Author SHA1 Message Date
ottona a5db74568f towards win buildability 2022-08-18 15:35:37 +02:00
Ben Rosser 1dfc07ecc3 If CAUDIO_SYSTEM_OGG is set, use system ogg/vorbis
This commit makes it possible to link against system-wide copies
of libogg and libvorbis instead of using the bundled dependencies
here, by setting -DCAUDIO_SYSTEM_OGG=TRUE at configuration time.
By default, CAUDIO_SYSTEM_OGG is False so as to not break any
default behavior.
2016-07-21 16:22:18 -04:00
Gero Müller 86c95061fa use CMAKE_INSTALL_PREFIX on linux 2012-05-03 10:14:39 +02:00
Jonas Erlandsson c9cfd31b29 Linux compat changes.
Removed line 4-6 in CMake/InstallDependencies.cmake so Linux also get the macros.
Edited DependenciesSource/.../CMakeLists.txt to add -fPIC compiler option on Linux 64bit.
Edited all Examples/.../CMakeLists.txt to rename "Main.cpp" to "main.cpp".
Edited cAudio/include/cSTLAllocator.h to make the inclusion of cstddef.h explicit for gcc 2.6+.

Despite this you still need to copy Dependencies/include/OpenAL/alc.h to /usr/include/AL/alc.h (for Ubuntu or whatever path that is on your system) for it to compile if you are not running the development build of OpenAL.
2011-12-27 12:37:02 +01:00
Murat Suri 7d3ca20853 * Fix static build 2011-06-25 23:43:01 +00:00
Murat Suri c0d73de948 * When you disable ogg now vorbis/ogg projects are excluded also the Ogg source files are excluded 2011-06-05 12:35:14 +00:00
Murat Suri 3e062d42ca * Extend CMake build system to reflect all cAudio options (get rid of the cAudioDefines) - now CMake auto generates a cAudioBuildSettings.h based on the user options (this is made per CMake build)
* Modify license headers to reflect new copyrights
2011-06-02 19:59:20 +00:00
Murat Suri 21ab759676 * Fix OpenAL detection on OSX (this do not work for iOS atm)
* Fix samples on OSX
* Fix compile errors on non Windows machine for cAudioString
2011-05-29 09:47:42 +00:00
Raynaldo Rivera 7d1c0d65fd Murat Sari's Fix 2011-05-22 21:00:49 +00:00
Raynaldo Rivera 68df33ca10 Uploading new structure of cAudio using wolfmanfx's cmake system 2011-05-19 04:24:29 +00:00