Author: jgardou
Date: Sat Sep 3 18:26:19 2011
New Revision: 53557
URL:
http://svn.reactos.org/svn/reactos?rev=53557&view=rev
Log:
[CMAKE]
- use the new options of set_module_type for a few modules
Modified:
trunk/reactos/dll/ntdll/CMakeLists.txt
trunk/reactos/dll/win32/kernel32/CMakeLists.txt
trunk/reactos/dll/win32/msacm32/CMakeLists.txt
trunk/reactos/dll/win32/msvcrt/CMakeLists.txt
trunk/reactos/dll/win32/msvcrt20/CMakeLists.txt
trunk/reactos/dll/win32/msvcrt40/CMakeLists.txt
Modified: trunk/reactos/dll/ntdll/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/dll/ntdll/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/CMakeLists.txt [iso-8859-1] Sat Sep 3 18:26:19 2011
@@ -36,7 +36,7 @@
add_library(ntdll SHARED ${SOURCE})
-set_entrypoint(ntdll 0)
+set_module_type(ntdll win32dll ENTRYPOINT 0)
if(MSVC)
add_linkerflag(ntdll /RELEASE)
@@ -48,7 +48,6 @@
libcntpr
${PSEH_LIB})
-set_image_base(ntdll ${baseaddress_ntdll})
add_pch(ntdll include/ntdll.h)
add_dependencies(ntdll ntstatus asm)
Modified: trunk/reactos/dll/win32/kernel32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/CMakeLists.txt [iso-8859-1] Sat Sep 3 18:26:19 2011
@@ -93,8 +93,7 @@
add_library(kernel32 SHARED ${SOURCE})
-set_entrypoint(kernel32 DllMain 12)
-set_image_base(kernel32 ${baseaddress_kernel32})
+set_module_type(kernel32 win32dll ENTRYPOINT DllMain 12)
target_link_libraries(kernel32 wine chkstk ${PSEH_LIB})
Modified: trunk/reactos/dll/win32/msacm32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msacm32/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/msacm32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msacm32/CMakeLists.txt [iso-8859-1] Sat Sep 3 18:26:19 2011
@@ -20,8 +20,7 @@
add_library(msacm32 SHARED ${SOURCE})
-set_entrypoint(msacm32 DllMain 12)
-set_image_base(msacm32 ${baseaddress_msacm32})
+set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12)
target_link_libraries(msacm32 wine)
add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
Modified: trunk/reactos/dll/win32/msvcrt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt/CMakeLists.txt [iso-8859-1] Sat Sep 3 18:26:19 2011
@@ -23,9 +23,9 @@
add_library(msvcrt SHARED ${SOURCE})
+set_module_type(msvcrt win32dll ENTRYPOINT DllMain 12)
+
add_dependencies(msvcrt psdk)
-set_entrypoint(msvcrt DllMain 12)
-set_image_base(msvcrt ${baseaddress_msvcrt})
target_link_libraries(msvcrt crt wine ${PSEH_LIB})
Modified: trunk/reactos/dll/win32/msvcrt20/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt20/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt20/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt20/CMakeLists.txt [iso-8859-1] Sat Sep 3 18:26:19 2011
@@ -20,10 +20,9 @@
${CMAKE_CURRENT_BINARY_DIR}/msvcrt20.def)
add_library(msvcrt20 SHARED ${SOURCE})
+set_module_type(msvcrt20 win32dll ENTRYPOINT DllMain 12)
add_dependencies(msvcrt20 psdk)
-set_entrypoint(msvcrt20 DllMain 12)
-set_image_base(msvcrt20 ${baseaddress_msvcrt20})
target_link_libraries(msvcrt20 crt wine ${PSEH_LIB})
Modified: trunk/reactos/dll/win32/msvcrt40/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt40/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt40/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt40/CMakeLists.txt [iso-8859-1] Sat Sep 3 18:26:19 2011
@@ -21,9 +21,9 @@
add_library(msvcrt40 SHARED ${SOURCE})
+set_module_type(msvcrt40 win32dll ENTRYPOINT DllMain 12)
+
add_dependencies(msvcrt40 psdk)
-set_entrypoint(msvcrt40 DllMain 12)
-set_image_base(msvcrt40 ${baseaddress_msvcrt40})
target_link_libraries(msvcrt40 crt wine ${PSEH_LIB})