7889ed1bf9d02e99c36a1e718538cf2d801cca23
[reactos.git] / dll / cpl / usrmgr / CMakeLists.txt
1
2 set_unicode()
3
4 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(usrmgr ${CMAKE_CURRENT_SOURCE_DIR}/usrmgr.spec ${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
7
8 add_library(usrmgr SHARED
9 extra.c
10 groupprops.c
11 groups.c
12 misc.c
13 userprops.c
14 users.c
15 usrmgr.c
16 usrmgr.rc)
17
18 set_module_type(usrmgr cpl)
19
20 target_link_libraries(usrmgr ${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
21
22 add_importlibs(usrmgr
23 advapi32
24 user32
25 gdi32
26 comctl32
27 netapi32
28 msvcrt
29 kernel32
30 ntdll)
31
32 add_dependencies(usrmgr usrmgr_def)
33 add_cab_target(usrmgr 1)