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
|
|
|
|
lpk.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
|
|
|
|
|
|
|
|
add_library(lpk SHARED ${SOURCE})
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(lpk win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(lpk user32 usp10 msvcrt kernel32 ntdll)
|
2011-08-11 15:16:48 +00:00
|
|
|
add_pch(lpk ros_lpk.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET lpk DESTINATION reactos/system32 FOR all)
|