LunaTranslator/cpp/winrtutils/CMakeLists.txt
恍兮惚兮 6c1c024804 .
2025-01-03 13:20:03 +08:00

15 lines
420 B
CMake

project(winrtutils)
generate_product_version(
versioninfo
NAME "LunaTranslator winrtutils"
COMPANY_COPYRIGHT "HIllya51 (C) 2024"
VERSION_MAJOR ${VERSION_MAJOR}
VERSION_MINOR ${VERSION_MINOR}
VERSION_PATCH ${VERSION_PATCH}
)
add_library(winrtutils MODULE winrtsnapshot.cpp winrtocr.cpp ${versioninfo})
target_precompile_headers(winrtutils REUSE_FROM pch)
target_link_libraries(winrtutils wil dwmapi)