mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:02:57 +00:00
[CMAKE] Add support for "IMAGEBASE default" and use it for test/sample dlls
This commit is contained in:
parent
58f1201eae
commit
2b7246fd3c
8 changed files with 13 additions and 8 deletions
|
@ -643,7 +643,9 @@ function(set_module_type MODULE TYPE)
|
|||
|
||||
# Set base address
|
||||
if(__module_IMAGEBASE)
|
||||
set_image_base(${MODULE} ${__module_IMAGEBASE})
|
||||
if(NOT ${__module_IMAGEBASE} STREQUAL "default")
|
||||
set_image_base(${MODULE} ${__module_IMAGEBASE})
|
||||
endif()
|
||||
elseif(${TYPE} STREQUAL win32dll)
|
||||
if(DEFINED baseaddress_${MODULE})
|
||||
set_image_base(${MODULE} ${baseaddress_${MODULE}})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue