1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib/System/CMakeLists.txt
Jeffrey Yasskin 29ea777c1e Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes the
Windows variant, strerror_s, but I couldn't test that.

I'll update configure and config.h.in in a subsequent patch.

llvm-svn: 74621
2009-07-01 18:11:20 +00:00

24 lines
366 B
CMake

add_llvm_library(LLVMSystem
Alarm.cpp
Atomic.cpp
Disassembler.cpp
DynamicLibrary.cpp
Errno.cpp
Host.cpp
IncludeFile.cpp
Memory.cpp
Mutex.cpp
Path.cpp
Process.cpp
Program.cpp
RWMutex.cpp
Signals.cpp
Threading.cpp
TimeValue.cpp
ThreadLocal.cpp
)
if( BUILD_SHARED_LIBS AND NOT WIN32 )
target_link_libraries(LLVMSystem dl)
endif()