2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-DLANGPACK)
|
|
|
|
include_directories(include)
|
2018-05-30 12:41:22 +00:00
|
|
|
spec2def(lpk.dll lpk.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2018-05-30 12:41:22 +00:00
|
|
|
bidi.c
|
2019-05-23 19:59:30 +00:00
|
|
|
direction.c
|
2018-05-30 12:41:22 +00:00
|
|
|
lpk.c
|
2011-05-16 13:12:07 +00:00
|
|
|
stub.c
|
2014-02-10 12:19:56 +00:00
|
|
|
ros_lpk.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(lpk MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
lpk.rc
|
2022-10-05 21:19:48 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lpk_stubs.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
|
|
|
|
|
2022-10-05 21:19:48 +00:00
|
|
|
set_module_type(lpk win32dll UNICODE ENTRYPOINT LpkDllInitialize 12)
|
2018-05-30 12:41:22 +00:00
|
|
|
target_link_libraries(lpk wine)
|
2022-10-05 21:19:48 +00:00
|
|
|
add_importlibs(lpk usp10 version user32 gdi32 kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(lpk ros_lpk.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET lpk DESTINATION reactos/system32 FOR all)
|