1
0
Commit Graph

110 Commits

Author SHA1 Message Date
Tiger Wang
4f85931c42 Address comments 2020-07-12 22:00:07 +01:00
Tiger Wang
2c0fc395ba Funktions 2020-07-12 22:00:07 +01:00
Tiger Wang
6317176d7e More CMake cleanup 2020-07-12 22:00:07 +01:00
Peter Bell
ad935ef40f Update libevent to 2.1.12-stable 2020-07-06 20:53:04 +01:00
Tiger Wang
8b0b800008
Configurable LTO (#4755) 2020-05-31 20:26:50 +01:00
Tiger Wang
9e8598fb1c
Upgrade to C++17 [CMake] (#4717)
* Make our CMake slightly less insane
2020-05-16 20:59:10 +01:00
Peter Bell
1123c95cf2 Enable C++17 in build 2020-05-09 20:37:16 +01:00
peterbell10
e6634ed26c
Update submodules (#4727)
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.
2020-05-09 15:51:15 +01:00
Mattes D
f021e2fe22 Updated LibEvent to release 2.1.11-stable. (#4383)
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.
2019-09-04 22:34:54 +01:00
peterbell10
757231cc6e
Add the fmt library (#4065)
* 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.
2018-01-03 17:41:16 +00:00
Lukas Pioch
c5f590d460 Removed UTF-8 BOM (#4033) 2017-09-19 10:34:08 +02:00
peterbell10
84941bcc9f Update mbedtls to 2.5.1 (#3964)
* Renaming changes:
  * macro prefix "POLARSSL" -> "MBEDTLS"
  * functions now prefixed with "mbedtls_"
  * rename PolarSSL++ -> mbedTLS++
  * rename polarssl submodule

* Use mbedtls' AES-CFB8 implementation.

* Add cSslConfig to wrap mbedtls_ssl_config

* Update cTCPLink and cBlockingSslClientSocket to use cSslConfig

* Use cSslConfig in cHTTPServer

* Use cSslConfig for cMojangAPI::SecureRequest

* CI Fixes

* Set -fomit-frame-pointer on the right target
2017-08-30 15:00:06 +01:00
peterbell10
7b3372ad38 Use target_compile_options instead of variables to add -fomit-frame-pointer to mbedtls 2017-08-24 14:03:42 +02:00
mathiascode
02775e52c4 Minor changes (#3909) 2017-08-24 11:19:40 +02:00
Mattes D
1ed2fcf9b8 Fixed SysLua builds.
Ref.: https://github.com/cuberite/cuberite/pull/3690#issuecomment-299300034
2017-05-04 23:01:01 +02:00
Mattes D
0de705eb99 Removed binary ToLua++ from build.
A local Lua executable is used instead.
2017-05-04 17:38:05 +02:00
johnsoch
9fa8477b73 Hard minimum compiler version GCC 4.8 and Clang 3.4 (#3587)
Fixes #3155.
2017-03-10 08:45:11 +01:00
Tiger Wang
8c6d0b51c7 Use CMake's Android generators to crosscompile 2016-12-12 14:32:32 +00:00
Mattes D
eedc1174a5 Added NoiseSpeedTest project. 2016-11-15 07:38:00 +01:00
Alexander Harkness
9e52982f0e Change CROSSCOMPILE flag to NO_NATIVE_OPTIMIZATION (#3279)
* Change CROSSCOMPILE flag to NOMARCHNATIVE.

The old name was confusing, the new name describes exactly what it does.

This fixes issue #3272

* Break configuration when using CROSSCOMPILE.

This stops any old build scripts from producing broken builds.

* Use NO_NATIVE_OPTIMIZATION rather than NOMARCHNATIVE.

Addresses @madmaxoft's concerns.
2016-07-30 14:22:18 +01:00
Mattes D
fc5fb03fec CMake: Fix system Lua usage for non-5.1 versions. (#3271) 2016-07-21 10:46:31 +01:00
Mattes D
2a05d8870d CMake: Silenced CMP0054 policy warning.
The warning is still emitted for jsoncpp and libevent, but not for Cuberite anymore.
2016-07-18 22:11:42 +02:00
Mattes D
430b623223 Use system Lua, if available, to generate bindings.
Closes #1031.
2016-07-18 22:11:41 +02:00
Mattes D
3d164a77cb SelfTests: Organized into solution folders. 2016-06-18 13:12:07 +02:00
Mattes D
1d0bfead3e Added GrownBiomeGenVisualiser. 2016-05-29 19:12:47 +02:00
Mattes D
52d18b4559 WebAdmin uses the new HTTP parser framework. 2016-03-01 16:19:58 +01:00
Mattes D
1d05fc95ae Added unit test for parsing HTTP request. 2016-03-01 16:19:57 +01:00
Mattes D
80e1eb37dd Renamed leftover strings to Cuberite / Server, as needed.
Also upgraded the user setting file for MSVC to 2013.
2016-01-01 21:05:09 +01:00
Julian Laubstein
9a7dd0a077 Outsourced all libraries into submodules 2015-11-04 23:25:00 +01:00
Mattes D
afda3b0019 Added WORKING_DIRECTORY specification to git queries used in CMake.
Fixes #2493.
2015-10-09 11:15:40 +02:00
Mattes D
dac97826f7 Renamed output directory to Server 2015-09-05 22:01:21 +02:00
Mattes D
54e36588dd Added check for JsonCpp submodule presence. 2015-08-11 08:33:59 +02:00
Tiger Wang
e69d4536ab Added JsonCPP library location to search paths
* Fixed '-dirty' submodule changes
Probably fixes an issue somewhere too?
2015-07-12 12:23:11 +01:00
Tiger Wang
ccfe04a0a2 Updated and submodularised JsonCPP
Conflicts:
	lib/jsoncpp
2015-07-09 23:10:51 +01:00
Mattes D
8df31067d4 Externalized cPrefabPiecePool self-test. 2015-06-19 16:15:59 +02:00
Alexander Harkness
4ece4a61f6 Merge pull request #2153 from mc-server/gcc5
Update SQLite
2015-06-06 13:52:58 +01:00
tycho
74e7f8fb53 Disable column metadata 2015-06-06 13:22:56 +01:00
worktycho
519fd1d36d Merge pull request #2206 from mc-server/APIDumpTimeStamp
APIDump time stamp
2015-06-05 13:04:28 +01:00
Mattes D
5ee0657c69 CMake: Added buildinfo workaround for src packs / systems without git. 2015-06-05 13:37:36 +02:00
Mattes D
649921f4a8 Provide some BuildInfo even for non-CI builds.
Ref.: #2204
2015-06-05 10:19:58 +02:00
Cengiz Can
c967698b2d Skip unknown cflag for Apple clang & remove cSemaphore 2015-06-04 11:48:56 +03:00
Mattes D
ec4bbe4cc7 CMake: Removed unused legacy LibEvent target. 2015-06-03 10:42:31 +02:00
Mattes D
df426abdc5 CMake: Put projects into solution folders in MSVC. 2015-06-03 10:40:01 +02:00
tycho
2b844e3680 Add build_tools and Self_test as cache options, so that CLion can detect them 2015-05-23 06:36:45 -07:00
Mattes D
ceac39c4cd Added Lua C API checks in Debug builds. 2015-05-07 23:03:02 +02:00
Mattes D
2f369d09b6 Fixed multiple mbedtls inclusion.
Ref.: #1880.
2015-05-03 10:01:19 +02:00
Mattes D
5cc8d82a23 cNetwork: Fixed compilation in out-of-source builds. 2015-01-22 20:12:53 +01:00
Mattes D
c7335255ac Excluded PolarSSL tests from MCS tests. 2015-01-22 20:12:44 +01:00
Mattes D
a8a7488b54 Added the libevent library. 2015-01-22 20:12:39 +01:00
Mattes D
52d307e3b0 CMake: Check libs in submodules before configuring.
This provides an early error message when someone forgets to init / update submodules.
2015-01-09 20:38:25 +01:00