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