2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-DLANGPACK)
|
|
|
|
include_directories(include)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(lpk.dll lpk.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
dllmain.c
|
|
|
|
stub.c
|
2014-02-10 12:19:56 +00:00
|
|
|
ros_lpk.h)
|
|
|
|
|
|
|
|
add_library(lpk SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
lpk.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(lpk win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(lpk user32 usp10 msvcrt 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)
|