mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[SHELL32_NEW]
Fix building with CMake. Had to turn PCH off as Amine suggested, it needs more work. svn path=/branches/shell32_new-bringup/; revision=52021
This commit is contained in:
parent
2b229750a4
commit
4cf027e1a0
|
@ -1,3 +1,5 @@
|
||||||
|
set_unicode()
|
||||||
|
set_cpp()
|
||||||
|
|
||||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||||
add_definitions(-D_WIN32_WINNT=0x600)
|
add_definitions(-D_WIN32_WINNT=0x600)
|
||||||
|
@ -10,6 +12,7 @@ add_definitions(
|
||||||
include_directories(
|
include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/include/reactos/wine
|
${REACTOS_SOURCE_DIR}/include/reactos/wine
|
||||||
${REACTOS_SOURCE_DIR}/lib/recyclebin
|
${REACTOS_SOURCE_DIR}/lib/recyclebin
|
||||||
|
${REACTOS_SOURCE_DIR}/lib/atl
|
||||||
${REACTOS_SOURCE_DIR})
|
${REACTOS_SOURCE_DIR})
|
||||||
|
|
||||||
generate_idl_iids(shobjidl_local.idl)
|
generate_idl_iids(shobjidl_local.idl)
|
||||||
|
@ -17,71 +20,73 @@ generate_idl_iids(shobjidl_local.idl)
|
||||||
spec2def(shell32.dll shell32.spec)
|
spec2def(shell32.dll shell32.spec)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
authors.c
|
authors.cpp
|
||||||
autocomplete.c
|
autocomplete.cpp
|
||||||
brsfolder.c
|
brsfolder.cpp
|
||||||
changenotify.c
|
changenotify.cpp
|
||||||
classes.c
|
classes.cpp
|
||||||
clipboard.c
|
clipboard.cpp
|
||||||
control.c
|
control.cpp
|
||||||
dataobject.c
|
dataobject.cpp
|
||||||
dde.c
|
dde.cpp
|
||||||
debughlp.c
|
debughlp.cpp
|
||||||
desktop.c
|
desktop.cpp
|
||||||
dialogs.c
|
dialogs.cpp
|
||||||
dragdrophelper.c
|
dragdrophelper.cpp
|
||||||
enumidlist.c
|
enumidlist.cpp
|
||||||
extracticon.c
|
extracticon.cpp
|
||||||
folders.c
|
folders.cpp
|
||||||
iconcache.c
|
iconcache.cpp
|
||||||
pidl.c
|
pidl.cpp
|
||||||
regsvr.c
|
shell32_main.cpp
|
||||||
shell32_main.c
|
shellitem.cpp
|
||||||
shellitem.c
|
shelllink.cpp
|
||||||
shelllink.c
|
shellole.cpp
|
||||||
shellole.c
|
shellord.cpp
|
||||||
shellord.c
|
shellpath.cpp
|
||||||
shellpath.c
|
shellreg.cpp
|
||||||
shellreg.c
|
shellstring.cpp
|
||||||
shellstring.c
|
shfldr_desktop.cpp
|
||||||
shfldr_desktop.c
|
shfldr_fs.cpp
|
||||||
shfldr_fs.c
|
shfldr_mycomp.cpp
|
||||||
shfldr_mycomp.c
|
shfldr_mydocuments.cpp
|
||||||
shfldr_mydocuments.c
|
shfldr_printers.cpp
|
||||||
shfldr_printers.c
|
shfldr_admintools.cpp
|
||||||
shfldr_admintools.c
|
shfldr_netplaces.cpp
|
||||||
shfldr_netplaces.c
|
shfldr_fonts.cpp
|
||||||
shfldr_fonts.c
|
shfldr_cpanel.cpp
|
||||||
shfldr_cpanel.c
|
shfldr_recyclebin.cpp
|
||||||
shfldr_recyclebin.c
|
shlexec.cpp
|
||||||
shlexec.c
|
shlfileop.cpp
|
||||||
shlfileop.c
|
shlfolder.cpp
|
||||||
shlfolder.c
|
shlfsbind.cpp
|
||||||
shlfsbind.c
|
shlmenu.cpp
|
||||||
shlmenu.c
|
shlview.cpp
|
||||||
shlview.c
|
shpolicy.cpp
|
||||||
shpolicy.c
|
shv_def_cmenu.cpp
|
||||||
shv_def_cmenu.c
|
startmenu.cpp
|
||||||
startmenu.c
|
stubs.cpp
|
||||||
stubs.c
|
ros-systray.cpp
|
||||||
ros-systray.c
|
fprop.cpp
|
||||||
fprop.c
|
drive.cpp
|
||||||
drive.c
|
she_ocmenu.cpp
|
||||||
she_ocmenu.c
|
shv_item_new.cpp
|
||||||
shv_item_new.c
|
folder_options.cpp
|
||||||
folder_options.c
|
|
||||||
shell32.rc
|
shell32.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shobjidl_local_i.c
|
${CMAKE_CURRENT_BINARY_DIR}/shobjidl_local_i.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
|
||||||
|
|
||||||
add_pch(shell32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
# FIXME
|
||||||
|
#add_pch(shell32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||||
|
#add_library(shell32 SHARED ${CMAKE_CURRENT_BINARY_DIR}/shell32_precomp.h.gch ${SOURCE})
|
||||||
|
|
||||||
add_library(shell32 SHARED ${CMAKE_CURRENT_BINARY_DIR}/shell32_precomp.h.gch ${SOURCE})
|
add_library(shell32 SHARED ${SOURCE})
|
||||||
|
|
||||||
set_module_type(shell32 win32dll)
|
set_module_type(shell32 win32dll)
|
||||||
|
|
||||||
target_link_libraries(shell32
|
target_link_libraries(shell32
|
||||||
|
atlnew
|
||||||
wine
|
wine
|
||||||
uuid
|
uuid
|
||||||
recyclebin)
|
recyclebin)
|
||||||
|
|
Loading…
Reference in a new issue