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