Author: hbelusca
Date: Wed Sep 28 20:21:31 2016
New Revision: 72841
URL:
http://svn.reactos.org/svn/reactos?rev=72841&view=rev
Log:
Use set_module_type() with module type == "module" instead of specifying that
the entrypoint is 0, for resource-only dlls.
Modified:
trunk/reactos/dll/win32/iologmsg/CMakeLists.txt
trunk/reactos/dll/win32/netevent/CMakeLists.txt
trunk/reactos/drivers/base/kdgdb/CMakeLists.txt
trunk/reactos/subsystems/mvdm/pifmgr/CMakeLists.txt
Modified: trunk/reactos/dll/win32/iologmsg/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iologmsg/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/iologmsg/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iologmsg/CMakeLists.txt [iso-8859-1] Wed Sep 28 20:21:31 2016
@@ -1,6 +1,6 @@
include_directories(${REACTOS_BINARY_DIR}/sdk/include/reactos)
add_library(iologmsg SHARED iologmsg.rc)
-set_module_type(iologmsg win32dll ENTRYPOINT 0 UNICODE)
+set_module_type(iologmsg module UNICODE)
add_dependencies(iologmsg ntiologc)
add_cd_file(TARGET iologmsg DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/netevent/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netevent/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/netevent/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netevent/CMakeLists.txt [iso-8859-1] Wed Sep 28 20:21:31 2016
@@ -1,6 +1,6 @@
include_directories(${REACTOS_BINARY_DIR}/sdk/include/reactos)
add_library(netevent SHARED netevt.rc)
-set_module_type(netevent win32dll UNICODE ENTRYPOINT 0)
+set_module_type(netevent module UNICODE)
add_dependencies(netevent neteventmsg)
add_cd_file(TARGET netevent DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/drivers/base/kdgdb/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kdgdb/CMakeLi…
==============================================================================
--- trunk/reactos/drivers/base/kdgdb/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/kdgdb/CMakeLists.txt [iso-8859-1] Wed Sep 28 20:21:31 2016
@@ -20,9 +20,8 @@
kdgdb.rc
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
-set_entrypoint(kdcom 0)
+set_module_type(kdcom module IMAGEBASE 0x00010000)
set_subsystem(kdcom native)
-set_image_base(kdcom 0x00010000)
add_importlibs(kdcom ntoskrnl hal)
target_link_libraries(kdcom cportlib)
add_pch(kdcom kdgdb.h SOURCE)
Modified: trunk/reactos/subsystems/mvdm/pifmgr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/pifmgr/CMa…
==============================================================================
--- trunk/reactos/subsystems/mvdm/pifmgr/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/pifmgr/CMakeLists.txt [iso-8859-1] Wed Sep 28 20:21:31
2016
@@ -2,5 +2,5 @@
file(GLOB pifmgr_rc_deps "res/*.*" "res_alt/*.*")
add_rc_deps(pifmgr.rc ${pifmgr_rc_deps})
add_library(pifmgr SHARED pifmgr.rc)
-set_module_type(pifmgr win32dll UNICODE ENTRYPOINT 0)
+set_module_type(pifmgr module UNICODE)
add_cd_file(TARGET pifmgr DESTINATION reactos/system32 FOR all)