xref: /reactos/dll/win32/lpk/CMakeLists.txt (revision 84344399)
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_stubs.c
17    ${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
18
19set_module_type(lpk win32dll UNICODE ENTRYPOINT LpkDllInitialize 12)
20target_link_libraries(lpk wine)
21add_importlibs(lpk usp10 version user32 gdi32 kernel32 ntdll)
22add_pch(lpk ros_lpk.h SOURCE)
23add_cd_file(TARGET lpk DESTINATION reactos/system32 FOR all)
24