mirror of
https://github.com/reactos/reactos.git
synced 2025-05-02 20:30:33 +00:00

\#pragma REACTOS SEH(except) \#pragma REACTOS SEH(finally) What it does is counting the number of SEH __try blocks and emit the proper assembly statements at function prologue It also checks for mixing C++ & SEH exception handling, which wouldn't work
4 lines
197 B
CMake
4 lines
197 B
CMake
|
|
add_host_module(gcc_plugin_seh main.cpp)
|
|
target_include_directories(gcc_plugin_seh PRIVATE ${GCC_PLUGIN_DIR}/include)
|
|
set_target_properties(gcc_plugin_seh PROPERTIES POSITION_INDEPENDENT_CODE ON)
|