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