summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix build on Clang < 12Bond_0092022-01-131-1/+10
|
* Fix compilation with Clang 13.0.0Bond_0092022-01-131-2/+2
| | | | | | | | Clang 13 changes: * `-Wreserved-identifier` and `-Wunused-but-set-variable` got added * the `-Wreturn-std-move-in-c++11` option was removed Builds still fail when native optimizations are enabled
* Compile the entire Lua stack as C++Tiger Wang2021-06-251-1/+6
| | | | * Fixes #5216
* Fix march=native not being enabledTiger Wang2021-02-111-2/+11
| | | | | | | * LINUX doesn't exist apparently, use UNIX instead + Add some platform-specific logic to determine whether to use mcpu or march - Remove duplicated compile option comments + Add STATUS level to messages
* MSVC warningsTiger Wang2021-02-101-1/+10
|
* Fix debug macro situation (#5114)Tiger Wang2021-01-261-9/+0
| | | Use the standard NDEBUG.
* Warnings improvementsTiger Wang2020-12-181-16/+20
| | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-1/+14
| | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Reduce buildlogspamTiger Wang2020-07-131-1/+4
| | | | - Turn off unused parameter warning
* Address commentsTiger Wang2020-07-121-9/+9
|
* FunktionsTiger Wang2020-07-121-42/+37
|
* More CMake cleanupTiger Wang2020-07-121-230/+72
|
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-0/+8
| | | * Make our CMake slightly less insane
* Enable C++17 in buildPeter Bell2020-05-091-15/+0
|
* Update fmt to 6.2.0 (#4718)peterbell102020-05-051-3/+3
| | | * Update fmt to 6.2.0
* Support clang 10.0 (appleclang) and higher (#4302)Bond-0092018-10-151-2/+2
|
* Add the fmt library (#4065)peterbell102018-01-031-1/+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.
* Use target_compile_options instead of variables to add -fomit-frame-pointer to mbedtlspeterbell102017-08-241-7/+0
|
* Add link to knowledge base.peterbell102017-08-181-0/+2
|
* SetFlags: Omit frame pointer in C arm debug buildspeterbell102017-08-181-0/+1
| | | | Fixes mbedtls build failure with inline asm.
* Documented steps for compilationTiger Wang2016-12-121-4/+4
| | | | As requested by @madmaxoft.
* Use CMake's Android generators to crosscompileTiger Wang2016-12-121-1/+8
|
* Change CROSSCOMPILE flag to NO_NATIVE_OPTIMIZATION (#3279)Alexander Harkness2016-07-301-1/+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.
* Fixed Clang warnings.Mattes D2016-01-061-0/+1
|
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-1/+1
| | | | Also upgraded the user setting file for MSVC to 2013.
* Clang-3.8: Added ignore flag for double promotionLukas Pioch2015-12-301-0/+6
|
* Working coverage buildtycho2015-12-181-0/+1
|
* Fix musl + clang 3.6 compile errorworktycho2015-11-191-0/+3
|
* Added the _UNICODE flag on WindowsTiger Wang2015-09-261-0/+3
|
* Fixed flags for ARM native debug build.Mattes D2015-09-251-9/+13
| | | | Also fixed indentation style to all-tabs.
* Revert Clang compiler flag that breaks OS X buildMatti Hänninen2015-08-221-1/+0
|
* Use container-based infrastructure for TravisTiger Wang2015-08-201-0/+7
|
* Fix compilation on ARMv7.Fixes #2387.Zack Piper2015-07-241-0/+4
|
* Skip unknown cflag for Apple clang & remove cSemaphoreCengiz Can2015-06-041-5/+7
|
* Moved shared cmake flags to the CMAKE_C_FLAGS vartycho2015-05-301-8/+2
|
* Merge branch 'master' into PreventNewWarningstycho2015-05-281-0/+5
|\ | | | | | | | | Conflicts: src/Inventory.cpp
| * Support building on FreeBSDlinnemannr2015-05-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SetFlags.cmake Add -lexecinfo to linker flags for FreeBSD to resolve backtrace() lib/sqlite/CMakeLists.txt Define _XOPEN_SOURCE to 600 instead of __POSIX_VISIBLE to 200112 for POSIX 1-2001 support. For POSIX standards, the _XOPEN_SOURCE define controls the eventual value of __POSIX_VISIBLE. _XOPEN_SOURCE is defined to 500 in sqlite.c if not already defined, which sets up _POSIX_C_SOURCE and __POSIX_VISIBLE to the 199506 for POSIX.1c lib/tolua++/CMakeLists.txt src/CMakeLists.txt Add /usr/local/lib to the library search path for FreeBSD builds src/OSSupport/Errors.cpp Correct the strerror_r() implementation determination to check whether _GNU_SOURCE is defined, not what it evaluates to
* | Fix clang 3.6 flags to only be used in clang 3.6tycho2015-05-241-10/+14
| |
* | Made -Weverything an error.tycho2015-05-241-1/+1
| |
* | Merge branch 'master' into PreventNewWarningstycho2015-05-231-0/+4
|\|
| * Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch2015-05-231-0/+4
| |
* | Added pthread as a link flag.tycho2015-05-231-1/+2
| |
* | Make -Werror disabling file onlytycho2015-05-191-11/+23
|/ | | | Ad fix a load of warnings
* Update GCC on TravisTiger Wang2014-11-231-24/+11
|
* Fix flag name in gcc 4.6 and earlierworktycho2014-10-091-8/+32
|
* Enabled C++11 in gccworktycho2014-10-091-11/+9
|
* Cleaned up flagsTycho2014-09-101-5/+4
|
* Update SetFlags.cmakeworktycho2014-09-061-1/+0
|
* Added workaround for clang versionTycho2014-09-061-4/+15
|
* bumped cmake version min and fixed clang supportTycho2014-09-061-2/+2
|
* Wrong cmake varworktycho2014-09-061-2/+2
|
* Improve error messageworktycho2014-09-061-2/+2
|
* Should now compile in clang 3.0worktycho2014-09-061-5/+16
|
* First Implementatation of new Loggin frameworkTycho2014-08-101-0/+2
|
* Removed the new old-style-cast warning from error treatmentarchshift2014-07-261-1/+1
| | | | This is a new warning included in clang that ships with OS X 10.10 Yosemite.
* Made redundant semi not an error, fixed one more.archshift2014-07-241-1/+1
|
* Removed redundant semicolons and re-added warningarchshift2014-07-241-7/+7
|
* SetFlags.cmake: don't use ${} expansion on if STREQUALarchshift2014-07-031-1/+2
| | | | See http://stackoverflow.com/questions/19982340/cmake-compare-to-empty-string-with-strequal-failed
* Merge pull request #1129 from mc-server/CodeCoverageConditionworktycho2014-06-271-2/+9
|\ | | | | Moved CodeCoverage into a separate cmake condition.
| * Added MSVC guardworktycho2014-06-271-4/+6
| |
| * Update SetFlags.cmakeworktycho2014-06-271-1/+1
| |
| * Update SetFlags.cmakeworktycho2014-06-271-1/+1
| |
| * CMake: Added log message for coverage.madmaxoft2014-06-271-0/+1
| |
| * Moved CodeCoverage into a separate cmake condition.madmaxoft2014-06-271-2/+6
| |
* | CMake: pthread is used only on Unix.madmaxoft2014-06-271-4/+8
|/
* Fix cmake errors in msvcworktycho2014-05-281-1/+5
|
* Merge branch 'master' into chunksparsing/structsTycho2014-05-241-2/+2
|\
| * Fixed profiling flags for MSVC.Mattes D2014-05-231-2/+2
| | | | | | | | The profiler output contained no useful symbols before, because there were no symbols in the PDBs.
* | Maybe coverage working?Tycho2014-05-101-32/+47
|/
* Needs the -stdlib linker flag too.archshift2014-04-261-0/+1
|
* Move to line 47.archshift2014-04-251-3/+1
|
* Use libc++ on OSXarchshift2014-04-251-0/+3
| | | | | Fixes issues with https://github.com/mc-server/MCServer/commit/f3dfc0349d7008efa50855c739d86918bdbf4a88 in XCode. Tested on Mac (Makefile and XCode) and Linux.
* Revert moving gcc to g++11 in 18c3b1worktycho2014-04-221-8/+0
|
* Compile fix?Tiger Wang2014-04-171-0/+8
|
* Removed the exit-time-destructors flag from clang.madmaxoft2014-04-011-1/+1
| | | | We don't care about exit-time destructors, at least for now.
* Attempt at disabling the useless clang warnings.madmaxoft2014-04-011-0/+1
| | | | Ref.: #846, #847
* Merge branch 'master' into unreachableTycho2014-03-151-1/+0
|\ | | | | | | | | Conflicts: SetFlags.cmake
| * Merge branch 'master' into noreturnTycho2014-03-141-1/+1
| |\ | | | | | | | | | | | | Conflicts: SetFlags.cmake
| * | Added Noreturn attribtes to a couple of functions and made a missing noreturn an errorTycho2014-03-141-1/+1
| | |
* | | Merge branch 'master' into unreachableTycho2014-03-141-1/+1
|\ \ \ | | |/ | |/| | | | | | | Conflicts: SetFlags.cmake
| * | Fixed a couple of missing defsTycho2014-03-141-1/+1
| |/
* / Made unreachable code an errorTycho2014-03-141-1/+1
|/
* made format-nonliteral an errorTycho2014-03-111-1/+0
|
* Move commentTycho2014-03-111-1/+1
|
* Enable error on cast-align and unused macrosTycho2014-03-101-1/+0
|
* Only enable -Werror in gcc because gcc doesn't let you suppress enum missmatch warningsTycho2014-03-091-2/+2
|
* Treat enum missmatches as warnings for now as there is such a large number of them.Tycho2014-03-091-1/+1
|
* Globals.h is now warnings free again.Tycho2014-03-091-1/+1
| | | | Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs
* Lots more warningsTycho2014-03-091-0/+9
|
* Enabled loads of clang warningsTycho2014-03-091-0/+2
|
* Turned off Wunused-parameterTycho2014-03-091-1/+1
|
* Turned on WerrorTycho2014-03-071-1/+1
|
* Fixed warningsTycho2014-03-071-1/+1
|
* Fixed clang compileworktycho2014-03-071-1/+6
|
* Only use fast-math in exesworktycho2014-03-071-6/+3
|
* Enabled -ffast-mathworktycho2014-03-071-1/+6
|
* Added -WextraTycho2014-02-161-1/+1
|
* Allow building MCADefrag at the same time as MCServerTycho2014-02-161-105/+86
|
* Added a seperate module for Setting flagsTycho2014-02-161-0/+208