Author: akhaldi
Date: Sat Oct 9 19:15:45 2010
New Revision: 49079
URL:
http://svn.reactos.org/svn/reactos?rev=49079&view=rev
Log:
[CMAKE]
- Some work on the dlls. By Alexey Komarov.
Added:
branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/itss/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/localui/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/msacm32/msacm32.drv/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt (with props)
branches/cmake-bringup/dll/win32/wmi/CMakeLists.txt (with props)
branches/cmake-bringup/importlibs/libwinspool.a (with props)
Modified:
branches/cmake-bringup/CMakeMacros.cmake
branches/cmake-bringup/dll/win32/CMakeLists.txt
branches/cmake-bringup/dll/win32/ufatx/CMakeLists.txt
Modified: branches/cmake-bringup/CMakeMacros.cmake
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeMacros.cmake…
==============================================================================
--- branches/cmake-bringup/CMakeMacros.cmake [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeMacros.cmake [iso-8859-1] Sat Oct 9 19:15:45 2010
@@ -122,7 +122,7 @@
add_custom_command(
OUTPUT ${REACTOS_BINARY_DIR}/boot/bootcd/${_dir}/${_nameoncd}
COMMAND ${CMAKE_COMMAND} -E copy ${FILENAME} ${BOOTCD_DIR}/${_dir}/${_nameoncd})
-
+
add_custom_target(${_targetname}_minicd DEPENDS ${BOOTCD_DIR}/${_dir}/${_nameoncd})
add_dependencies(${_targetname}_minicd ${_targetname})
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] Sat Oct 9 19:15:45 2010
@@ -54,7 +54,7 @@
#add_subdirectory(inetcomm)
#add_subdirectory(inetmib1)
add_subdirectory(initpki)
-#add_subdirectory(inseng)
+add_subdirectory(inseng)
add_subdirectory(iphlpapi)
#add_subdirectory(iprtprio)
add_subdirectory(itircl)
@@ -62,10 +62,10 @@
#add_subdirectory(jscript)
add_subdirectory(kernel32)
add_subdirectory(loadperf)
-#add_subdirectory(localspl)
-#add_subdirectory(localui)
+add_subdirectory(localspl)
+add_subdirectory(localui)
add_subdirectory(lpk)
-#add_subdirectory(lsasrv)
+add_subdirectory(lsasrv)
add_subdirectory(lz32)
add_subdirectory(mapi32)
add_subdirectory(mciavi32)
@@ -73,18 +73,18 @@
add_subdirectory(mciqtz32)
add_subdirectory(mciseq)
add_subdirectory(mciwave)
-#add_subdirectory(mlang)
+add_subdirectory(mlang)
add_subdirectory(mmdrv)
add_subdirectory(modemui)
add_subdirectory(mpr)
add_subdirectory(mprapi)
-#add_subdirectory(msacm32)
+add_subdirectory(msacm32)
add_subdirectory(msadp32.acm)
add_subdirectory(msafd)
add_subdirectory(mscat32)
add_subdirectory(mscms)
add_subdirectory(mscoree)
-#add_subdirectory(msctf)
+add_subdirectory(msctf)
add_subdirectory(msftedit)
add_subdirectory(msg711.acm)
add_subdirectory(msgina)
@@ -211,7 +211,7 @@
add_subdirectory(wintrust)
add_subdirectory(wlanapi)
add_subdirectory(wldap32)
-#add_subdirectory(wmi)
+add_subdirectory(wmi)
add_subdirectory(ws2_32)
add_subdirectory(ws2_32_new)
add_subdirectory(ws2help)
Added: branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/inseng/…
==============================================================================
--- branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt [iso-8859-1] Sat Oct 9
19:15:45 2010
@@ -1,0 +1,24 @@
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(inseng ${CMAKE_CURRENT_SOURCE_DIR}/inseng.spec
${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
+
+add_library(inseng SHARED inseng_main.c regsvr.c)
+
+set_module_type(inseng win32dll)
+
+target_link_libraries(inseng
+ ${CMAKE_CURRENT_BINARY_DIR}/inseng.def
+ uuid
+ wine)
+
+add_importlibs(inseng
+ ole32
+ advapi32
+ kernel32
+ ntdll)
+
+add_dependencies(inseng inseng_def)
Propchange: branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/itss/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/itss/CM…
==============================================================================
--- branches/cmake-bringup/dll/win32/itss/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/itss/CMakeLists.txt [iso-8859-1] Sat Oct 9 19:15:45
2010
@@ -1,0 +1,30 @@
+
+add_definitions(-D__WINESRC__)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(itss ${CMAKE_CURRENT_SOURCE_DIR}/itss.spec
${CMAKE_CURRENT_BINARY_DIR}/itss.def)
+
+add_library(itss SHARED
+ chm_lib.c
+ lzx.c
+ itss.c
+ moniker.c
+ protocol.c
+ storage.c
+ rsrc.rc)
+
+set_module_type(itss win32dll)
+
+target_link_libraries(itss
+ ${CMAKE_CURRENT_BINARY_DIR}/itss.def
+ uuid
+ wine)
+
+add_importlibs(itss
+ urlmon
+ shlwapi
+ ole32
+ ntdll)
+
+add_dependencies(itss itss_def wineheaders)
Propchange: branches/cmake-bringup/dll/win32/itss/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/localsp…
==============================================================================
--- branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt [iso-8859-1] Sat Oct 9
19:15:45 2010
@@ -1,0 +1,28 @@
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(localspl ${CMAKE_CURRENT_SOURCE_DIR}/localspl.spec
${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
+
+add_library(localspl SHARED
+ localmon.c
+ localspl_main.c
+ provider.c
+ localspl.rc)
+
+set_module_type(localspl win32dll)
+
+target_link_libraries(localspl
+ ${CMAKE_CURRENT_BINARY_DIR}/localspl.def
+ wine)
+
+add_importlibs(localspl
+ spoolss
+ user32
+ advapi32
+ kernel32
+ ntdll)
+
+add_dependencies(localspl localspl_def)
Propchange: branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/localui/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/localui…
==============================================================================
--- branches/cmake-bringup/dll/win32/localui/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/localui/CMakeLists.txt [iso-8859-1] Sat Oct 9
19:15:45 2010
@@ -1,0 +1,17 @@
+
+add_definitions(-D__WINESRC__)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(localui ${CMAKE_CURRENT_SOURCE_DIR}/localui.spec
${CMAKE_CURRENT_BINARY_DIR}/localui.def)
+
+add_library(localui SHARED localui.c localui.rc)
+
+set_module_type(localui win32dll)
+
+target_link_libraries(localui
+ ${CMAKE_CURRENT_BINARY_DIR}/localui.def
+ uuid
+ wine)
+
+add_importlibs(localui winspool user32 kernel32 ntdll)
+add_dependencies(localui localui_def)
Propchange: branches/cmake-bringup/dll/win32/localui/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/lsasrv/…
==============================================================================
--- branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt [iso-8859-1] Sat Oct 9
19:15:45 2010
@@ -1,0 +1,26 @@
+
+set_unicode()
+
+include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
+
+spec2def(lsasrv ${CMAKE_CURRENT_SOURCE_DIR}/lsasrv.spec
${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
+
+add_library(lsasrv SHARED
+ authport.c
+ lsarpc.c
+ lsasrv.c
+ privileges.c
+ sids.c
+ lsasrv.rc)
+
+set_entrypoint(lsasrv 0)
+
+target_link_libraries(lsasrv
+ ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def
+ lsa_server
+ wine
+ pseh)
+
+add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
+add_dependencies(lsasrv lsasrv_def psdk buildno_header)
Propchange: branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mlang/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt [iso-8859-1] Sat Oct 9 19:15:45
2010
@@ -1,0 +1,27 @@
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(mlang ${CMAKE_CURRENT_SOURCE_DIR}/mlang.spec
${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
+
+add_library(mlang SHARED mlang.c regsvr.c)
+
+set_entrypoint(mlang 0)
+
+target_link_libraries(mlang
+ ${CMAKE_CURRENT_BINARY_DIR}/mlang.def
+ uuid
+ wine)
+
+add_importlibs(mlang
+ ole32
+ user32
+ gdi32
+ advapi32
+ oleaut32
+ kernel32
+ ntdll)
+
+add_dependencies(mlang mlang_def psdk buildno_header)
Propchange: branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msacm32…
==============================================================================
--- branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt [iso-8859-1] Sat Oct 9
19:15:45 2010
@@ -1,0 +1,27 @@
+
+set_unicode()
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(msacm32 ${CMAKE_CURRENT_SOURCE_DIR}/msacm32.spec
${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
+
+add_library(msacm32 SHARED
+ driver.c
+ filter.c
+ format.c
+ internal.c
+ msacm32_main.c
+ pcmconverter.c
+ stream.c)
+
+set_module_type(msacm32 win32dll)
+
+target_link_libraries(msacm32
+ ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def
+ wine)
+
+add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
+add_dependencies(msacm32 msacm32_def)
+
+add_subdirectory(msacm32.drv)
Propchange: branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/msacm32/msacm32.drv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msacm32…
==============================================================================
--- branches/cmake-bringup/dll/win32/msacm32/msacm32.drv/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/msacm32/msacm32.drv/CMakeLists.txt [iso-8859-1] Sat
Oct 9 19:15:45 2010
@@ -1,0 +1,23 @@
+
+set_unicode()
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+add_custom_command(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/msacm32.drv.def
+ COMMAND native-winebuild -o ${CMAKE_CURRENT_BINARY_DIR}/msacm32.drv.def --def -E
${CMAKE_CURRENT_SOURCE_DIR}/msacm32.drv.spec --filename msacm32.drv
+ DEPENDS native-winebuild)
+set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/msacm32.drv.def PROPERTIES
GENERATED TRUE)
+add_custom_target(msacm32.drv_def ALL DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/msacm32.drv.def)
+
+add_library(msacm32.drv SHARED wavemap.c wavemap.rc)
+
+set_entrypoint(msacm32.drv 0)
+set_target_properties(msacm32.drv PROPERTIES SUFFIX "")
+
+target_link_libraries(msacm32.drv
+ ${CMAKE_CURRENT_BINARY_DIR}/msacm32.drv.def
+ wine)
+
+add_importlibs(msacm32.drv msacm32 user32 winmm advapi32 kernel32 ntdll)
+add_dependencies(msacm32.drv msacm32.drv_def psdk buildno_header)
Propchange: branches/cmake-bringup/dll/win32/msacm32/msacm32.drv/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msctf/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt [iso-8859-1] Sat Oct 9 19:15:45
2010
@@ -1,0 +1,32 @@
+
+add_definitions(-D__WINESRC__)
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(msctf ${CMAKE_CURRENT_SOURCE_DIR}/msctf.spec
${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
+
+add_library(msctf SHARED
+ categorymgr.c
+ compartmentmgr.c
+ context.c
+ displayattributemgr.c
+ documentmgr.c
+ inputprocessor.c
+ langbarmgr.c
+ msctf.c
+ range.c
+ regsvr.c
+ threadmgr.c
+ version.rc)
+
+set_module_type(msctf win32dll)
+
+target_link_libraries(msctf
+ ${CMAKE_CURRENT_BINARY_DIR}/msctf.def
+ uuid
+ wine)
+
+add_importlibs(msctf ole32 oleaut32 user32 advapi32 kernel32 ntdll)
+add_dependencies(msctf msctf_def)
Propchange: branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: branches/cmake-bringup/dll/win32/ufatx/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/ufatx/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/ufatx/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/ufatx/CMakeLists.txt [iso-8859-1] Sat Oct 9 19:15:45
2010
@@ -10,4 +10,4 @@
vfatxlib)
add_importlibs(ufatx gcc kernel32 ntdll)
-add_dependencies(ufatx ufatx_def)
+add_dependencies(ufatx ufatx_def psdk buildno_header)
Added: branches/cmake-bringup/dll/win32/wmi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wmi/CMa…
==============================================================================
--- branches/cmake-bringup/dll/win32/wmi/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/wmi/CMakeLists.txt [iso-8859-1] Sat Oct 9 19:15:45
2010
@@ -1,0 +1,11 @@
+
+spec2def(wmi ${CMAKE_CURRENT_SOURCE_DIR}/wmi.spec ${CMAKE_CURRENT_BINARY_DIR}/wmi.def)
+
+add_library(wmi SHARED wmi.rc)
+
+set_entrypoint(wmi 0)
+
+target_link_libraries(wmi ${CMAKE_CURRENT_BINARY_DIR}/wmi.def)
+
+add_importlibs(wmi advapi32)
+add_dependencies(wmi wmi_def psdk buildno_header)
Propchange: branches/cmake-bringup/dll/win32/wmi/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/importlibs/libwinspool.a
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/importlibs/libwin…
==============================================================================
Binary file - no diff available.
Propchange: branches/cmake-bringup/importlibs/libwinspool.a
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream