xref: /reactos/dll/win32/userenv/CMakeLists.txt (revision 53221834)
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
16list(APPEND PCH_SKIP_SOURCE
17    ${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c)
18
19add_library(userenv MODULE
20    ${SOURCE}
21    ${PCH_SKIP_SOURCE}
22    userenv.rc
23    ${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
24
25set_module_type(userenv win32dll)
26target_link_libraries(userenv uuid)
27add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
28add_pch(userenv precomp.h "${PCH_SKIP_SOURCE}")
29add_cd_file(TARGET userenv DESTINATION reactos/system32 FOR all)
30