xref: /reactos/dll/cpl/usrmgr/CMakeLists.txt (revision 4561998a)
1
2include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3spec2def(usrmgr.cpl usrmgr.spec)
4
5list(APPEND SOURCE
6    extra.c
7    groupprops.c
8    groups.c
9    misc.c
10    userprops.c
11    users.c
12    usrmgr.c
13    usrmgr.h)
14
15file(GLOB usrmgr_rc_deps resources/*.*)
16add_rc_deps(usrmgr.rc ${usrmgr_rc_deps})
17
18add_library(usrmgr SHARED
19    ${SOURCE}
20    usrmgr.rc
21    ${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
22
23set_module_type(usrmgr cpl UNICODE)
24add_importlibs(usrmgr advapi32 user32 gdi32 comctl32 netapi32 msvcrt kernel32 ntdll)
25add_pch(usrmgr usrmgr.h SOURCE)
26add_cd_file(TARGET usrmgr DESTINATION reactos/system32 FOR all)
27