7 # HACK: this should be enabled globally!
8 add_compile_flags_language("-std=c++11 -Wshadow" "CXX")
11 remove_definitions(-D_WIN32_WINNT=0x502)
12 add_definitions(-D_WIN32_WINNT=0x600)
14 add_definitions(-D_NETSHELL_)
15 spec2def(netshell.dll netshell.spec)
28 file(GLOB netshell_rc_deps res/*.*)
29 add_rc_deps(netshell.rc ${netshell_rc_deps})
31 add_library(netshell SHARED
34 ${CMAKE_CURRENT_BINARY_DIR}/netshell_stubs.c
35 ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
37 set_module_type(netshell win32dll)
38 target_link_libraries(netshell uuid wine)
39 add_importlibs(netshell shlwapi shell32 version iphlpapi ole32 gdi32 user32 advapi32 setupapi ws2_32 comctl32 msvcrt kernel32 ntdll)
40 add_pch(netshell precomp.h SOURCE)
41 add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)