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