summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MSVC warningsTiger Wang2021-02-101-0/+2
|
* Fix debug macro situation (#5114)Tiger Wang2021-01-261-5/+0
| | | Use the standard NDEBUG.
* Fix version typo in CMakeLists.txt (#5098)Nir2021-01-021-1/+1
|
* Fix Android builds (#4998)Tiger Wang2020-10-151-5/+2
| | | | | Construct paths relative to the Cuberite sources with PROJECT_SOURCE_DIR, instead of wherever the first CMakeLists.txt file happened to be with CMAKE_SOURCE_DIR. In Android's case, the latter was in a folder called android/ but that's not the root of the source tree, so any file path built off that root was wrong. This caused file-specific warnings exclusions to fail to apply.
* BlockHandler: no dynamic allocation (#4862)Tiger Wang2020-09-171-0/+3
| | | * BlockHandler: no dynamic allocation
* Define _DEBUG macro for tests and main server (#4843)Alexander Harkness2020-08-301-0/+5
| | | | | Cuberite can now ASSERT its own failure once again... Signed-off-by: @tigerw
* Add documentation for @tigerw's new CMake flags (#4814)Alexander Harkness2020-08-061-5/+8
| | | | | | | * Add additional compilation options to CMakeLists.txt * Add new CMake options to COMPILING file * Add comment about CMake version requirements
* Address commentsTiger Wang2020-07-121-5/+6
|
* FunktionsTiger Wang2020-07-121-10/+20
|
* More CMake cleanupTiger Wang2020-07-121-212/+20
|
* Update libevent to 2.1.12-stablePeter Bell2020-07-061-2/+0
|
* Configurable LTO (#4755)Tiger Wang2020-05-311-5/+5
|
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-144/+104
| | | * Make our CMake slightly less insane
* Enable C++17 in buildPeter Bell2020-05-091-1/+5
|
* Update submodules (#4727)peterbell102020-05-091-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.
* Updated LibEvent to release 2.1.11-stable. (#4383)Mattes D2019-09-041-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.
* Add the fmt library (#4065)peterbell102018-01-031-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.
* Removed UTF-8 BOM (#4033)Lukas Pioch2017-09-191-1/+1
|
* Update mbedtls to 2.5.1 (#3964)peterbell102017-08-301-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
* Use target_compile_options instead of variables to add -fomit-frame-pointer to mbedtlspeterbell102017-08-241-0/+6
|
* Minor changes (#3909)mathiascode2017-08-241-2/+2
|
* Fixed SysLua builds.Mattes D2017-05-041-1/+0
| | | | Ref.: https://github.com/cuberite/cuberite/pull/3690#issuecomment-299300034
* Removed binary ToLua++ from build.Mattes D2017-05-041-2/+2
| | | | A local Lua executable is used instead.
* Hard minimum compiler version GCC 4.8 and Clang 3.4 (#3587)johnsoch2017-03-101-0/+12
| | | Fixes #3155.
* Use CMake's Android generators to crosscompileTiger Wang2016-12-121-25/+22
|
* Added NoiseSpeedTest project.Mattes D2016-11-151-0/+1
|
* Change CROSSCOMPILE flag to NO_NATIVE_OPTIMIZATION (#3279)Alexander Harkness2016-07-301-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.
* CMake: Fix system Lua usage for non-5.1 versions. (#3271)Mattes D2016-07-211-6/+30
|
* CMake: Silenced CMP0054 policy warning.Mattes D2016-07-181-0/+4
| | | | The warning is still emitted for jsoncpp and libevent, but not for Cuberite anymore.
* Use system Lua, if available, to generate bindings.Mattes D2016-07-181-0/+12
| | | | Closes #1031.
* SelfTests: Organized into solution folders.Mattes D2016-06-181-21/+0
|
* Added GrownBiomeGenVisualiser.Mattes D2016-05-291-0/+1
|
* WebAdmin uses the new HTTP parser framework.Mattes D2016-03-011-1/+4
|
* Added unit test for parsing HTTP request.Mattes D2016-03-011-0/+2
|
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-3/+2
| | | | Also upgraded the user setting file for MSVC to 2013.
* Outsourced all libraries into submodulesJulian Laubstein2015-11-041-0/+27
|
* Added WORKING_DIRECTORY specification to git queries used in CMake.Mattes D2015-10-091-0/+3
| | | | Fixes #2493.
* Renamed output directory to ServerMattes D2015-09-051-21/+20
|
* Added check for JsonCpp submodule presence.Mattes D2015-08-111-0/+3
|
* Added JsonCPP library location to search pathsTiger Wang2015-07-121-1/+6
| | | | | * Fixed '-dirty' submodule changes Probably fixes an issue somewhere too?
* Updated and submodularised JsonCPPTiger Wang2015-07-101-0/+5
| | | | | Conflicts: lib/jsoncpp
* Externalized cPrefabPiecePool self-test.Mattes D2015-06-191-5/+45
|
* Merge pull request #2153 from mc-server/gcc5Alexander Harkness2015-06-061-0/+1
|\ | | | | Update SQLite
| * Disable column metadatatycho2015-06-061-0/+1
| |
* | Merge pull request #2206 from mc-server/APIDumpTimeStampworktycho2015-06-051-2/+32
|\ \ | | | | | | APIDump time stamp
| * | CMake: Added buildinfo workaround for src packs / systems without git.Mattes D2015-06-051-0/+7
| | |
| * | Provide some BuildInfo even for non-CI builds.Mattes D2015-06-051-2/+25
| | | | | | | | | | | | Ref.: #2204
* | | Skip unknown cflag for Apple clang & remove cSemaphoreCengiz Can2015-06-041-0/+2
|/ /
* | CMake: Removed unused legacy LibEvent target.Mattes D2015-06-031-1/+1
| |
* | CMake: Put projects into solution folders in MSVC.Mattes D2015-06-031-0/+14
|/
* Add build_tools and Self_test as cache options, so that CLion can detect themtycho2015-05-231-0/+3
|
* Added Lua C API checks in Debug builds.Mattes D2015-05-071-0/+3
|
* Fixed multiple mbedtls inclusion.Mattes D2015-05-031-0/+2
| | | | Ref.: #1880.
* cNetwork: Fixed compilation in out-of-source builds.Mattes D2015-01-221-0/+3
|
* Excluded PolarSSL tests from MCS tests.Mattes D2015-01-221-1/+2
|
* Added the libevent library.Mattes D2015-01-221-0/+11
|
* CMake: Check libs in submodules before configuring.Mattes D2015-01-091-0/+8
| | | | This provides an early error message when someone forgets to init / update submodules.
* CMake: Added a C++11 check for VS.Mattes D2014-11-021-0/+15
| | | | VS2010- cannot be used, VS2012 needs to have a 2012-CTP compiler installed, VS2013+ has all the features we need.
* Merged IniFile into main MCS sources.Mattes D2014-10-231-1/+0
|
* Added MCServer_ prfix to env vars for versionsTycho2014-09-101-6/+6
|
* Added abilty to set build infoTycho2014-09-101-0/+19
| | | | | build info is displayed at startup Fixes #1410
* Added workaround for clang versionTycho2014-09-061-1/+1
|
* bumped cmake version min and fixed clang supportTycho2014-09-061-1/+1
|
* Fixed SQLiteCpp include paths for MSVC2010+.Mattes D2014-07-281-1/+1
|
* Fixed include directories for SQLiteCpp.madmaxoft2014-07-281-0/+6
|
* Added SQLiteCpp library.madmaxoft2014-07-281-0/+9
| | | | This provides C++ wrappers for SQLite, making it safer to use in the C++ environment.
* Merge branch 'master' into LuaProxyMattes D2014-07-011-1/+0
|\
| * Removed the md5 library, obsoleted by PolarSSL.Mattes D2014-06-271-1/+0
| | | | | | | | Fixes #1130.
* | Added the Lua Proxy DLL.madmaxoft2014-06-241-0/+4
|/ | | | This builds the lua5.1.dll file on Windows, making it 64-bit if so required.
* Maybe coverage working?Tycho2014-05-101-0/+4
|
* Added Testing capabilityTycho2014-04-271-1/+6
|
* Prepended Travis to env varsTycho2014-03-101-5/+7
|
* Move env code part 2worktycho2014-03-071-0/+9
| | | Only just noticed I committed this on the wrong branch.
* Fixed commentTycho2014-02-161-1/+1
|
* can Now build ProtoProxy alongside MCServerTycho2014-02-161-1/+2
|
* Allow building MCADefrag at the same time as MCServerTycho2014-02-161-4/+9
|
* Added a seperate module for Setting flagsTycho2014-02-161-179/+7
|
* Added support to start up MCServer and then immediatly sut it down in travisTycho2014-02-051-0/+4
|
* Explicitly make chars signed at the compiler-level.madmaxoft2014-02-041-0/+3
| | | | Should fix #640.
* Ensure -Wall is enabledTycho2014-02-041-0/+1
|
* Changed it so std was actually set to c++11 in clang not gcc on OS XTycho2014-01-261-2/+11
|
* Merge pull request #575 from worktycho/GeneratingBenchmarkMattes D2014-01-251-0/+4
|\ | | | | More Interfaces to decouple Generator from the rest of the code
| * First attempt at Compiling Generator seperatlyTycho2014-01-191-0/+4
| |
* | Removed unnecessary defineTiger Wang2014-01-241-7/+0
| |
* | Replacing CryptoPP with PolarSSL.madmaxoft2014-01-221-1/+6
|/ | | | This is only the CMake modification to build with PolarSSL, the actual MCS code doesn't compile at all yet.
* Changed std to c++11 in clang to fix va_copy issuesTycho2014-01-171-0/+1
|
* CMake: MSVC release builds use LTCG.madmaxoft2014-01-151-2/+8
|
* CMake: MSVC builds use static CRT.madmaxoft2014-01-151-0/+9
| | | | We don't want to be dependent on the VC runtime.
* CMake: Release profile build inherits from Release, not Debug.madmaxoft2014-01-141-5/+13
|
* Added -march=native to linux targetsTycho2014-01-131-1/+6
|
* Merge branch master into CmakeMultiConfig.madmaxoft2014-01-121-12/+23
|\
| * Fixed FreeBSD compilitionTycho2014-01-071-0/+11
| |
| * fixed compiler warnings not being enabled in clangTycho Bickerstaff2014-01-021-2/+6
| |
| * merged changes from upstreamTycho Bickerstaff2013-12-311-26/+28
| |\
| * | fixed 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 Bickerstaff2013-12-221-7/+0
| | |
| * | fixes for mac os xTycho Bickerstaff2013-12-221-4/+8
| | |
* | | Fixed Linux configuration.madmaxoft2013-12-291-1/+1
| | |
* | | CMake: profiling builds get correct commandlines in MSVC.madmaxoft2013-12-281-64/+80
| | |
* | | Added custom configurations for MSVC projects.madmaxoft2013-12-281-19/+43
| |/ |/| | | | | The DebugProfile and ReleaseProfile configurations add profiling capabilities to the respective build.
* | CMake: Fixed mismatching library vs app builds.madmaxoft2013-12-281-26/+29
|/
* Lua is built statically on *nix.madmaxoft2013-12-271-1/+6
|
* Made cmake compilation possible on Windows.madmaxoft2013-12-271-5/+9
|
* added FORCE_32 optionTycho Bickerstaff2013-12-211-1/+15
|
* finished up final build flags for linuxTycho Bickerstaff2013-12-211-2/+19
|
* added profile builds as an optionTycho Bickerstaff2013-12-201-13/+51
|
* fixed D9025tycho2013-12-201-2/+3
|
* fixed multiprocessing on windows and removed redundend compile of headerstycho2013-12-201-0/+5
|
* fixed visual studio compile flagstycho2013-12-191-4/+14
|
* added md5 as a dependency for bindingsTycho Bickerstaff2013-12-191-0/+1
|
* added expat as lua bindings dependincyTycho Bickerstaff2013-12-191-1/+7
|
* compiling sqliteTycho Bickerstaff2013-12-191-0/+1
|
* fixed bindings generationTycho Bickerstaff2013-12-191-0/+1
|
* bindings regenration logicTycho Bickerstaff2013-12-191-0/+1
|
* added zlibTycho Bickerstaff2013-12-111-0/+1
|
* more cmake changesTycho Bickerstaff2013-12-101-1/+4
|
* more cmakeTycho Bickerstaff2013-12-101-0/+9
|
* started work on cmakeTycho Bickerstaff2013-12-101-0/+7