LunaTranslator/cpp/winrtutils/CMakeLists.txt

15 lines
420 B
CMake
Raw Normal View History

2024-01-08 23:37:00 +08:00
project(winrtutils)
2024-05-01 19:58:58 +08:00
generate_product_version(
versioninfo
NAME "LunaTranslator winrtutils"
COMPANY_COPYRIGHT "HIllya51 (C) 2024"
VERSION_MAJOR ${VERSION_MAJOR}
VERSION_MINOR ${VERSION_MINOR}
VERSION_PATCH ${VERSION_PATCH}
)
2024-01-08 23:37:00 +08:00
2024-11-26 18:45:49 +08:00
add_library(winrtutils MODULE winrtsnapshot.cpp winrtocr.cpp ${versioninfo})
2024-05-03 01:54:36 +08:00
target_precompile_headers(winrtutils REUSE_FROM pch)
2025-01-03 13:20:03 +08:00
target_link_libraries(winrtutils wil dwmapi)