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 terminate.cpp 12 typeinfo.cpp) 13 14if(ARCH STREQUAL "i386") 15 add_asm_files(cpprt_asm i386/cpprt.s) 16 list(APPEND SOURCE i386/framehandler.c) 17elseif(ARCH STREQUAL "amd64") 18 add_asm_files(cpprt_asm amd64/cpprt.s) 19elseif(ARCH STREQUAL "arm") 20 add_asm_files(cpprt_asm arm/cpprt.s) 21endif() 22 23add_library(cpprt ${SOURCE} ${cpprt_asm}) 24add_dependencies(cpprt xdk) 25