2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
spec2def(usrmgr.cpl usrmgr.spec)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
extra.c
|
|
|
|
groupprops.c
|
|
|
|
groups.c
|
|
|
|
misc.c
|
|
|
|
userprops.c
|
|
|
|
users.c
|
|
|
|
usrmgr.c
|
2014-02-09 12:26:28 +00:00
|
|
|
usrmgr.h)
|
|
|
|
|
|
|
|
add_library(usrmgr SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
usrmgr.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(usrmgr cpl UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_importlibs(usrmgr
|
|
|
|
advapi32
|
|
|
|
user32
|
|
|
|
gdi32
|
|
|
|
comctl32
|
|
|
|
netapi32
|
|
|
|
msvcrt
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_pch(usrmgr usrmgr.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET usrmgr DESTINATION reactos/system32 FOR all)
|