mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +00:00
25 lines
552 B
CMake
25 lines
552 B
CMake
|
|
set_cpp(WITH_EXCEPTIONS)
|
|
|
|
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)
|
|
list(APPEND SOURCE i386/framehandler.c)
|
|
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})
|
|
add_dependencies(cpprt xdk)
|