summaryrefslogtreecommitdiffstats
path: root/src/Simulator/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-8/+2
| | | * Make our CMake slightly less insane
* Update submodules (#4727)peterbell102020-05-091-1/+1
| | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
* 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.
* improve rain simulation (#4017)Alexander Harkness2017-12-261-1/+0
| | | | | | | | | | | * Uses vanilla logic to decide which blocks rain falls through. * Rain falls infinitely above the world, and stops at y=0. * Entities will now be extinguished if they are under rain-blocking blocks, and fire will now be extinguished by rain similarly. * Create IsWeatherWetAtXYZ to identify wetness at a particular location. * Use new code for enderman rain detection. * Fixes issue #916 * Disable warnings for global constructors in the fire simulator.
* Fixed type-casting-related warnings.Mattes D2016-08-241-7/+4
|
* 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.
* Reorganised the redstone simulatorTiger Wang2015-12-181-3/+0
| | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Make -Werror disabling file onlytycho2015-05-191-0/+7
| | | | Ad fix a load of warnings
* Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho2014-09-111-1/+0
| | | | THis wil hopefully allow for unit testing
* Subdirs: Only add_library if not using MSVCarchshift2014-07-191-1/+3
|
* Simulator/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-5/+28
|
* Cmake generated projects for IDEs include headers in project files.archshift2014-04-251-0/+1
|
* moved simulor to globsTycho Bickerstaff2013-12-111-1/+5
|
* more cmakeTycho Bickerstaff2013-12-101-0/+7