2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
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)
|
|
|
|
|
2015-09-27 18:30:39 +00:00
|
|
|
file(GLOB usrmgr_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(usrmgr.rc ${usrmgr_rc_deps})
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
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)
|
2014-10-17 23:28:29 +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)
|