AprilAndFriends / theoraplayer

A multi-threaded C++ library that plays video files supporting multiple codecs across platforms. Easy to use, fast, responsive, abstract interface and minimal dependencies, you'll soon be wondering how you lived without it! ;) Audio and Video interfaces are completely abstracted so the library can be used anywhere, regardless of what you use to display video frames and play audio samples (eg. OpenGL / OpenAL, Direct3D / DirectSound?, SDL / SDL_mixer, X11 / alsa ...) The library can pre-cache video frames and decoded audio samples for maximum efficiency and smooth playback, even on single-cpu systems. Currently, the library supports Theora on Windows, Mac, iOS, Linux, Android, WinRT and Windows Phone. H.264 is supported on Mac and iOS.
BSD 3-Clause "New" or "Revised" License
84 stars 43 forks source link

OSX uses clang c++ library in newer code #11

Open blloyd75 opened 7 years ago

blloyd75 commented 7 years ago

The current projects are configured to build using 10.6 and later using gcc's c++ library.

The player works fine when compiled using clang's library along with 10.7 as minimum version. I would like to add support for the clang version (I'm in a project dependent on that c++ implementation already).

I'm willing to do the work, but wanted to discuss how first. I was considering new targets for the OSX clang with a minimum OS of 10.7, so none of the existing setups change. This ends up with double the OSX targets though, and there are already a lot.

I wanted to discuss options before actually doing anything, so that everyone is on the same page.

kspes commented 7 years ago

we' using clang c++ library and 10.7 asa minimum internally and it works fine as you said.

What probably needs to be done is to just set up the project's xcconfig files to use 10.7 as a minimum and clang as a default. I don't think new targets are needed, each project that integrates the library's source code can control the setting via xcconfig files. Or did I misunderstand something?