annotate src/portaudio_20140130/cmake_support/options_cmake.h.in @ 151:fe80428a60a5

Add AppImage files
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 26 Jun 2018 18:00:44 +0100
parents e3d5853d5918
children
rev   line source
cannam@124 1 /* $Id: $
cannam@124 2
cannam@124 3 !!! @GENERATED_MESSAGE@ !!!
cannam@124 4
cannam@124 5 Header file configured by CMake to convert CMake options/vars to macros. It is done this way because if set via
cannam@124 6 preprocessor options, MSVC f.i. has no way of knowing when an option (or var) changes as there is no dependency chain.
cannam@124 7
cannam@124 8 The generated "options_cmake.h" should be included like so:
cannam@124 9
cannam@124 10 #ifdef PORTAUDIO_CMAKE_GENERATED
cannam@124 11 #include "options_cmake.h"
cannam@124 12 #endif
cannam@124 13
cannam@124 14 so that non-CMake build environments are left intact.
cannam@124 15
cannam@124 16 Source template: cmake_support/options_cmake.h.in
cannam@124 17 */
cannam@124 18
cannam@124 19 #ifdef _WIN32
cannam@124 20 #if defined(PA_USE_ASIO) || defined(PA_USE_DS) || defined(PA_USE_WMME) || defined(PA_USE_WASAPI) || defined(PA_USE_WDMKS)
cannam@124 21 #error "This header needs to be included before pa_hostapi.h!!"
cannam@124 22 #endif
cannam@124 23
cannam@124 24 #cmakedefine01 PA_USE_ASIO
cannam@124 25 #cmakedefine01 PA_USE_DS
cannam@124 26 #cmakedefine01 PA_USE_WMME
cannam@124 27 #cmakedefine01 PA_USE_WASAPI
cannam@124 28 #cmakedefine01 PA_USE_WDMKS
cannam@124 29 #else
cannam@124 30 #error "Platform currently not supported by CMake script"
cannam@124 31 #endif