2013-06-22 15:40:20 +00:00
|
|
|
|
2015-05-05 02:44:17 +00:00
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/crt/include
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/c++)
|
2015-02-28 21:03:04 +00:00
|
|
|
|
2013-06-22 19:32:27 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
ehvec.cpp
|
2015-05-05 02:44:17 +00:00
|
|
|
new_nothrow.cpp
|
2019-02-03 17:25:04 +00:00
|
|
|
terminate.cpp
|
2013-06-22 19:32:27 +00:00
|
|
|
typeinfo.cpp)
|
|
|
|
|
2013-09-15 17:09:21 +00:00
|
|
|
if(ARCH STREQUAL "i386")
|
|
|
|
add_asm_files(cpprt_asm i386/cpprt.s)
|
|
|
|
elseif(ARCH STREQUAL "amd64")
|
|
|
|
add_asm_files(cpprt_asm amd64/cpprt.s)
|
2015-05-14 20:20:31 +00:00
|
|
|
elseif(ARCH STREQUAL "arm")
|
|
|
|
add_asm_files(cpprt_asm arm/cpprt.s)
|
2013-09-15 17:09:21 +00:00
|
|
|
endif()
|
2014-10-17 23:28:29 +00:00
|
|
|
|
2013-06-22 19:32:27 +00:00
|
|
|
add_library(cpprt ${SOURCE} ${cpprt_asm})
|
2020-09-18 07:34:18 +00:00
|
|
|
set_target_cpp_properties(cpprt WITH_EXCEPTIONS)
|
2015-09-07 11:13:09 +00:00
|
|
|
add_dependencies(cpprt xdk)
|