summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-06Add documentation for @tigerw's new CMake flags (#4814)Alexander Harkness1-5/+8
* Add additional compilation options to CMakeLists.txt * Add new CMake options to COMPILING file * Add comment about CMake version requirements
2020-07-12Address commentsTiger Wang1-5/+6
2020-07-12FunktionsTiger Wang1-10/+20
2020-07-12More CMake cleanupTiger Wang1-212/+20
2020-07-06Update libevent to 2.1.12-stablePeter Bell1-2/+0
2020-05-31Configurable LTO (#4755)Tiger Wang1-5/+5
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang1-144/+104
* Make our CMake slightly less insane
2020-05-09Enable C++17 in buildPeter Bell1-1/+5
2020-05-09Update submodules (#4727)peterbell101-13/+10
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.
2019-09-04Updated LibEvent to release 2.1.11-stable. (#4383)Mattes D1-7/+8
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-01-03Add the fmt library (#4065)peterbell101-0/+6
* 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-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell101-7/+9
* 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-24Use target_compile_options instead of variables to add -fomit-frame-pointer to mbedtlspeterbell101-0/+6
2017-08-24Minor changes (#3909)mathiascode1-2/+2
2017-05-04Fixed SysLua builds.Mattes D1-1/+0
Ref.: https://github.com/cuberite/cuberite/pull/3690#issuecomment-299300034
2017-05-04Removed binary ToLua++ from build.Mattes D1-2/+2
A local Lua executable is used instead.
2017-03-10Hard minimum compiler version GCC 4.8 and Clang 3.4 (#3587)johnsoch1-0/+12
Fixes #3155.
2016-12-12Use CMake's Android generators to crosscompileTiger Wang1-25/+22
2016-11-15Added NoiseSpeedTest project.Mattes D1-0/+1
2016-07-30Change CROSSCOMPILE flag to NO_NATIVE_OPTIMIZATION (#3279)Alexander Harkness1-11/+5
* 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-21CMake: Fix system Lua usage for non-5.1 versions. (#3271)Mattes D1-6/+30
2016-07-18CMake: Silenced CMP0054 policy warning.Mattes D1-0/+4
The warning is still emitted for jsoncpp and libevent, but not for Cuberite anymore.
2016-07-18Use system Lua, if available, to generate bindings.Mattes D1-0/+12
Closes #1031.
2016-06-18SelfTests: Organized into solution folders.Mattes D1-21/+0
2016-05-29Added GrownBiomeGenVisualiser.Mattes D1-0/+1
2016-03-01WebAdmin uses the new HTTP parser framework.Mattes D1-1/+4
2016-03-01Added unit test for parsing HTTP request.Mattes D1-0/+2
2016-01-01Renamed leftover strings to Cuberite / Server, as needed.Mattes D1-3/+2
Also upgraded the user setting file for MSVC to 2013.
2015-11-04Outsourced all libraries into submodulesJulian Laubstein1-0/+27
2015-10-09Added WORKING_DIRECTORY specification to git queries used in CMake.Mattes D1-0/+3
Fixes #2493.
2015-09-05Renamed output directory to ServerMattes D1-21/+20
2015-08-11Added check for JsonCpp submodule presence.Mattes D1-0/+3
2015-07-12Added JsonCPP library location to search pathsTiger Wang1-1/+6
* Fixed '-dirty' submodule changes Probably fixes an issue somewhere too?
2015-07-10Updated and submodularised JsonCPPTiger Wang1-0/+5
Conflicts: lib/jsoncpp
2015-06-19Externalized cPrefabPiecePool self-test.Mattes D1-5/+45
2015-06-06Disable column metadatatycho1-0/+1
2015-06-05CMake: Added buildinfo workaround for src packs / systems without git.Mattes D1-0/+7
2015-06-05Provide some BuildInfo even for non-CI builds.Mattes D1-2/+25
Ref.: #2204
2015-06-04Skip unknown cflag for Apple clang & remove cSemaphoreCengiz Can1-0/+2
2015-06-03CMake: Removed unused legacy LibEvent target.Mattes D1-1/+1
2015-06-03CMake: Put projects into solution folders in MSVC.Mattes D1-0/+14
2015-05-23Add build_tools and Self_test as cache options, so that CLion can detect themtycho1-0/+3
2015-05-07Added Lua C API checks in Debug builds.Mattes D1-0/+3
2015-05-03Fixed multiple mbedtls inclusion.Mattes D1-0/+2
Ref.: #1880.
2015-01-22cNetwork: Fixed compilation in out-of-source builds.Mattes D1-0/+3
2015-01-22Excluded PolarSSL tests from MCS tests.Mattes D1-1/+2
2015-01-22Added the libevent library.Mattes D1-0/+11
2015-01-09CMake: Check libs in submodules before configuring.Mattes D1-0/+8
This provides an early error message when someone forgets to init / update submodules.
2014-11-02CMake: Added a C++11 check for VS.Mattes D1-0/+15
VS2010- cannot be used, VS2012 needs to have a 2012-CTP compiler installed, VS2013+ has all the features we need.
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+0
2014-09-10Added MCServer_ prfix to env vars for versionsTycho1-6/+6
2014-09-10Added abilty to set build infoTycho1-0/+19
build info is displayed at startup Fixes #1410
2014-09-06Added workaround for clang versionTycho1-1/+1
2014-09-06bumped cmake version min and fixed clang supportTycho1-1/+1
2014-07-28Fixed SQLiteCpp include paths for MSVC2010+.Mattes D1-1/+1
2014-07-28Fixed include directories for SQLiteCpp.madmaxoft1-0/+6
2014-07-28Added SQLiteCpp library.madmaxoft1-0/+9
This provides C++ wrappers for SQLite, making it safer to use in the C++ environment.
2014-06-27Removed the md5 library, obsoleted by PolarSSL.Mattes D1-1/+0
Fixes #1130.
2014-06-24Added the Lua Proxy DLL.madmaxoft1-0/+4
This builds the lua5.1.dll file on Windows, making it 64-bit if so required.
2014-05-10Maybe coverage working?Tycho1-0/+4
2014-04-27Added Testing capabilityTycho1-1/+6
2014-03-10Prepended Travis to env varsTycho1-5/+7
2014-03-07Move env code part 2worktycho1-0/+9
Only just noticed I committed this on the wrong branch.
2014-02-16Fixed commentTycho1-1/+1
2014-02-16can Now build ProtoProxy alongside MCServerTycho1-1/+2
2014-02-16Allow building MCADefrag at the same time as MCServerTycho1-4/+9
2014-02-16Added a seperate module for Setting flagsTycho1-179/+7
2014-02-05Added support to start up MCServer and then immediatly sut it down in travisTycho1-0/+4
2014-02-04Explicitly make chars signed at the compiler-level.madmaxoft1-0/+3
Should fix #640.
2014-02-04Ensure -Wall is enabledTycho1-0/+1
2014-01-26Changed it so std was actually set to c++11 in clang not gcc on OS XTycho1-2/+11
2014-01-24Removed unnecessary defineTiger Wang1-7/+0
2014-01-22Replacing CryptoPP with PolarSSL.madmaxoft1-1/+6
This is only the CMake modification to build with PolarSSL, the actual MCS code doesn't compile at all yet.
2014-01-19First attempt at Compiling Generator seperatlyTycho1-0/+4
2014-01-17Changed std to c++11 in clang to fix va_copy issuesTycho1-0/+1
2014-01-15CMake: MSVC release builds use LTCG.madmaxoft1-2/+8
2014-01-15CMake: MSVC builds use static CRT.madmaxoft1-0/+9
We don't want to be dependent on the VC runtime.
2014-01-14CMake: Release profile build inherits from Release, not Debug.madmaxoft1-5/+13
2014-01-13Added -march=native to linux targetsTycho1-1/+6
2014-01-07Fixed FreeBSD compilitionTycho1-0/+11
2014-01-02fixed compiler warnings not being enabled in clangTycho Bickerstaff1-2/+6
2013-12-29Fixed Linux configuration.madmaxoft1-1/+1
2013-12-28CMake: profiling builds get correct commandlines in MSVC.madmaxoft1-64/+80
2013-12-28Added custom configurations for MSVC projects.madmaxoft1-19/+43
The DebugProfile and ReleaseProfile configurations add profiling capabilities to the respective build.
2013-12-28CMake: Fixed mismatching library vs app builds.madmaxoft1-26/+29
2013-12-27Lua is built statically on *nix.madmaxoft1-1/+6
2013-12-27Made cmake compilation possible on Windows.madmaxoft1-5/+9
2013-12-22fixed rdynamic as its not acctually needed a cmake handles it, looks like the problem was caused by the linux linker accepting the option twice and the os x linker notTycho Bickerstaff1-7/+0
2013-12-22fixes for mac os xTycho Bickerstaff1-4/+8
2013-12-21added FORCE_32 optionTycho Bickerstaff1-1/+15
2013-12-21finished up final build flags for linuxTycho Bickerstaff1-2/+19
2013-12-20added profile builds as an optionTycho Bickerstaff1-13/+51
2013-12-20fixed D9025tycho1-2/+3
2013-12-20fixed multiprocessing on windows and removed redundend compile of headerstycho1-0/+5
2013-12-19fixed visual studio compile flagstycho1-4/+14
2013-12-19added md5 as a dependency for bindingsTycho Bickerstaff1-0/+1
2013-12-19added expat as lua bindings dependincyTycho Bickerstaff1-1/+7
2013-12-19compiling sqliteTycho Bickerstaff1-0/+1
2013-12-19fixed bindings generationTycho Bickerstaff1-0/+1
2013-12-19bindings regenration logicTycho Bickerstaff1-0/+1
2013-12-11added zlibTycho Bickerstaff1-0/+1
2013-12-10more cmake changesTycho Bickerstaff1-1/+4
2013-12-10more cmakeTycho Bickerstaff1-0/+9
2013-12-10started work on cmakeTycho Bickerstaff1-0/+7