Synchronize up to trunk's revision r57784.
[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_cpp()
6 set_rc_compiler()
7 spec2def(netshell.dll netshell.spec)
8
9 list(APPEND SOURCE
10 netshell.cpp
11 shfldr_netconnect.cpp
12 enumlist.cpp
13 netshell.rc
14 classfactory.cpp
15 connectmanager.cpp
16 lanconnectui.cpp
17 lanstatusui.cpp
18 ${CMAKE_CURRENT_BINARY_DIR}/netshell_stubs.c
19 ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
20
21 add_library(netshell SHARED ${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 ntdll)
43
44 add_pch(netshell precomp.h)
45
46 add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)