[USB-BRINGUP-TRUNK]
[reactos.git] / dll / win32 / netshell / CMakeLists.txt
1 add_definitions(-D_NETSHELL_)
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 set_rc_compiler()
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_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
19
20 add_library(netshell SHARED ${SOURCE})
21
22 set_module_type(netshell win32dll)
23
24 target_link_libraries(netshell
25 uuid
26 wine)
27
28 add_importlibs(netshell
29 msvcrt
30 shlwapi
31 shell32
32 version
33 iphlpapi
34 ole32
35 user32
36 advapi32
37 setupapi
38 ws2_32
39 comctl32
40 kernel32
41 ntdll)
42
43 add_pch(netshell precomp.h)
44
45 add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)