2024-01-08 23:37:00 +08:00
|
|
|
|
|
|
|
project(winsharedutils)
|
|
|
|
|
|
|
|
|
2024-04-14 20:55:06 +08:00
|
|
|
add_library(winsharedutils MODULE hwnd.cpp darklistener.cpp theme.cpp version.cpp otsu.cpp cinterface.cpp clipboard.cpp lnk.cpp dllmain.cpp levenshtein.cpp muteprocess.cpp sapi_dll.cpp simplemecab.cpp SimpleBrowser.cpp MWebBrowser.cpp icon.cpp)
|
|
|
|
target_link_libraries(winsharedutils dwmapi)
|
2024-01-08 23:37:00 +08:00
|
|
|
if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
|
|
|
|
set_target_properties(winsharedutils PROPERTIES OUTPUT_NAME "winsharedutils64")
|
|
|
|
else()
|
|
|
|
set_target_properties(winsharedutils PROPERTIES OUTPUT_NAME "winsharedutils32")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|