2020-01-23 23:43:39 +01:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
|
|
project(sunshine_tools)
|
|
|
|
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR})
|
|
|
|
|
|
|
|
add_executable(dxgi-info dxgi.cpp)
|
|
|
|
set_target_properties(dxgi-info PROPERTIES CXX_STANDARD 17)
|
|
|
|
target_link_libraries(dxgi-info
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
2020-01-27 20:10:45 +01:00
|
|
|
dxgi
|
2021-05-17 21:21:57 +02:00
|
|
|
${PLATFORM_LIBRARIES})
|
2020-01-24 22:34:09 +01:00
|
|
|
target_compile_options(dxgi-info PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
|
|
|
|
|
|
|
add_executable(audio-info audio.cpp)
|
|
|
|
set_target_properties(audio-info PROPERTIES CXX_STANDARD 17)
|
|
|
|
target_link_libraries(audio-info
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
|
|
ksuser
|
2021-05-17 21:21:57 +02:00
|
|
|
${PLATFORM_LIBRARIES})
|
2020-01-27 20:10:45 +01:00
|
|
|
target_compile_options(audio-info PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
2021-07-18 17:24:55 -05:00
|
|
|
|
|
|
|
add_executable(sunshinesvc sunshinesvc.cpp)
|
|
|
|
set_target_properties(sunshinesvc PROPERTIES CXX_STANDARD 17)
|
|
|
|
target_link_libraries(sunshinesvc
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
|
|
wtsapi32
|
|
|
|
${PLATFORM_LIBRARIES})
|
|
|
|
target_compile_options(sunshinesvc PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|