mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
ce848e5c11
Previously it was in cpprt, which is a support library for C++, containing functions that are not exported by msvcrt. But since Vista __CxxFrameHandler3 is exported by msvcrt. Therefore move it to crt, and to satisfy pre-Vista configurations, also add it to msvcrtex.
23 lines
533 B
CMake
23 lines
533 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/crt/include
|
|
${REACTOS_SOURCE_DIR}/sdk/include/c++)
|
|
|
|
list(APPEND SOURCE
|
|
ehvec.cpp
|
|
new_nothrow.cpp
|
|
terminate.cpp
|
|
typeinfo.cpp)
|
|
|
|
if(ARCH STREQUAL "i386")
|
|
add_asm_files(cpprt_asm i386/cpprt.s)
|
|
elseif(ARCH STREQUAL "amd64")
|
|
add_asm_files(cpprt_asm amd64/cpprt.s)
|
|
elseif(ARCH STREQUAL "arm")
|
|
add_asm_files(cpprt_asm arm/cpprt.s)
|
|
endif()
|
|
|
|
add_library(cpprt ${SOURCE} ${cpprt_asm})
|
|
set_target_cpp_properties(cpprt WITH_EXCEPTIONS)
|
|
add_dependencies(cpprt xdk)
|