ad3b61e7820696f6241bae9827d9af9c57fde374
[reactos.git] / reactos / dll / win32 / netshell / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(-D_NETSHELL_)
6 set_cpp()
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 set_module_type(netshell win32dll)
23 target_link_libraries(netshell uuid wine)
24
25 add_importlibs(netshell
26 msvcrt
27 shlwapi
28 shell32
29 version
30 iphlpapi
31 ole32
32 user32
33 advapi32
34 setupapi
35 ws2_32
36 comctl32
37 kernel32
38 ntdll)
39
40 add_pch(netshell precomp.h)
41 add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)