mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
20 lines
420 B
CMake
20 lines
420 B
CMake
|
|
add_definitions(-DLANGPACK)
|
|
include_directories(include)
|
|
spec2def(lpk.dll lpk.spec)
|
|
|
|
list(APPEND SOURCE
|
|
dllmain.c
|
|
stub.c
|
|
ros_lpk.h)
|
|
|
|
add_library(lpk SHARED
|
|
${SOURCE}
|
|
lpk.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
|
|
|
|
set_module_type(lpk win32dll UNICODE)
|
|
add_importlibs(lpk user32 usp10 msvcrt kernel32 ntdll)
|
|
add_pch(lpk ros_lpk.h SOURCE)
|
|
add_cd_file(TARGET lpk DESTINATION reactos/system32 FOR all)
|