* Sync the recent cmake branch changes.
[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
21 ${CMAKE_CURRENT_BINARY_DIR}/netshell_precomp.h.gch
22 ${SOURCE})
23
24 set_module_type(netshell win32dll)
25
26 target_link_libraries(netshell
27 uuid
28 wine)
29
30 add_importlibs(netshell
31 msvcrt
32 shlwapi
33 shell32
34 version
35 iphlpapi
36 ole32
37 user32
38 advapi32
39 setupapi
40 ws2_32
41 comctl32
42 kernel32
43 ntdll)
44
45 add_pch(netshell ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
46
47 add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)