Commit graph portaudio/CMakeLists.txt
Author SHA1 Message Date
Nemirtingas
fd0d181261 Add the install interface. 2020-10-29 11:30:33 +11:00
Jean-Michaël Celerier
58fe947b7f Add support for enabling dynamic alsa loading in CMakeLists.txt
It had been added to the source code a long time ago, but was not integrated to the
build system.
2020-10-22 11:50:48 +11:00
Ingo Bauersachs
e1443bae25
Fix CMake build after renaming readme 2020-09-27 00:02:53 +02:00
Etienne Dechamps
95e86c307b Install pa_win_waveformat.h with MME, DirectSound and WASAPI.
pa_win_wmme.h, pa_win_ds.h and pa_win_wasapi.h all include
pa_win_waveformat.h. If the latter is not installed, none of these
headers are usable.
2018-12-15 15:04:20 +00:00
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
Nicholas Appleton
294881a1b9 fix typo 2018-10-04 20:09:08 +10: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
a1f61a9a2c fix a tragic typo I made which prevented WASAPI being included with the CMake support. 2017-01-15 21:30:35 +11:00
Nicholas Appleton
e0947b7d6a replicate the library dependencies in the configure script 2016-10-02 21:50:42 +11:00
Nick Appleton
0c10cb6c0c address all problems picked up by cmakelint except for line-length related comments. don't use min() in paex_record_file as it is a macro specific to windows. 2016-09-15 22:52:44 +10:00
Nicholas Appleton
2251a12026 undo whitespace change to pa_win_wasapi.c and fix a CMake grumbling about an unmatched ENDIF() closing expression 2016-09-13 22:16:55 +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
cdbc78e54f change the compiler flags into a compiler definitions list as we never modify the flags - add some documentation 2016-08-27 10:43:42 +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
rbencina
71b8f8142e Removed MSVC dependence on ksguid.lib from src/os/win/pa_win_wdmks_utils.c (ksguid.lib is no longer in Platform SDK 8.0). Always use static instances of GUIDs like the GCC builds do. Removed ksguid.lib from MSVC project file. The following symbols are no longer used: PA_WDMKS_NO_KSGUID_LIB, PAWIN_WDMKS_NO_KSGUID_LIB; removed them from CMakeLists.txt and the MSVC project file. 2015-01-21 05:35:39 +00:00
robiwan
4aa340a57e CMake: Added PA_WDMKS_NO_KSGUID_LIB to WDMKS and solution folders
WDMKS: Support for default device (see caveat for input devices though in ScanDeviceInfos)
       Added possibility to set channel mask
2014-04-09 14:27:21 +00:00
robiwan
3d13eb88be Added option to CMakeLists.txt to enable PA debug output 2012-06-29 11:45:21 +00: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
robiwan
c5874f23c4 Merged WaveRT branch (excluding stuff pertaining to ticket #169) 2012-02-14 09:32:57 +00:00
rob_bielik
e535a7b800 Initial CMake support (MSVC only at the moment) 2011-05-19 08:24:02 +00:00