1
0
cuberite-2a/src/OSSupport/CMakeLists.txt

47 lines
713 B
CMake
Raw Normal View History

project (Cuberite)
2013-12-10 13:41:43 -05:00
include_directories ("${PROJECT_SOURCE_DIR}/../")
SET (SRCS
CriticalSection.cpp
Errors.cpp
Event.cpp
File.cpp
GZipFile.cpp
HostnameLookup.cpp
IPLookup.cpp
IsThread.cpp
NetworkInterfaceEnum.cpp
NetworkSingleton.cpp
ServerHandleImpl.cpp
StackTrace.cpp
TCPLinkImpl.cpp
2015-02-20 08:28:05 -05:00
UDPEndpointImpl.cpp
2014-10-21 08:49:53 -04:00
)
SET (HDRS
CriticalSection.h
Errors.h
Event.h
File.h
GZipFile.h
HostnameLookup.h
IPLookup.h
IsThread.h
Network.h
NetworkSingleton.h
Queue.h
ServerHandleImpl.h
StackTrace.h
TCPLinkImpl.h
2015-02-20 08:28:05 -05:00
UDPEndpointImpl.h
2014-10-21 08:49:53 -04:00
)
2015-05-23 07:59:41 -04:00
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_flags_cxx("-Wno-error=global-constructors ")
2015-05-23 07:59:41 -04:00
endif()
if(NOT MSVC)
add_library(OSSupport ${SRCS} ${HDRS})
endif()