eb2947d756dca05d0a0e96f19806568bd2494fc1
[reactos.git] / reactos / lib / sdk / cpprt / CMakeLists.txt
1
2 set_cpp(WITH_EXCEPTIONS)
3
4 include_directories(${REACTOS_SOURCE_DIR}/lib/sdk/crt/include)
5
6 list(APPEND SOURCE
7 ehvec.cpp
8 typeinfo.cpp)
9
10 if(ARCH STREQUAL "i386")
11 add_asm_files(cpprt_asm i386/cpprt.s)
12 list(APPEND SOURCE i386/framehandler.c)
13 elseif(ARCH STREQUAL "amd64")
14 add_asm_files(cpprt_asm amd64/cpprt.s)
15 endif()
16
17 add_library(cpprt ${SOURCE} ${cpprt_asm})