# Conflicts: # .github/workflows/ci-copr.yml # .github/workflows/ci-flatpak.yml # .github/workflows/ci-homebrew.yml # .github/workflows/ci-linux.yml # .github/workflows/ci-windows.yml # .github/workflows/ci.yml # .github/workflows/localize.yml # README.md # scripts/icons/convert_and_pack.sh # src/config.cpp # src/config.h # src/confighttp.cpp # src/logging.cpp # src/video.cpp # src_assets/common/assets/web/config.html # src_assets/common/assets/web/public/assets/locale/en.json # src_assets/common/assets/web/public/assets/locale/it.json # src_assets/windows/misc/gamepad/install-gamepad.bat # third-party/build-deps # third-party/moonlight-common-c # tools/CMakeLists.txt
31 lines
995 B
CMake
31 lines
995 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 utils.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})
|