Commit graph portaudio/cmake_support
Author SHA1 Message Date
Etienne Dechamps
0baa1e2e31 Treat DirectSound just like any other standard Windows SDK library.
Currently the CMake build system goes through complicated logic to
find the DirectX SDK. This is completely unnecessary, because modern
versions of the Windows SDK include dsound.h and dsound.lib in the
standard paths, so it can be treated just like the other Windows OS
libraries and we can safely assume it is available.

This commit simplifies the logic and will allow the vcpkg portaudio
port to align with portaudio stream, by getting rid of this patch:
  95f9ce56f3/ports/portaudio/find_dsound.patch

I have verified that PortAudio CMake still builds with this commit
with the following toolchains:
 - Windows Visual Studio 2017 native CMake support
 - mingw-w64 on Windows (msys2)
 - mingw-w64 cross-compiling from Debian Unstable
2018-12-15 15:04:20 +00:00
Nick Appleton
d3e00091c7 create and install cmake export targets to make it easier for people to include portaudio in larger projects: 2018-10-02 21:54:44 +10:00
Nicholas Appleton
ea11061b20 commit Rainer's work and make some minor modifications to the top-level cmakelists to make visual studio happy 2018-10-02 21:54:44 +10:00
Nicholas Appleton
0fc163720c supply pkg-config version via setting in CMakeLists.txt - allow installation when using MinGW 2016-09-13 22:04:31 +10:00
Nicholas Appleton
dc568d54a8 only build x86 plain converters in Visual Studio due because of assembly syntax. add library dependencies for asio to get MinGW builds linking. disable WASAPI when using MinGW as I cannot get it to work. 2016-09-13 21:55:31 +10:00
Nicholas Appleton
983a853635 move changes to cmake lists made in my personal github space into the assembla branch. I will work in here from this point. 2016-08-27 09:52:57 +10:00
Phil Burk
ed463ba658 Normalize all the line endings 2016-05-18 22:13:20 -07:00
robiwan
6803965617 General:
- Change of CMake options to utilize built in header configuration support (PA_USE_*)
- Added CMakeLists.txt for examples
- Added paex_ocean_shore.c as an example how to use PA ring buffer for lock-free communication with the audio callback
WDM-KS:
- Added better default sample rate support
- Made sure that all pins now have a name, even if only "Input" or "Output"
- IsUSBDevice fixed acc. to Alex Lessard's suggestion
- IsNameUSBAudioDevice fixed similarly
2012-02-22 12:20:26 +00:00
rob_bielik
e535a7b800 Initial CMake support (MSVC only at the moment) 2011-05-19 08:24:02 +00:00