mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[APISETS] Declare them as modules instead of win32dll
This commit is contained in:
committed by
Jérôme Gardou
parent
5c25e816bf
commit
bada20a361
@@ -22,7 +22,7 @@ function (add_apiset apiset_name baseaddress)
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}.def)
|
||||
|
||||
add_dependencies(${apiset_name} xdk)
|
||||
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
|
||||
set_module_type(${apiset_name} module UNICODE IMAGEBASE ${baseaddress})
|
||||
|
||||
if(NOT MSVC)
|
||||
target_compile_options(${apiset_name} PRIVATE -fno-builtin)
|
||||
|
||||
@@ -22,7 +22,7 @@ function (add_apiset apiset_name baseaddress)
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}.def)
|
||||
|
||||
add_dependencies(${apiset_name} xdk)
|
||||
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
|
||||
set_module_type(${apiset_name} module UNICODE IMAGEBASE ${baseaddress})
|
||||
|
||||
if(NOT MSVC)
|
||||
target_compile_options(${apiset_name} PRIVATE -fno-builtin)
|
||||
|
||||
Reference in New Issue
Block a user