2022-12-28 21:30:32 +00:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
2020-01-23 22:43:39 +00:00
|
|
|
|
|
|
|
project(sunshine_tools)
|
|
|
|
|
2024-02-03 20:29:09 +00:00
|
|
|
include_directories("${CMAKE_SOURCE_DIR}")
|
2020-01-23 22:43:39 +00:00
|
|
|
|
|
|
|
add_executable(dxgi-info dxgi.cpp)
|
2024-04-26 19:49:15 +00:00
|
|
|
set_target_properties(dxgi-info PROPERTIES CXX_STANDARD 20)
|
2020-01-23 22:43:39 +00:00
|
|
|
target_link_libraries(dxgi-info
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
2020-01-27 19:10:45 +00:00
|
|
|
dxgi
|
2021-05-17 19:21:57 +00:00
|
|
|
${PLATFORM_LIBRARIES})
|
2020-01-24 21:34:09 +00:00
|
|
|
target_compile_options(dxgi-info PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
|
|
|
|
|
|
|
add_executable(audio-info audio.cpp)
|
2024-04-26 19:49:15 +00:00
|
|
|
set_target_properties(audio-info PROPERTIES CXX_STANDARD 20)
|
2020-01-24 21:34:09 +00:00
|
|
|
target_link_libraries(audio-info
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
|
|
ksuser
|
2021-05-17 19:21:57 +00:00
|
|
|
${PLATFORM_LIBRARIES})
|
2020-01-27 19:10:45 +00:00
|
|
|
target_compile_options(audio-info PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
2021-07-18 22:24:55 +00:00
|
|
|
|
|
|
|
add_executable(sunshinesvc sunshinesvc.cpp)
|
2024-04-26 19:49:15 +00:00
|
|
|
set_target_properties(sunshinesvc PROPERTIES CXX_STANDARD 20)
|
2021-07-18 22:24:55 +00:00
|
|
|
target_link_libraries(sunshinesvc
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
|
|
wtsapi32
|
|
|
|
${PLATFORM_LIBRARIES})
|
|
|
|
target_compile_options(sunshinesvc PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
2023-01-18 05:55:44 +00:00
|
|
|
|
|
|
|
add_executable(ddprobe ddprobe.cpp)
|
2024-04-26 19:49:15 +00:00
|
|
|
set_target_properties(ddprobe PROPERTIES CXX_STANDARD 20)
|
2023-01-18 05:55:44 +00:00
|
|
|
target_link_libraries(ddprobe
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
|
|
dxgi
|
|
|
|
d3d11
|
|
|
|
${PLATFORM_LIBRARIES})
|
|
|
|
target_compile_options(ddprobe PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|