1 2set_cpp(WITH_EXCEPTIONS) 3 4include_directories( 5 ${REACTOS_SOURCE_DIR}/sdk/lib/crt/include 6 ${REACTOS_SOURCE_DIR}/sdk/include/c++) 7 8list(APPEND SOURCE 9 ehvec.cpp 10 new_nothrow.cpp 11 typeinfo.cpp) 12 13if(ARCH STREQUAL "i386") 14 add_asm_files(cpprt_asm i386/cpprt.s) 15 list(APPEND SOURCE i386/framehandler.c) 16elseif(ARCH STREQUAL "amd64") 17 add_asm_files(cpprt_asm amd64/cpprt.s) 18elseif(ARCH STREQUAL "arm") 19 add_asm_files(cpprt_asm arm/cpprt.s) 20endif() 21 22add_library(cpprt ${SOURCE} ${cpprt_asm}) 23add_dependencies(cpprt xdk) 24