2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(userenv.dll userenv.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
desktop.c
|
|
|
|
directory.c
|
|
|
|
environment.c
|
|
|
|
gpolicy.c
|
|
|
|
misc.c
|
|
|
|
profile.c
|
|
|
|
registry.c
|
|
|
|
setup.c
|
2016-07-31 13:46:23 +00:00
|
|
|
sid.c
|
2011-05-16 13:12:07 +00:00
|
|
|
userenv.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h)
|
|
|
|
|
|
|
|
add_library(userenv SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
userenv.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
|
|
|
|
|
|
|
|
set_module_type(userenv win32dll)
|
|
|
|
target_link_libraries(userenv uuid)
|
|
|
|
add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(userenv precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET userenv DESTINATION reactos/system32 FOR all)
|