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