Use set_module_type() with module type == "module" instead of specifying that the...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 28 Sep 2016 20:21:31 +0000 (20:21 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 28 Sep 2016 20:21:31 +0000 (20:21 +0000)
svn path=/trunk/; revision=72841

reactos/dll/win32/iologmsg/CMakeLists.txt
reactos/dll/win32/netevent/CMakeLists.txt
reactos/drivers/base/kdgdb/CMakeLists.txt
reactos/subsystems/mvdm/pifmgr/CMakeLists.txt

index 13e194f..473eebe 100644 (file)
@@ -1,6 +1,6 @@
 
 include_directories(${REACTOS_BINARY_DIR}/sdk/include/reactos)
 add_library(iologmsg SHARED iologmsg.rc)
 
 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)
 add_dependencies(iologmsg ntiologc)
 add_cd_file(TARGET iologmsg DESTINATION reactos/system32 FOR all)
index 6207506..e982d6e 100644 (file)
@@ -1,6 +1,6 @@
 
 include_directories(${REACTOS_BINARY_DIR}/sdk/include/reactos)
 add_library(netevent SHARED netevt.rc)
 
 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)
 add_dependencies(netevent neteventmsg)
 add_cd_file(TARGET netevent DESTINATION reactos/system32 FOR all)
index 2aaf82c..4944292 100644 (file)
@@ -20,9 +20,8 @@ add_library(kdcom SHARED
     kdgdb.rc
     ${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
 
     kdgdb.rc
     ${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
 
-set_entrypoint(kdcom 0)
+set_module_type(kdcom module IMAGEBASE 0x00010000)
 set_subsystem(kdcom native)
 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)
 add_importlibs(kdcom ntoskrnl hal)
 target_link_libraries(kdcom cportlib)
 add_pch(kdcom kdgdb.h SOURCE)
index fe763b6..c3d8976 100644 (file)
@@ -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)
 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)
 add_cd_file(TARGET pifmgr DESTINATION reactos/system32 FOR all)