2011-05-16 13:12:07 +00:00
|
|
|
|
2012-05-20 18:31:10 +00:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/sam.idl)
|
2012-05-20 18:31:10 +00:00
|
|
|
spec2def(samsrv.dll samsrv.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2013-03-12 20:07:56 +00:00
|
|
|
alias.c
|
2012-05-27 05:33:07 +00:00
|
|
|
database.c
|
2013-01-12 16:22:46 +00:00
|
|
|
domain.c
|
2013-01-12 15:30:28 +00:00
|
|
|
group.c
|
2012-06-01 18:03:25 +00:00
|
|
|
registry.c
|
2012-05-20 18:31:10 +00:00
|
|
|
samrpc.c
|
2011-05-16 13:12:07 +00:00
|
|
|
samsrv.c
|
2013-06-23 14:26:18 +00:00
|
|
|
security.c
|
2012-05-21 13:38:32 +00:00
|
|
|
setup.c
|
2013-01-12 21:32:26 +00:00
|
|
|
user.c
|
2013-05-22 13:56:49 +00:00
|
|
|
utils.c
|
2014-02-10 12:19:56 +00:00
|
|
|
samsrv.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sam_s.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/samsrv_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(samsrv MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
samsrv.rc
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/samsrv.def)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(samsrv win32dll UNICODE)
|
2012-05-20 18:31:10 +00:00
|
|
|
target_link_libraries(samsrv wine ${PSEH_LIB})
|
2014-10-17 23:28:29 +00:00
|
|
|
add_importlibs(samsrv rpcrt4 advapi32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(samsrv samsrv.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET samsrv DESTINATION reactos/system32 FOR all)
|