1 2spec2def(userenv.dll userenv.spec ADD_IMPORTLIB) 3 4list(APPEND SOURCE 5 desktop.c 6 directory.c 7 environment.c 8 gpolicy.c 9 misc.c 10 profile.c 11 registry.c 12 setup.c 13 sid.c 14 userenv.c 15 precomp.h) 16 17add_library(userenv MODULE 18 ${SOURCE} 19 userenv.rc 20 ${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c 21 ${CMAKE_CURRENT_BINARY_DIR}/userenv.def) 22 23set_module_type(userenv win32dll) 24target_link_libraries(userenv uuid) 25add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll) 26add_pch(userenv precomp.h SOURCE) 27add_cd_file(TARGET userenv DESTINATION reactos/system32 FOR all) 28