mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 23:07:21 +00:00
Build the Windows client against the MSVC ABI while retaining clang language support. Use vcpkg for ANGLE and libsamplerate, and build MsQuic with its bundled static OpenSSL.
26 lines
389 B
CMake
26 lines
389 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
project(audiodev_WASAPI LANGUAGES C)
|
|
|
|
add_library(audiodev_WASAPI STATIC
|
|
capture_queue.c
|
|
format.c
|
|
guids.c
|
|
wasapi.c
|
|
)
|
|
|
|
target_link_libraries(audiodev_WASAPI
|
|
avrt
|
|
lg_common
|
|
ole32
|
|
uuid
|
|
)
|
|
|
|
if(MINGW)
|
|
target_link_libraries(audiodev_WASAPI m)
|
|
endif()
|
|
|
|
target_include_directories(audiodev_WASAPI
|
|
PRIVATE
|
|
"${CMAKE_CURRENT_SOURCE_DIR}"
|
|
)
|