mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
![Katayama Hirofumi MZ](/assets/img/avatar_default.png)
Reduce DLL initialization cost. - Delay-import msctf.dll, oleaut32.dll, and imm32.dll. - Unlink comctl32.dll. CORE-19360
23 lines
657 B
CMake
23 lines
657 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/win32ss/include)
|
|
|
|
spec2def(msctfime.ime msctfime.spec)
|
|
|
|
list(APPEND SOURCE
|
|
msctfime.cpp)
|
|
|
|
file(GLOB msctfime_rc_deps res/*.*)
|
|
add_rc_deps(msctfime.rc ${msctfime_rc_deps})
|
|
|
|
add_library(msctfime MODULE
|
|
${SOURCE}
|
|
msctfime.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/msctfime.def)
|
|
set_module_type(msctfime win32dll UNICODE)
|
|
set_target_properties(msctfime PROPERTIES SUFFIX ".ime")
|
|
target_link_libraries(msctfime wine uuid)
|
|
add_importlibs(msctfime user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
|
add_delay_importlibs(msctfime msctf oleaut32 imm32)
|
|
add_cd_file(TARGET msctfime DESTINATION reactos/system32 FOR all)
|