0d333dcef097c697026178526a53c7471fe98488
[reactos.git] / dll / win32 / userenv / CMakeLists.txt
1
2 spec2def(userenv ${CMAKE_CURRENT_SOURCE_DIR}/userenv.spec ${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
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
16 add_library(userenv SHARED
17 ${CMAKE_CURRENT_BINARY_DIR}/userenv_precomp.h.gch
18 ${SOURCE})
19
20 set_module_type(userenv win32dll)
21
22 target_link_libraries(userenv
23 ${CMAKE_CURRENT_BINARY_DIR}/userenv.def
24 uuid)
25
26 add_importlibs(userenv advapi32 user32 kernel32 ntdll)
27 add_pch(userenv ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
28 add_dependencies(userenv userenv_def)
29 add_livecd_target(userenv reactos/system32)