mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Some checks failed
CodeQL / CodeQL (push) Has been cancelled
CI / GitHub Env Debug (push) Has been cancelled
CI / Release Setup (push) Has been cancelled
CI / Docker (push) Has been cancelled
CI / Homebrew (push) Has been cancelled
CI / Linux (push) Has been cancelled
CI / Linux Copr (push) Has been cancelled
CI / Linux Flatpak (push) Has been cancelled
CI / Windows (push) Has been cancelled
CI / Coverage-Homebrew-macos-13 (push) Has been cancelled
CI / Coverage-Homebrew-macos-14 (push) Has been cancelled
CI / Coverage-Homebrew-macos-15 (push) Has been cancelled
CI / Coverage-Homebrew-ubuntu-latest (push) Has been cancelled
CI / Coverage-Linux-AppImage (push) Has been cancelled
CI / Coverage-Windows-AMD64 (push) Has been cancelled
CI / Release (push) Has been cancelled
CI / Release Homebrew Beta (push) Has been cancelled
Build GH-Pages / prep (push) Has been cancelled
Build GH-Pages / call-jekyll-build (push) Has been cancelled
31 lines
987 B
CMake
31 lines
987 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
project(sunshine_tools)
|
|
|
|
include_directories("${CMAKE_SOURCE_DIR}")
|
|
|
|
add_executable(dxgi-info dxgi.cpp)
|
|
set_target_properties(dxgi-info PROPERTIES CXX_STANDARD 23)
|
|
target_link_libraries(dxgi-info
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
dxgi
|
|
${PLATFORM_LIBRARIES})
|
|
target_compile_options(dxgi-info PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
|
|
|
add_executable(audio-info audio.cpp)
|
|
set_target_properties(audio-info PROPERTIES CXX_STANDARD 23)
|
|
target_link_libraries(audio-info
|
|
${Boost_LIBRARIES}
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
ksuser
|
|
${PLATFORM_LIBRARIES})
|
|
target_compile_options(audio-info PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
|
|
|
add_executable(sunshinesvc sunshinesvc.cpp)
|
|
set_target_properties(sunshinesvc PROPERTIES CXX_STANDARD 23)
|
|
target_link_libraries(sunshinesvc
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
wtsapi32
|
|
${PLATFORM_LIBRARIES})
|
|
target_compile_options(sunshinesvc PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|