1 2add_definitions(-DLANGPACK) 3include_directories(include) 4spec2def(lpk.dll lpk.spec ADD_IMPORTLIB) 5 6list(APPEND SOURCE 7 bidi.c 8 direction.c 9 lpk.c 10 stub.c 11 ros_lpk.h) 12 13add_library(lpk MODULE 14 ${SOURCE} 15 lpk.rc 16 ${CMAKE_CURRENT_BINARY_DIR}/lpk.def) 17 18set_module_type(lpk win32dll UNICODE) 19 20target_link_libraries(lpk wine) 21 22add_importlibs(lpk usp10 version user32 gdi32 msvcrt kernel32 ntdll) 23add_pch(lpk ros_lpk.h SOURCE) 24add_cd_file(TARGET lpk DESTINATION reactos/system32 FOR all) 25