xref: /reactos/dll/win32/winsta/CMakeLists.txt (revision 7eead935)
1
2spec2def(winsta.dll winsta.spec)
3
4include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
5
6list(APPEND SOURCE
7    logon.c
8    main.c
9    misc.c
10    query.c
11    security.c
12    server.c
13    ws.c
14    winsta.h)
15
16add_library(winsta MODULE
17    ${SOURCE}
18    winsta.rc
19    ${CMAKE_CURRENT_BINARY_DIR}/winsta.def)
20
21set_module_type(winsta win32dll)
22target_link_libraries(winsta wine)
23add_importlibs(winsta msvcrt kernel32 ntdll)
24add_pch(winsta winsta.h SOURCE)
25add_cd_file(TARGET winsta DESTINATION reactos/system32 FOR all)
26