mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00

- build msvc importlibs explicitly from def file - circumvent lack of pseh lib in MSVC. - fix advapi32.def svn path=/branches/cmake-bringup/; revision=49409
27 lines
No EOL
552 B
CMake
27 lines
No EOL
552 B
CMake
|
|
set_unicode()
|
|
|
|
include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
|
|
|
|
spec2def(lsasrv.dll lsasrv.spec)
|
|
|
|
add_library(lsasrv SHARED
|
|
authport.c
|
|
lsarpc.c
|
|
lsasrv.c
|
|
privileges.c
|
|
sids.c
|
|
lsasrv.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
|
|
|
|
set_entrypoint(lsasrv 0)
|
|
|
|
target_link_libraries(lsasrv
|
|
lsa_server
|
|
wine
|
|
${PSEH_LIB})
|
|
|
|
add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
|
|
add_dependencies(lsasrv psdk buildno_header)
|
|
add_cab_target(lsasrv 1) |