summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-10Cleanup some workarounds and warnings (#4735)peterbell101-4/+0
* Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy?
2020-03-05Stabilise MoveToWorld (#4004)Mat1-0/+1
* Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld
2019-09-04Updated LibEvent to release 2.1.11-stable. (#4383)Mattes D1-0/+4
This finally restores my ability to compile on Windows and Linux from the same source folder (on a network drive). LibEvent broke this long ago by writing a config file into the source folder, rather than build folder. Now it's finally fixed.
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-3/+0
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2018-01-03Add the fmt library (#4065)peterbell101-0/+1
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
2017-06-19Removed the LeakFinder for Windows. (#3777)Mattes D1-0/+2
2017-06-15Replace evdns with getaddrinfo and getnameinfo (#3766)peterbell101-0/+3
2016-12-12Use CMake's Android generators to crosscompileTiger Wang1-8/+0
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-2/+0
2016-01-01Renamed leftover strings to Cuberite / Server, as needed.Mattes D1-1/+1
Also upgraded the user setting file for MSVC to 2013.
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-1/+1
2015-06-04Skip unknown cflag for Apple clang & remove cSemaphoreCengiz Can1-2/+0
2015-05-24Made -Weverything an error.tycho1-1/+1
2015-05-23Fix teststycho1-0/+4
2015-02-22cNetwork: Added EnumLocalIPAddresses() function.Mattes D1-0/+1
2015-02-20cNetwork: Added UDP API.Mattes D1-0/+2
2015-01-29Fixed missing LibEvent reference in OSSupport.Mattes D1-1/+1
2015-01-27Removed ListenThread and SocketThreads.Mattes D1-6/+0
They have been replaced by the cNetwork API. Socket.cpp is still used by RCONClient.
2015-01-27Fixed missing LibEvent reference in OSSupport.Mattes D1-1/+1
2015-01-22cNetwork: Split the main cpp file into several files.Mattes D1-1/+8
2015-01-22cNetwork: Split cNetworkSingleton to a separate file.Mattes D1-0/+2
2015-01-22Implemented LibEvent-based client connections.Mattes D1-0/+2
2014-11-29Added a basic stacktracing for assert and signal failures.Mattes D1-2/+6
2014-10-24OSSupport/CMakeLists.txt: fixed indentationarchshift1-3/+3
2014-10-24Fixed potential linker errors with mingw, as it isn't MSVC and it isn't APPLE.archshift1-4/+4
2014-10-23Fix linking on OS X, which does not have librt.archshift1-2/+6
2014-10-21Compile fix?Tiger Wang1-2/+2
2014-10-20Migrated cSleep and cTimer to std::chronoTiger Wang1-2/+0
2014-10-19Use std::threadTiger Wang1-2/+0
2014-10-06Update CMakeLists.txtworktycho1-1/+1
2014-07-19Subdirs: Only add_library if not using MSVCarchshift1-3/+5
2014-07-19OSSupport/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+32
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift1-0/+1
2013-12-19added pthread linking code to OSSupportTycho Bickerstaff1-0/+4
2013-12-10added tolua++ command and removed stackwalker from buildTycho Bickerstaff1-1/+0
2013-12-10more cmake changesTycho Bickerstaff1-2/+4
2013-12-10more cmakeTycho Bickerstaff1-1/+3
2013-12-10started work on cmakeTycho Bickerstaff1-0/+7