Author: akhaldi
Date: Fri Dec 24 12:23:19 2010
New Revision: 50123
URL:
http://svn.reactos.org/svn/reactos?rev=50123&view=rev
Log:
[CMAKE]
- Fix shell32.
- Fix and enable mstask.
Modified:
branches/cmake-bringup/dll/win32/CMakeLists.txt
branches/cmake-bringup/dll/win32/mstask/CMakeLists.txt
branches/cmake-bringup/dll/win32/shell32/CMakeLists.txt
Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/CMakeLi…
==============================================================================
--- branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] Fri Dec 24 12:23:19 2010
@@ -100,7 +100,7 @@
add_subdirectory(msrle32)
add_subdirectory(mssign32)
add_subdirectory(mssip32)
-#add_subdirectory(mstask)
+add_subdirectory(mstask)
add_subdirectory(msvcrt)
#add_subdirectory(msvcrt20) FIX spec2def
#add_subdirectory(msvcrt40) FIX spec2def
Modified: branches/cmake-bringup/dll/win32/mstask/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mstask/…
==============================================================================
--- branches/cmake-bringup/dll/win32/mstask/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mstask/CMakeLists.txt [iso-8859-1] Fri Dec 24
12:23:19 2010
@@ -5,28 +5,30 @@
add_definitions(-DWINVER=0x600)
remove_definitions(-D_WIN32_WINNT=0x502)
-add_definitions(-D__WINESRC__)
+add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+add_idl_interface(mstask_local.idl)
+
spec2def(mstask.dll mstask.spec)
-add_library(mstask SHARED
+list(APPEND SOURCE
factory.c
mstask_main.c
task.c
task_scheduler.c
task_trigger.c
rsrc.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/mstask_local_i.c
${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
+
+add_library(mstask SHARED ${SOURCE})
set_module_type(mstask win32dll)
-target_link_libraries(mstask
- mstask_local_interface
- uuid
- wine)
+target_link_libraries(mstask uuid wine)
-add_importlibs(mstask ole32 ntdll)
+add_importlibs(mstask ole32 msvcrt kernel32 ntdll)
add_cab_target(mstask 1)
Modified: branches/cmake-bringup/dll/win32/shell32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/shell32…
==============================================================================
--- branches/cmake-bringup/dll/win32/shell32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/shell32/CMakeLists.txt [iso-8859-1] Fri Dec 24
12:23:19 2010
@@ -1,3 +1,18 @@
+
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+add_definitions(
+ -D_SHELL32_
+ -DCOM_NO_WINDOWS_H
+ -D_WINE)
+
+include_directories(
+ ${REACTOS_SOURCE_DIR}/include/reactos/wine
+ ${REACTOS_SOURCE_DIR}/lib/recyclebin
+ ${REACTOS_SOURCE_DIR})
+
+add_idl_interface(shobjidl_local.idl)
spec2def(shell32.dll shell32.spec)
@@ -56,20 +71,8 @@
shv_item_new.c
folder_options.c
shell32.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/shobjidl_local_i.c
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
-
-remove_definitions(-D_WIN32_WINNT=0x502)
-add_definitions(-D_WIN32_WINNT=0x600)
-
-add_definitions(
- -D_SHELL32_
- -DCOM_NO_WINDOWS_H
- -D_WINE)
-
-include_directories(
- ${REACTOS_SOURCE_DIR}/include/reactos/wine
- ${REACTOS_SOURCE_DIR}/lib/recyclebin
- ${REACTOS_SOURCE_DIR})
add_pch(shell32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})