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