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)
|
|
|
|
|
2024-03-06 13:00:36 +00:00
|
|
|
set(ICONS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../win32/shell32/res/icons)
|
|
|
|
file(GLOB main_rc_deps resources/*.* ${ICONS_DIR}/38.ico ${ICONS_DIR}/39.ico)
|
2015-09-27 18:30:39 +00:00
|
|
|
add_rc_deps(main.rc ${main_rc_deps})
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(main MODULE
|
2014-02-09 12:26:28 +00:00
|
|
|
${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)
|
2014-10-17 23:28:29 +00:00
|
|
|
add_importlibs(main advapi32 user32 comctl32 devmgr comdlg32 shell32 gdi32 msvcrt 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)
|