df63e67171b82fdde17aa6683b8ef8217550c88a
[reactos.git] / dll / win32 / winsta / CMakeLists.txt
1
2 spec2def(winsta ${CMAKE_CURRENT_SOURCE_DIR}/winsta.spec ${CMAKE_CURRENT_BINARY_DIR}/winsta.def)
3
4 list(APPEND SOURCE
5 logon.c
6 main.c
7 misc.c
8 query.c
9 security.c
10 server.c
11 ws.c
12 winsta.rc)
13
14 add_library(winsta SHARED
15 ${CMAKE_CURRENT_BINARY_DIR}/winsta_winsta.h.gch
16 ${SOURCE})
17
18 set_module_type(winsta win32dll)
19
20 target_link_libraries(winsta
21 ${CMAKE_CURRENT_BINARY_DIR}/winsta.def
22 wine)
23
24 add_importlibs(winsta kernel32 ntdll)
25 add_pch(winsta ${CMAKE_CURRENT_SOURCE_DIR}/winsta.h ${SOURCE})
26 add_dependencies(winsta winsta_def)