summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup some workarounds and warnings (#4735)peterbell102020-05-101-4/+0
| | | | | | | | | * Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy?
* Stabilise MoveToWorld (#4004)Mat2020-03-051-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
* Updated LibEvent to release 2.1.11-stable. (#4383)Mattes D2019-09-041-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.
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-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.
* Add the fmt library (#4065)peterbell102018-01-031-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.
* Removed the LeakFinder for Windows. (#3777)Mattes D2017-06-191-0/+2
|
* Replace evdns with getaddrinfo and getnameinfo (#3766)peterbell102017-06-151-0/+3
|
* Use CMake's Android generators to crosscompileTiger Wang2016-12-121-8/+0
|
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
|
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-1/+1
| | | | Also upgraded the user setting file for MSVC to 2013.
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Skip unknown cflag for Apple clang & remove cSemaphoreCengiz Can2015-06-041-2/+0
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Fix teststycho2015-05-231-0/+4
|
* cNetwork: Added EnumLocalIPAddresses() function.Mattes D2015-02-221-0/+1
|
* cNetwork: Added UDP API.Mattes D2015-02-201-0/+2
|
* Removed ListenThread and SocketThreads.Mattes D2015-01-271-6/+0
| | | | | They have been replaced by the cNetwork API. Socket.cpp is still used by RCONClient.
* Fixed missing LibEvent reference in OSSupport.Mattes D2015-01-271-1/+1
|
* cNetwork: Split the main cpp file into several files.Mattes D2015-01-221-1/+8
|
* cNetwork: Split cNetworkSingleton to a separate file.Mattes D2015-01-221-0/+2
|
* Implemented LibEvent-based client connections.Mattes D2015-01-221-0/+2
|
* Merged branch 'origin/master' into c++11.Mattes D2014-12-041-0/+2
|\
| * Added a basic stacktracing for assert and signal failures.Mattes D2014-11-291-2/+6
| |
* | Merged branch 'master' into c++11.Mattes D2014-10-241-1/+5
|\|
| * OSSupport/CMakeLists.txt: fixed indentationarchshift2014-10-241-3/+3
| |
| * Fixed potential linker errors with mingw, as it isn't MSVC and it isn't APPLE.archshift2014-10-241-4/+4
| |
| * Fix linking on OS X, which does not have librt.archshift2014-10-231-2/+6
| |
* | Compile fix?Tiger Wang2014-10-211-2/+2
| |
* | Migrated cSleep and cTimer to std::chronoTiger Wang2014-10-201-2/+0
| |
* | Use std::threadTiger Wang2014-10-191-2/+0
|/
* Update CMakeLists.txtworktycho2014-10-061-1/+1
|
* Subdirs: Only add_library if not using MSVCarchshift2014-07-191-3/+5
|
* OSSupport/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-5/+32
|
* Cmake generated projects for IDEs include headers in project files.archshift2014-04-251-0/+1
|
* added pthread linking code to OSSupportTycho Bickerstaff2013-12-191-0/+4
|
* added tolua++ command and removed stackwalker from buildTycho Bickerstaff2013-12-101-1/+0
|
* more cmake changesTycho Bickerstaff2013-12-101-2/+4
|
* more cmakeTycho Bickerstaff2013-12-101-1/+3
|
* started work on cmakeTycho Bickerstaff2013-12-101-0/+7