diff options
author | sanine <sanine.not@pm.me> | 2022-08-25 14:54:53 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-25 14:54:53 -0500 |
commit | 37c97e345d12f95dde44e1d1a4c2f2aadd4615bc (patch) | |
tree | e1bb25bc855883062bdd7847ff2c04290f71c840 /build/cmake/portaudio/portaudioTargets.cmake | |
parent | 5634c7b04da619669f2f29f6798c03982be05180 (diff) |
add initial structure
Diffstat (limited to 'build/cmake/portaudio/portaudioTargets.cmake')
-rw-r--r-- | build/cmake/portaudio/portaudioTargets.cmake | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/build/cmake/portaudio/portaudioTargets.cmake b/build/cmake/portaudio/portaudioTargets.cmake new file mode 100644 index 0000000..1f5e9ca --- /dev/null +++ b/build/cmake/portaudio/portaudioTargets.cmake @@ -0,0 +1,79 @@ +# Generated by CMake + +if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) + message(FATAL_ERROR "CMake >= 2.6.0 required") +endif() +cmake_policy(PUSH) +cmake_policy(VERSION 2.6...3.19) +#---------------------------------------------------------------- +# Generated CMake target import file. +#---------------------------------------------------------------- + +# Commands may need to know the format version. +set(CMAKE_IMPORT_FILE_VERSION 1) + +# Protect against multiple inclusion, which would fail when already imported targets are added once more. +set(_targetsDefined) +set(_targetsNotDefined) +set(_expectedTargets) +foreach(_expectedTarget portaudio portaudio_static) + list(APPEND _expectedTargets ${_expectedTarget}) + if(NOT TARGET ${_expectedTarget}) + list(APPEND _targetsNotDefined ${_expectedTarget}) + endif() + if(TARGET ${_expectedTarget}) + list(APPEND _targetsDefined ${_expectedTarget}) + endif() +endforeach() +if("${_targetsDefined}" STREQUAL "${_expectedTargets}") + unset(_targetsDefined) + unset(_targetsNotDefined) + unset(_expectedTargets) + set(CMAKE_IMPORT_FILE_VERSION) + cmake_policy(POP) + return() +endif() +if(NOT "${_targetsDefined}" STREQUAL "") + message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n") +endif() +unset(_targetsDefined) +unset(_targetsNotDefined) +unset(_expectedTargets) + + +# Create imported target portaudio +add_library(portaudio SHARED IMPORTED) + +set_target_properties(portaudio PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "/home/kate/documents/code/lib/c/mossrose/portaudio/include" +) + +# Create imported target portaudio_static +add_library(portaudio_static STATIC IMPORTED) + +set_target_properties(portaudio_static PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "/home/kate/documents/code/lib/c/mossrose/portaudio/include" +) + +# Import target "portaudio" for configuration "" +set_property(TARGET portaudio APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(portaudio PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "/usr/lib/x86_64-linux-gnu/libasound.so;m;pthread" + IMPORTED_LOCATION_NOCONFIG "/home/kate/documents/code/lib/c/mossrose/build/portaudio/libportaudio.so" + IMPORTED_SONAME_NOCONFIG "libportaudio.so" + ) + +# Import target "portaudio_static" for configuration "" +set_property(TARGET portaudio_static APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(portaudio_static PROPERTIES + IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "C" + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "/usr/lib/x86_64-linux-gnu/libasound.so;m;pthread" + IMPORTED_LOCATION_NOCONFIG "/home/kate/documents/code/lib/c/mossrose/build/portaudio/libportaudio.a" + ) + +# This file does not depend on other imported targets which have +# been exported from the same project but in a separate export set. + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) +cmake_policy(POP) |