To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
The primary repository for this project is hosted at https://github.com/sonic-visualiser/sv-dependency-builds .
This repository is a read-only copy which is updated automatically every hour.
root / src / portaudio_20161030_catalina_patch / cmake_support / options_cmake.h.in @ 164:9fa11135915a
History | View | Annotate | Download (964 Bytes)
| 1 |
/* $Id: $ |
|---|---|
| 2 |
|
| 3 |
!!! @GENERATED_MESSAGE@ !!! |
| 4 |
|
| 5 |
Header file configured by CMake to convert CMake options/vars to macros. It is done this way because if set via |
| 6 |
preprocessor options, MSVC f.i. has no way of knowing when an option (or var) changes as there is no dependency chain. |
| 7 |
|
| 8 |
The generated "options_cmake.h" should be included like so: |
| 9 |
|
| 10 |
#ifdef PORTAUDIO_CMAKE_GENERATED |
| 11 |
#include "options_cmake.h" |
| 12 |
#endif |
| 13 |
|
| 14 |
so that non-CMake build environments are left intact. |
| 15 |
|
| 16 |
Source template: cmake_support/options_cmake.h.in |
| 17 |
*/ |
| 18 |
|
| 19 |
#ifdef _WIN32 |
| 20 |
#if defined(PA_USE_ASIO) || defined(PA_USE_DS) || defined(PA_USE_WMME) || defined(PA_USE_WASAPI) || defined(PA_USE_WDMKS) |
| 21 |
#error "This header needs to be included before pa_hostapi.h!!" |
| 22 |
#endif |
| 23 |
|
| 24 |
#cmakedefine01 PA_USE_ASIO |
| 25 |
#cmakedefine01 PA_USE_DS |
| 26 |
#cmakedefine01 PA_USE_WMME |
| 27 |
#cmakedefine01 PA_USE_WASAPI |
| 28 |
#cmakedefine01 PA_USE_WDMKS |
| 29 |
#else |
| 30 |
#error "Platform currently not supported by CMake script" |
| 31 |
#endif |