Stephen Sinclair
1558bb5077
[cmake] support previous RTAUDIO_BUILD_* variables
Compromise for changes in CMake build introduced by previous commit
that would interfere with use with add_subdirectory.
Re-adds:
- RTAUDIO_BUILD_TESTING
- RTAUDIO_BUILD_SHARED_LIBS
- RTAUDIO_BUILD_STATIC_LIBS
These now override BUILD_TESTING, BUILD_SHARED_LIBS, BUILD_STATIC_LIBS,
but only if they are defined and are not "".
6 years ago
Stephen Sinclair
944c378e2a
[cmake] expose some standard CMake options
- make build type a drop-down if it's not otherwise set.
- default to 'd' suffix for Windows debug builds only.
6 years ago
Francesco Bertolaccini
d3a4e88162
Update CMakeLists.txt
6 years ago
Stephen Sinclair
4ba65da527
Changes to CMakeLists to make use with add_subdirectory easier.
Analog of pr #190 for RtMidi.
6 years ago
Marcus Tomlinson
03599c1281
Check for '#if defined( WIN32 )' in test apps
6 years ago
Marcus Tomlinson
70250813b7
Fix CMake VS build
6 years ago
sonoro1234
be212c14cd
CMakeLists.txt: only change include in WASAPI
6 years ago
sonoro1234
ee101b2f7f
CMakeLists: avoid include error: C:\luaGL\gitsources\luaRtAudio\rtaudio\RtAudio.cpp:3758:43: fatal error: functiondiscoverykeys_devpkey.h: No s
uch file or directory
#include <functiondiscoverykeys_devpkey.h>
6 years ago
Benjamin Brown
d25f1ee06c
Use current directory.
6 years ago
Marcus Tomlinson
e0bbf5f1ca
Fix mingw32 WASAPI build
6 years ago
Stephen Sinclair
4a75d6db73
automake: Fix rtaudio.pc prefix variable
6 years ago
JP Cimalando
609a2c2f0a
enable selective exports in CMake builds
6 years ago
Stephen Sinclair
ecafdd6f41
cmake: forgot the C API!
6 years ago
Stephen Sinclair
9802c12859
cmake: make CMakeLists.txt more similar to RtMidi's
6 years ago
Stephen Sinclair
adefaebdbc
cmake: Flatten API config logic, complete missing rtaudio.pc fields
Closes #106 .
Fixes #137 .
6 years ago
sonoro1234
8f4579a2f8
avoid cmake error: "install Library TARGETS given no DESTINATION!"
7 years ago
Claudio Cabral
4a7ca4f1d4
fix cmake build system missing variables in pkgconfig
7 years ago
bejuryu
021df8fa72
fixed cmake install error : rtaudio.pc error
7 years ago
Serge Zaitsev
5c69780f4b
add rtaudio c api wrappers ( #98 )
add rtaudio c api wrappers
7 years ago
Stephen Sinclair
f075fd0339
Add CMake install targets
Closes #86
7 years ago
sudden6
33444d6501
Pulseaudio backend also needs pthreads
8 years ago
Berkus Decker
73339493ae
Add ALSA include directories to fix compile on some systems.
9 years ago
Berkus Decker
3a3d648108
Disable policy change for cmake 3.0
10 years ago
Gary Scavone
c0b9de42a3
Removed add_defines line for ALSA from CMakeLists.txt file, as it does not seem necessary (and the add_defines macro does not exist)
11 years ago
Gary Scavone
9a920447e1
Bug fix in Core, Jack, ASIO, and DS for internal draining in INPUT mode only; Added some mutexes in DS to fix input-only errors; Added libraries to CMakeLists.txt for MinGW compile of WASAPI.
11 years ago
Gary Scavone
3db24e95fe
Updates to WASAPI API to support MinGW compile.
11 years ago
Gary Scavone
4be80163cd
Update to CMake file for WASAPI; documentation update for CMake; finalized date for release 4.1.0
11 years ago
Berkus
704da88113
Build test programs.
11 years ago
Berkus
184ac3fff2
Set some flags depending on compiler and environment.
11 years ago
Berkus
f31af1aa0f
Add full API selection mechanism.
Mostly copied from configure.ac.
11 years ago
Berkus
447333f40a
Remove primitive API selection code.
11 years ago
Berkus
cba3e8a203
Add options for manual selection of APIs.
11 years ago
Berkus
446401ac1d
Add prologue code.
11 years ago
Berkus
f35571c600
Add CMake buildfile.
11 years ago