comparison src/portaudio/cmake_support/options_cmake.h.in @ 4:e13257ea84a4

Add bzip2, zlib, liblo, portaudio sources
author Chris Cannam
date Wed, 20 Mar 2013 13:59:52 +0000
parents
children
comparison
equal deleted inserted replaced
3:6c505a35919a 4:e13257ea84a4
1 /* $Id: $
2
3 !!! @GENERATED_MESSAGE@ !!!
4
5 Header file configured by CMake to convert CMake options/vars to macros. It is done this way because if set via
6 preprocessor options, MSVC f.i. has no way of knowing when an option (or var) changes as there is no dependency chain.
7
8 The generated "options_cmake.h" should be included like so:
9
10 #ifdef PORTAUDIO_CMAKE_GENERATED
11 #include "options_cmake.h"
12 #endif
13
14 so that non-CMake build environments are left intact.
15
16 Source template: cmake_support/options_cmake.h.in
17 */
18
19 #ifdef _WIN32
20 #if defined(PA_USE_ASIO) || defined(PA_USE_DS) || defined(PA_USE_WMME) || defined(PA_USE_WASAPI) || defined(PA_USE_WDMKS)
21 #error "This header needs to be included before pa_hostapi.h!!"
22 #endif
23
24 #define PA_USE_ASIO @PA_ENABLE_ASIO@
25 #define PA_USE_DS @PA_ENABLE_DSOUND@
26 #define PA_USE_WMME @PA_ENABLE_WMME@
27 #define PA_USE_WASAPI @PA_ENABLE_WASAPI@
28 #define PA_USE_WDMKS @PA_ENABLE_WDMKS@
29 #else
30 #error "Platform currently not supported by CMake script"
31 #endif