Author: akhaldi
Date: Sun Sep 4 00:52:28 2011
New Revision: 53570
URL:
http://svn.reactos.org/svn/reactos?rev=53570&view=rev
Log:
[CMAKE/DLLS]
* Set some imports as delay-loaded.
Modified:
trunk/reactos/dll/win32/advapi32/CMakeLists.txt
trunk/reactos/dll/win32/comctl32/CMakeLists.txt
trunk/reactos/dll/win32/comdlg32/CMakeLists.txt
trunk/reactos/dll/win32/cryptnet/CMakeLists.txt
trunk/reactos/dll/win32/cryptui/CMakeLists.txt
trunk/reactos/dll/win32/dbghelp/CMakeLists.txt
trunk/reactos/dll/win32/gdiplus/CMakeLists.txt
trunk/reactos/dll/win32/hlink/CMakeLists.txt
trunk/reactos/dll/win32/inetmib1/CMakeLists.txt
trunk/reactos/dll/win32/mlang/CMakeLists.txt
trunk/reactos/dll/win32/mshtml/CMakeLists.txt
trunk/reactos/dll/win32/msi/CMakeLists.txt
trunk/reactos/dll/win32/oleaut32/CMakeLists.txt
trunk/reactos/dll/win32/rpcrt4/CMakeLists.txt
trunk/reactos/dll/win32/setupapi/CMakeLists.txt
trunk/reactos/dll/win32/shdocvw/CMakeLists.txt
trunk/reactos/dll/win32/shell32/CMakeLists.txt
trunk/reactos/dll/win32/shlwapi/CMakeLists.txt
trunk/reactos/dll/win32/user32/CMakeLists.txt
trunk/reactos/dll/win32/uxtheme/CMakeLists.txt
trunk/reactos/dll/win32/winhttp/CMakeLists.txt
trunk/reactos/dll/win32/wininet/CMakeLists.txt
trunk/reactos/dll/win32/wintrust/CMakeLists.txt
trunk/reactos/dll/win32/ws2_32/CMakeLists.txt
Modified: trunk/reactos/dll/win32/advapi32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -55,17 +55,14 @@
${CMAKE_CURRENT_BINARY_DIR}/svcctl_c.c)
add_library(advapi32 SHARED ${SOURCE})
-
set_module_type(advapi32 win32dll UNICODE)
-
-target_link_libraries(advapi32
- wine
- ${PSEH_LIB})
-
-add_importlibs(advapi32 rpcrt4 msvcrt kernel32 ntdll)
+target_link_libraries(advapi32 wine ${PSEH_LIB})
+add_delay_importlibs(advapi32 rpcrt4)
+add_importlibs(advapi32 msvcrt kernel32 ntdll)
add_pch(advapi32 advapi32.h
${CMAKE_CURRENT_BINARY_DIR}/lsa_c.h
${CMAKE_CURRENT_BINARY_DIR}/eventlogrpc_c.h)
+
add_cd_file(TARGET advapi32 DESTINATION reactos/system32 FOR all)
add_importlib_target(advapi32.spec)
Modified: trunk/reactos/dll/win32/comctl32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/comctl32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comctl32/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -55,17 +55,14 @@
${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
add_library(comctl32 SHARED ${SOURCE})
-
set_module_type(comctl32 win32dll UNICODE)
-
target_link_libraries(comctl32 uuid wine)
+add_delay_importlibs(comctl32 winmm uxtheme)
add_importlibs(comctl32
user32
gdi32
advapi32
- winmm
- uxtheme
msvcrt
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/comdlg32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -23,10 +23,9 @@
${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def)
add_library(comdlg32 SHARED ${SOURCE})
-
set_module_type(comdlg32 win32dll)
-
target_link_libraries(comdlg32 uuid wine)
+add_delay_importlibs(comdlg32 ole32)
add_importlibs(comdlg32
shell32
@@ -36,7 +35,6 @@
user32
gdi32
advapi32
- ole32
msvcrt
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/cryptnet/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptnet/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/cryptnet/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/cryptnet/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -10,14 +10,12 @@
${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def)
add_library(cryptnet SHARED ${SOURCE})
-
set_module_type(cryptnet win32dll)
-
target_link_libraries(cryptnet wine)
+add_delay_importlibs(cryptnet wininet)
add_importlibs(cryptnet
crypt32
- wininet
msvcrt
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/cryptui/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptui/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/cryptui/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/cryptui/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -16,10 +16,9 @@
${CMAKE_CURRENT_BINARY_DIR}/cryptui.def)
add_library(cryptui SHARED ${SOURCE})
-
set_module_type(cryptui win32dll)
-
target_link_libraries(cryptui uuid wine)
+add_delay_importlibs(cryptui urlmon wintrust)
add_importlibs(cryptui
user32
@@ -27,8 +26,6 @@
crypt32
gdi32
advapi32
- urlmon
- wintrust
comctl32
comdlg32
msvcrt
Modified: trunk/reactos/dll/win32/dbghelp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -45,14 +45,10 @@
${CMAKE_CURRENT_BINARY_DIR}/dbghelp.def)
add_library(dbghelp SHARED ${SOURCE})
-
set_module_type(dbghelp win32dll)
-target_link_libraries(dbghelp
- wine
- ${PSEH_LIB}
- oldnames)
-
-add_importlibs(dbghelp psapi version msvcrt kernel32 ntdll)
+target_link_libraries(dbghelp wine ${PSEH_LIB} oldnames)
+add_delay_importlibs(dbghelp version)
+add_importlibs(dbghelp psapi msvcrt kernel32 ntdll)
add_pch(dbghelp dbghelp_private.h)
add_importlib_target(dbghelp.spec)
add_cd_file(TARGET dbghelp DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/gdiplus/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdiplus/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/gdiplus/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdiplus/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -33,9 +33,9 @@
endif()
add_library(gdiplus SHARED ${SOURCE})
-
set_module_type(gdiplus win32dll)
target_link_libraries(gdiplus uuid wine)
+add_delay_importlibs(gdiplus windowscodecs)
add_importlibs(gdiplus
msvcrt
@@ -44,7 +44,6 @@
ole32
user32
gdi32
- windowscodecs
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/hlink/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hlink/CMakeLists…
==============================================================================
--- trunk/reactos/dll/win32/hlink/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/hlink/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -13,16 +13,14 @@
${CMAKE_CURRENT_BINARY_DIR}/hlink.def)
add_library(hlink SHARED ${SOURCE})
-
set_module_type(hlink win32dll)
-
target_link_libraries(hlink uuid wine)
+add_delay_importlibs(hlink urlmon)
add_importlibs(hlink
shell32
ole32
advapi32
- urlmon
msvcrt
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/inetmib1/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/inetmib1/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/inetmib1/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/inetmib1/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -10,14 +10,13 @@
${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def)
add_library(inetmib1 SHARED ${SOURCE})
-
set_module_type(inetmib1 win32dll)
target_link_libraries(inetmib1 wine)
+add_delay_importlibs(inetmib1 iphlpapi)
add_importlibs(inetmib1
msvcrt
snmpapi
- iphlpapi
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/mlang/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mlang/CMakeLists…
==============================================================================
--- trunk/reactos/dll/win32/mlang/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mlang/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -15,16 +15,15 @@
${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
add_library(mlang SHARED ${SOURCE})
-
set_entrypoint(mlang 0)
target_link_libraries(mlang uuid wine)
+add_delay_importlibs(mlang oleaut32)
add_importlibs(mlang
ole32
user32
gdi32
advapi32
- oleaut32
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/mshtml/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mshtml/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/mshtml/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mshtml/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -78,14 +78,9 @@
${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
add_library(mshtml SHARED ${SOURCE})
-
set_module_type(mshtml win32dll)
-
-target_link_libraries(mshtml
- uuid
- wine
- strmiids
- oldnames)
+target_link_libraries(mshtml uuid wine strmiids oldnames)
+add_delay_importlibs(mshtml wininet)
add_importlibs(mshtml
urlmon
@@ -95,7 +90,6 @@
user32
gdi32
advapi32
- wininet
msvcrt
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/msi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msi/CMakeLists.t…
==============================================================================
--- trunk/reactos/dll/win32/msi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msi/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -69,18 +69,18 @@
add_library(msi SHARED ${SOURCE})
-add_idl_Headers(msi_idlheader msiserver.idl)
+add_idl_headers(msi_idlheader msiserver.idl)
add_typelib(msi_tlb msiserver.idl)
set_module_type(msi win32dll)
target_link_libraries(msi uuid ${PSEH_LIB} wine)
add_dependencies(msi msi_idlheader msi_tlb)
+add_delay_importlibs(msi odbccp32)
add_importlibs(msi
advapi32
cabinet
comctl32
gdi32
- odbccp32
ole32
oleaut32
shell32
Modified: trunk/reactos/dll/win32/oleaut32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -54,7 +54,6 @@
endif()
add_library(oleaut32 SHARED ${SOURCE})
-
set_module_type(oleaut32 win32dll)
target_link_libraries(oleaut32
@@ -63,7 +62,7 @@
uuid
${PSEH_LIB})
-add_importlibs(oleaut32 windowscodecs ole32 rpcrt4 user32 gdi32 advapi32 comctl32 urlmon
msvcrt kernel32 ntdll)
-
+add_delay_importlibs(oleaut32 comctl32 urlmon windowscodecs)
+add_importlibs(oleaut32 ole32 rpcrt4 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET oleaut32 DESTINATION reactos/system32 FOR all)
add_importlib_target(oleaut32.spec)
Modified: trunk/reactos/dll/win32/rpcrt4/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -43,16 +43,10 @@
spec2def(rpcrt4.dll rpcrt4.spec)
add_library(rpcrt4 SHARED ${SOURCE})
+set_module_type(rpcrt4 win32dll)
+target_link_libraries(rpcrt4 wine uuid ${PSEH_LIB})
-set_module_type(rpcrt4 win32dll)
-
-target_link_libraries(rpcrt4
- wine
- uuid
- ${PSEH_LIB})
-
-add_importlibs(rpcrt4 msvcrt user32 advapi32 secur32 iphlpapi ws2_32 kernel32 ntdll)
-add_delay_importlibs(rpcrt4 wininet)
-
+add_delay_importlibs(rpcrt4 iphlpapi wininet secur32 user32)
+add_importlibs(rpcrt4 msvcrt advapi32 ws2_32 kernel32 ntdll)
add_cd_file(TARGET rpcrt4 DESTINATION reactos/system32 FOR all)
add_importlib_target(rpcrt4.spec)
Modified: trunk/reactos/dll/win32/setupapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -38,13 +38,9 @@
${CMAKE_CURRENT_BINARY_DIR}/pnp_c.c)
add_library(setupapi SHARED ${SOURCE})
-
set_module_type(setupapi win32dll UNICODE)
-
-target_link_libraries(setupapi
- uuid
- wine
- ${PSEH_LIB})
+target_link_libraries(setupapi uuid wine ${PSEH_LIB})
+add_delay_importlibs(setupapi shell32)
add_importlibs(setupapi
msvcrt
@@ -54,7 +50,6 @@
user32
rpcrt4
version
- shell32
kernel32
ntdll)
Modified: trunk/reactos/dll/win32/shdocvw/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shdocvw/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/shdocvw/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shdocvw/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -33,21 +33,17 @@
${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def)
add_library(shdocvw SHARED ${SOURCE})
-
set_module_type(shdocvw win32dll)
-
target_link_libraries(shdocvw uuid wine)
+add_delay_importlibs(shdocvw version ole32 oleaut32)
add_importlibs(shdocvw
comctl32
- ole32
- oleaut32
shlwapi
shell32
user32
advapi32
gdi32
- version
urlmon
msvcrt
kernel32
Modified: trunk/reactos/dll/win32/shell32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -73,13 +73,9 @@
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
add_library(shell32 SHARED ${SOURCE})
-
set_module_type(shell32 win32dll)
-
-target_link_libraries(shell32
- wine
- uuid
- recyclebin)
+target_link_libraries(shell32 wine uuid recyclebin)
+add_delay_importlibs(shell32 ole32 version)
add_importlibs(shell32
advapi32
@@ -88,8 +84,6 @@
comctl32
comdlg32
shlwapi
- ole32
- version
devmgr
winspool
winmm
@@ -98,6 +92,5 @@
ntdll)
add_pch(shell32 precomp.h)
-
add_cd_file(TARGET shell32 DESTINATION reactos/system32 FOR all)
add_importlib_target(shell32.spec)
Modified: trunk/reactos/dll/win32/shlwapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shlwapi/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/shlwapi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shlwapi/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -27,31 +27,9 @@
${CMAKE_CURRENT_BINARY_DIR}/shlwapi.def)
add_library(shlwapi SHARED ${SOURCE})
-
set_module_type(shlwapi win32dll)
-
target_link_libraries(shlwapi wine uuid)
-
-add_importlibs(shlwapi
- user32
- gdi32
- advapi32
- oleaut32
- ole32
- comctl32
- comdlg32
- mpr
- mlang
- urlmon
- winmm
- version
- shell32
- msvcrt
- kernel32
- userenv
- wininet
- ntdll)
-
+add_delay_importlibs(shlwapi userenv oleaut32 ole32 comctl32 comdlg32 mpr mlang urlmon
shell32 winmm version)
+add_importlibs(shlwapi user32 gdi32 advapi32 msvcrt wininet kernel32 ntdll)
add_cd_file(TARGET shlwapi DESTINATION reactos/system32 FOR all)
-
add_importlib_target(shlwapi.spec)
Modified: trunk/reactos/dll/win32/user32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/user32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -1,4 +1,3 @@
-
spec2def(user32.dll user32.spec)
@@ -65,7 +64,6 @@
${CMAKE_CURRENT_BINARY_DIR}/user32.def)
add_library(user32 SHARED ${SOURCE})
-
set_module_type(user32 win32dll UNICODE)
target_link_libraries(user32
@@ -74,7 +72,8 @@
win32ksys
${PSEH_LIB})
-add_importlibs(user32 gdi32 advapi32 imm32 msvcrt kernel32 ntdll)
+add_delay_importlibs(user32 imm32)
+add_importlibs(user32 gdi32 advapi32 msvcrt kernel32 ntdll)
add_pch(user32 include/user32.h)
add_cd_file(TARGET user32 DESTINATION reactos/system32 FOR all)
add_importlib_target(user32.spec)
Modified: trunk/reactos/dll/win32/uxtheme/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -20,12 +20,9 @@
${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def)
add_library(uxtheme SHARED ${SOURCE})
-
set_module_type(uxtheme win32dll)
-
target_link_libraries(uxtheme wine)
-
-add_importlibs(uxtheme user32 advapi32 gdi32 msimg32 msvcrt kernel32 ntdll)
-
+add_delay_importlibs(uxtheme msimg32)
+add_importlibs(uxtheme user32 advapi32 gdi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET uxtheme DESTINATION reactos/system32 FOR all)
add_importlib_target(uxtheme.spec)
Modified: trunk/reactos/dll/win32/winhttp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winhttp/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/winhttp/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winhttp/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -18,6 +18,7 @@
set_module_type(winhttp win32dll)
target_link_libraries(winhttp wine)
-add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt crypt32 advapi32 kernel32 ntdll)
+add_delay_importlibs(winhttp crypt32)
+add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt advapi32 kernel32 ntdll)
add_importlib_target(winhttp.spec)
add_cd_file(TARGET winhttp DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/wininet/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wininet/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/wininet/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wininet/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -1,7 +1,8 @@
add_definitions(
- -D__WINESRC__ -D_WINE
- -Dclose=_close)
+ -D__WINESRC__
+ -D_WINE
+ -Dclose=_close)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
@@ -28,10 +29,8 @@
add_library(wininet SHARED ${SOURCE})
set_module_type(wininet win32dll)
-
target_link_libraries(wininet wine ${PSEH_LIB})
-
-add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 secur32 crypt32 ws2_32 msvcrt
kernel32 ntdll)
-
+add_delay_importlibs(wininet secur32 crypt32)
+add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 ws2_32 msvcrt kernel32 ntdll)
add_cd_file(TARGET wininet DESTINATION reactos/system32 FOR all)
add_importlib_target(wininet.spec)
Modified: trunk/reactos/dll/win32/wintrust/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wintrust/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/wintrust/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wintrust/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -16,16 +16,9 @@
${CMAKE_CURRENT_BINARY_DIR}/wintrust.def)
add_library(wintrust SHARED ${SOURCE})
-
set_module_type(wintrust win32dll)
-
-target_link_libraries(wintrust
- wine
- ${PSEH_LIB})
-
-add_importlibs(wintrust crypt32 cryptui user32 advapi32 imagehlp msvcrt kernel32 ntdll)
-
+target_link_libraries(wintrust wine ${PSEH_LIB})
+add_delay_importlibs(wintrust cryptui imagehlp)
+add_importlibs(wintrust crypt32 user32 advapi32 msvcrt kernel32 ntdll)
add_importlib_target(wintrust.spec)
-
add_cd_file(TARGET wintrust DESTINATION reactos/system32 FOR all)
-
Modified: trunk/reactos/dll/win32/ws2_32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32/CMakeLists.txt [iso-8859-1] Sun Sep 4 00:52:28 2011
@@ -1,4 +1,3 @@
-
add_definitions(-DLE)
add_definitions(-DWINSOCK_API_LINKAGE=DECLSPEC_EXPORT)
@@ -23,13 +22,10 @@
${CMAKE_CURRENT_BINARY_DIR}/ws2_32.def)
add_library(ws2_32 SHARED ${SOURCE})
-
set_module_type(ws2_32 win32dll UNICODE)
-
target_link_libraries(ws2_32 wine)
-
-add_importlibs(ws2_32 user32 advapi32 dnsapi ws2help msvcrt kernel32 ntdll)
+add_delay_importlibs(ws2_32 user32)
+add_importlibs(ws2_32 advapi32 dnsapi ws2help msvcrt kernel32 ntdll)
add_pch(ws2_32 include/ws2_32.h)
-
add_cd_file(TARGET ws2_32 DESTINATION reactos/system32 FOR all)
add_importlib_target(ws2_32.spec)