mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:55:55 +00:00
[REACTOS] Explicitly link against pseh & include pseh headers in a few places
This commit is contained in:
parent
37bc01f42b
commit
e470b58376
50 changed files with 103 additions and 23 deletions
|
@ -9,3 +9,5 @@ target_include_directories(atl_classes INTERFACE
|
|||
|
||||
target_compile_definitions(atl_classes INTERFACE
|
||||
"$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<NOT:$<BOOL:$<TARGET_PROPERTY:WITH_CXX_EXCEPTIONS>>>>:_ATL_NO_EXCEPTIONS>")
|
||||
|
||||
target_link_libraries(atl_classes INTERFACE pseh)
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cguid.h> // for GUID_NULL
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
namespace ATL
|
||||
{
|
||||
|
|
|
@ -603,7 +603,7 @@ if(USE_CLANG_CL)
|
|||
endif()
|
||||
|
||||
add_library(crt ${CRT_SOURCE} ${CRT_WINE_SOURCE} ${crt_asm})
|
||||
target_link_libraries(crt chkstk)
|
||||
target_link_libraries(crt chkstk ${PSEH_LIB})
|
||||
target_compile_definitions(crt
|
||||
PRIVATE __MINGW_IMPORT=extern
|
||||
USE_MSVCRT_PREFIX
|
||||
|
|
|
@ -4,4 +4,5 @@ list(APPEND SOURCE
|
|||
copysup.c)
|
||||
|
||||
add_library(copysup ${SOURCE})
|
||||
target_link_libraries(copysup PRIVATE pseh)
|
||||
add_dependencies(copysup bugcodes xdk)
|
||||
|
|
|
@ -7,4 +7,5 @@ list(APPEND SOURCE
|
|||
rdbss.c)
|
||||
|
||||
add_library(rdbsslib ${SOURCE})
|
||||
target_link_libraries(rdbsslib PRIVATE pseh)
|
||||
add_dependencies(rdbsslib bugcodes xdk)
|
||||
|
|
|
@ -6,4 +6,5 @@ list(APPEND SOURCE
|
|||
rxce.c)
|
||||
|
||||
add_library(rxce ${SOURCE})
|
||||
target_link_libraries(rxce PRIVATE pseh)
|
||||
add_dependencies(rxce bugcodes xdk)
|
||||
|
|
|
@ -112,6 +112,7 @@ endif()
|
|||
|
||||
add_asm_files(rtl_asm ${ASM_SOURCE})
|
||||
add_library(rtl ${SOURCE} ${rtl_asm})
|
||||
target_link_libraries(rtl PRIVATE pseh)
|
||||
add_pch(rtl rtl.h SOURCE)
|
||||
add_dependencies(rtl psdk asm)
|
||||
|
||||
|
@ -124,3 +125,4 @@ list(APPEND SOURCE_VISTA
|
|||
add_library(rtl_vista ${SOURCE_VISTA})
|
||||
add_pch(rtl_vista rtl_vista.h SOURCE_VISTA)
|
||||
add_dependencies(rtl_vista psdk)
|
||||
target_link_libraries(rtl_vista PRIVATE pseh)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue