diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..d30da28 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,22 @@ + +set(CXXRT_SOURCES + dynamic_cast.cc + exception.cc + guard.cc + terminate.cc + typeinfo.cc + stdexcept.cc + memory.cc + aux.cc + ) + + +add_library(cxxrt-static STATIC ${CXXRT_SOURCES}) +add_library(cxxrt-shared SHARED ${CXXRT_SOURCES}) + +set_target_properties(cxxrt-static cxxrt-shared PROPERTIES + OUTPUT_NAME "cxxrt" + ) + + + |