[USER32] Add support for navigating a group of radio buttons using a keyboard.
[reactos.git] / win32ss / user / winsrv / CMakeLists.txt
1
2 # Console Configuration library
3 add_subdirectory(concfg)
4
5 include_directories(
6 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys
7 ${REACTOS_SOURCE_DIR}/win32ss/include)
8
9 spec2def(winsrv.dll winsrv.spec)
10
11 # The components
12 include(consrv.cmake)
13 include(usersrv.cmake)
14
15 list(APPEND SOURCE
16 init.c
17 winsrv.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/winsrv.def)
19
20 add_library(winsrv SHARED ${SOURCE})
21 set_module_type(winsrv win32dll UNICODE ENTRYPOINT DllMain 12)
22 #############################################
23 ## HACK FOR MSVC COMPILATION WITH win32dll ##
24 set_subsystem(winsrv console)
25 ################# END HACK #################
26
27 # Add the components
28 target_link_libraries(winsrv consrv usersrv)
29 # Add win32ksys because of NtUser...()
30 target_link_libraries(winsrv ${CONSRV_TARGET_LINK_LIBS} win32ksys libcntpr ${PSEH_LIB})
31
32 add_delay_importlibs(winsrv ${CONSRV_DELAY_IMPORT_LIBS} advapi32)
33 add_importlibs(winsrv ${CONSRV_IMPORT_LIBS} ${USERSRV_IMPORT_LIBS} csrsrv gdi32 user32 kernel32 ntdll)
34 add_dependencies(winsrv bugcodes xdk)
35 add_cd_file(TARGET winsrv DESTINATION reactos/system32 FOR all)