add_compile_flags_language("-std=c++11" "CXX")
endif()
+if(MSVC)
+ # error C4311: 'type cast': pointer truncation from 'HANDLE' to 'INT'
+ replace_compile_flags("/we4311" " ")
+endif()
+
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
${REACTOS_SOURCE_DIR})
list(APPEND SOURCE
+ CActiveDesktop.cpp
+ CActiveDesktop.h
CIDLDataObj.cpp
CQueryAssociations.cpp
debughlp.cpp
list(APPEND shell32_rc_deps ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
add_rc_deps(shell32.rc ${shell32_rc_deps})
-add_library(shell32 SHARED
+add_library(shell32 MODULE
${SOURCE}
wine/brsfolder.c
wine/changenotify.c