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)
17 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
19 add_definitions(-D_NETSHELL_)
20 spec2def(netshell.dll netshell.spec)
31 list(APPEND PCH_SKIP_SOURCE
32 ${CMAKE_CURRENT_BINARY_DIR}/netshell_stubs.c)
34 file(GLOB netshell_rc_deps res/*.*)
35 add_rc_deps(netshell.rc ${netshell_rc_deps})
37 add_library(netshell MODULE
41 ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
43 set_module_type(netshell win32dll UNICODE)
44 target_link_libraries(netshell uuid wine)
45 add_delay_importlibs(netshell ole32 oleaut32 shlwapi shell32)
46 add_importlibs(netshell version iphlpapi gdi32 user32 advapi32 setupapi ws2_32 comctl32 msvcrt kernel32 ntdll)
47 add_pch(netshell precomp.h "${PCH_SKIP_SOURCE}")
48 add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)