mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[CMAKE][WIN32U_APITEST] Remove 3 useless 'set_module_type(... IMAGEBASE default)' (#6328)
And add an explicit documentation comment.
Addendum to commit 2b7246fd3.
This commit is contained in:
@@ -7,5 +7,5 @@ add_library(win32u_2k3sp2 MODULE
|
||||
${win32u_2k3sp2_asm}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/win32u_2k3sp2.def)
|
||||
|
||||
set_module_type(win32u_2k3sp2 module IMAGEBASE default)
|
||||
set_module_type(win32u_2k3sp2 module)
|
||||
add_dependencies(win32u_2k3sp2 psdk)
|
||||
|
||||
@@ -7,5 +7,5 @@ add_library(win32u_vista MODULE
|
||||
${win32u_vista_asm}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/win32u_vista.def)
|
||||
|
||||
set_module_type(win32u_vista module IMAGEBASE default)
|
||||
set_module_type(win32u_vista module)
|
||||
add_dependencies(win32u_vista psdk)
|
||||
|
||||
@@ -7,5 +7,5 @@ add_library(win32u_xpsp2 MODULE
|
||||
${win32u_xpsp2_asm}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/win32u_xpsp2.def)
|
||||
|
||||
set_module_type(win32u_xpsp2 module IMAGEBASE default)
|
||||
set_module_type(win32u_xpsp2 module)
|
||||
add_dependencies(win32u_xpsp2 psdk)
|
||||
|
||||
@@ -642,6 +642,7 @@ function(set_module_type MODULE TYPE)
|
||||
endif()
|
||||
|
||||
# Set base address
|
||||
# Use 'IMAGEBASE default' to skip these set_image_base(), especially for win32dll test files
|
||||
if(__module_IMAGEBASE)
|
||||
if(NOT ${__module_IMAGEBASE} STREQUAL "default")
|
||||
set_image_base(${MODULE} ${__module_IMAGEBASE})
|
||||
|
||||
Reference in New Issue
Block a user