2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(main.cpl main.spec)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
keyboard.c
|
|
|
|
main.c
|
|
|
|
mouse.c
|
2014-02-09 12:26:28 +00:00
|
|
|
main.h)
|
|
|
|
|
|
|
|
add_library(main SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
main.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/main.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(main cpl UNICODE)
|
2012-12-09 22:04:46 +00:00
|
|
|
target_link_libraries(main uuid)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_importlibs(main
|
|
|
|
msvcrt
|
|
|
|
advapi32
|
|
|
|
user32
|
|
|
|
comctl32
|
|
|
|
devmgr
|
|
|
|
comdlg32
|
|
|
|
shell32
|
|
|
|
gdi32
|
|
|
|
kernel32)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_pch(main main.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET main DESTINATION reactos/system32 FOR all)
|