mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[CMAKE]
- get back to DllMAinCRTStartup entry point svn path=/trunk/; revision=53239
This commit is contained in:
parent
27329d3e73
commit
b3a155a9d9
5 changed files with 7 additions and 7 deletions
|
@ -145,17 +145,17 @@ function(set_module_type MODULE TYPE)
|
|||
set_entrypoint(${MODULE} mainCRTStartup)
|
||||
endif(IS_UNICODE)
|
||||
elseif(${TYPE} MATCHES win32dll)
|
||||
set_entrypoint(${MODULE} DllMain 12)
|
||||
set_entrypoint(${MODULE} DllMainCRTStartup 12)
|
||||
if(DEFINED baseaddress_${MODULE})
|
||||
set_image_base(${MODULE} ${baseaddress_${MODULE}})
|
||||
else()
|
||||
message(STATUS "${MODULE} has no base address")
|
||||
endif()
|
||||
elseif(${TYPE} MATCHES win32ocx)
|
||||
set_entrypoint(${MODULE} DllMain 12)
|
||||
set_entrypoint(${MODULE} DllMainCRTStartup 12)
|
||||
set_target_properties(${MODULE} PROPERTIES SUFFIX ".ocx")
|
||||
elseif(${TYPE} MATCHES cpl)
|
||||
set_entrypoint(${MODULE} DllMain 12)
|
||||
set_entrypoint(${MODULE} DllMainCRTStartup 12)
|
||||
set_target_properties(${MODULE} PROPERTIES SUFFIX ".cpl")
|
||||
elseif(${TYPE} MATCHES kernelmodedriver)
|
||||
set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-Wl,--exclude-all-symbols -Wl,-file-alignment=0x1000 -Wl,-section-alignment=0x1000" SUFFIX ".sys")
|
||||
|
|
|
@ -63,7 +63,7 @@ target_link_libraries(advapi32
|
|||
wine
|
||||
${PSEH_LIB})
|
||||
|
||||
add_importlibs(advapi32 rpcrt4 kernel32 ntdll msvcrt)
|
||||
add_importlibs(advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
||||
|
||||
add_pch(advapi32 advapi32.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/lsa_c.h
|
||||
|
|
|
@ -93,8 +93,8 @@ add_importlibs(shell32
|
|||
devmgr
|
||||
winspool
|
||||
winmm
|
||||
kernel32
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_pch(shell32 precomp.h)
|
||||
|
|
|
@ -46,10 +46,10 @@ add_importlibs(shlwapi
|
|||
winmm
|
||||
version
|
||||
shell32
|
||||
msvcrt
|
||||
kernel32
|
||||
userenv
|
||||
wininet
|
||||
msvcrt
|
||||
ntdll)
|
||||
|
||||
add_cd_file(TARGET shlwapi DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -35,7 +35,7 @@ target_link_libraries(win32csr
|
|||
|
||||
set_module_type(win32csr win32dll)
|
||||
|
||||
add_importlibs(win32csr user32 gdi32 advapi32 psapi kernel32 ntdll msvcrt)
|
||||
add_importlibs(win32csr user32 gdi32 advapi32 psapi msvcrt kernel32 ntdll)
|
||||
|
||||
add_pch(win32csr w32csr.h)
|
||||
|
||||
|
|
Loading…
Reference in a new issue