Sync with trunk r58033.
[reactos.git] / dll / win32 / userenv / CMakeLists.txt
1
2 spec2def(userenv.dll userenv.spec ADD_IMPORTLIB)
3
4 list(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 userenv.c
14 userenv.rc
15 ${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c
16 ${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
17
18 add_library(userenv SHARED ${SOURCE})
19 set_module_type(userenv win32dll)
20 target_link_libraries(userenv uuid)
21 add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
22 add_pch(userenv precomp.h)
23 add_cd_file(TARGET userenv DESTINATION reactos/system32 FOR all)