Chris@39: /* $Id: $ Chris@39: Chris@39: !!! @GENERATED_MESSAGE@ !!! Chris@39: Chris@39: Header file configured by CMake to convert CMake options/vars to macros. It is done this way because if set via Chris@39: preprocessor options, MSVC f.i. has no way of knowing when an option (or var) changes as there is no dependency chain. Chris@39: Chris@39: The generated "options_cmake.h" should be included like so: Chris@39: Chris@39: #ifdef PORTAUDIO_CMAKE_GENERATED Chris@39: #include "options_cmake.h" Chris@39: #endif Chris@39: Chris@39: so that non-CMake build environments are left intact. Chris@39: Chris@39: Source template: cmake_support/options_cmake.h.in Chris@39: */ Chris@39: Chris@39: #ifdef _WIN32 Chris@39: #if defined(PA_USE_ASIO) || defined(PA_USE_DS) || defined(PA_USE_WMME) || defined(PA_USE_WASAPI) || defined(PA_USE_WDMKS) Chris@39: #error "This header needs to be included before pa_hostapi.h!!" Chris@39: #endif Chris@39: Chris@39: #cmakedefine01 PA_USE_ASIO Chris@39: #cmakedefine01 PA_USE_DS Chris@39: #cmakedefine01 PA_USE_WMME Chris@39: #cmakedefine01 PA_USE_WASAPI Chris@39: #cmakedefine01 PA_USE_WDMKS Chris@39: #else Chris@39: #error "Platform currently not supported by CMake script" Chris@39: #endif