1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00
freebsd/CMakeLists.txt
David Chisnall 6ec4e3f257 Import libcxxrt / libc++ into a vendor branch.
Approved by:	dim (mentor)
2011-11-22 17:30:41 +00:00

23 lines
392 B
CMake

set(CXXRT_SOURCES
dynamic_cast.cc
exception.cc
guard.cc
stdexcept.cc
typeinfo.cc
memory.cc
auxhelper.cc
libelftc_dem_gnu3.c
)
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"
)