[CMAKE]
[reactos.git] / dll / win32 / netshell / CMakeLists.txt
1
2 add_definitions(-D_NETSHELL_)
3 remove_definitions(-D_WIN32_WINNT=0x502)
4 add_definitions(-D_WIN32_WINNT=0x600)
5
6 spec2def(netshell.dll netshell.spec)
7
8 list(APPEND SOURCE
9 netshell.c
10 shfldr_netconnect.c
11 enumlist.c
12 netshell.rc
13 classfactory.c
14 connectmanager.c
15 lanconnectui.c
16 lanstatusui.c
17 ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
18
19 add_library(netshell SHARED
20 ${CMAKE_CURRENT_BINARY_DIR}/netshell_precomp.h.gch
21 ${SOURCE})
22
23 set_module_type(netshell win32dll)
24
25 target_link_libraries(netshell
26 uuid
27 wine)
28
29 add_importlibs(netshell
30 msvcrt
31 shlwapi
32 shell32
33 version
34 iphlpapi
35 ole32
36 user32
37 advapi32
38 setupapi
39 ws2_32
40 comctl32
41 kernel32)
42
43 add_pch(netshell ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
44
45 add_cab_target(netshell 1)