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